curl --request POST \
--url https://api.eqho.ai/v1/webhooks/call-now \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"phone_number": "+1234567890",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"lead_list_id": "60c72b2f9b1e8d001c8e115b",
"extra_data": {
"source": "web"
},
"recall_threshold_in_seconds": 123,
"timezone": "US/Mountain"
}'
{
"created_at": "2021-08-25T00:00:00+00:00",
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Smith",
"phone": "+18015551831",
"phone_extension": "123"
}
Create or update a lead and mark it for immediate calling
curl --request POST \
--url https://api.eqho.ai/v1/webhooks/call-now \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"phone_number": "+1234567890",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"lead_list_id": "60c72b2f9b1e8d001c8e115b",
"extra_data": {
"source": "web"
},
"recall_threshold_in_seconds": 123,
"timezone": "US/Mountain"
}'
{
"created_at": "2021-08-25T00:00:00+00:00",
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Smith",
"phone": "+18015551831",
"phone_extension": "123"
}
Successful Response
The response is of type object
.
Was this page helpful?