| Attribute Type | Data Format |
|---|---|
| External Object | Pass a json object exactly matching the external object schema |
| Photo | Pass a photo id generated after uploading a photo via the upload photo API |
curl --location --request POST 'https://api.chakrahq.com/v1/ext/procedure/lead/process' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"firstname": "Ted",
"lastname": "Mosby",
"score": 5
},
"record": {
"data": {
"phone_number": "7701214822",
"email": "ted.mosby@yahoo.com"
}
},
"status": "COMPLETED",
"state": "CONVERTED",
"nextActionAt": 1618558867539,
"assignedTo": "john@paisapay.com"
}'{}