API Reference
Endpoints
- Actions
- Agents
- Call Now
- Calls
- Campaigns
- Chat
- Chat Widget
- Knowledge Base
- Lead Lists
- Leads
- Mentions
- Phone Numbers
- Reports
- Roles
- Scripts
- Voices
- Webhooks
Leads
Update Lead
PUT
/
v1
/
leads
/
{lead_id}
Copy
Ask AI
curl --request PUT \
--url https://api.eqho.ai/v1/leads/{lead_id} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"first_name": "Jane",
"last_name": "Smith",
"email": "[email protected]",
"phone": "+18015551831",
"phone_extension": "<string>",
"timezone": "<string>",
"list_ids": [
"<string>"
],
"extracted_data": {},
"custom_fields": {}
}'
Copy
Ask AI
{
"created_at": "2021-08-25T00:00:00+00:00",
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Smith",
"phone": "+18015551831",
"phone_extension": "123"
}
Authorizations
Path Parameters
Required string length:
24
Body
application/json
A set of optional updates to be made.
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request PUT \
--url https://api.eqho.ai/v1/leads/{lead_id} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"first_name": "Jane",
"last_name": "Smith",
"email": "[email protected]",
"phone": "+18015551831",
"phone_extension": "<string>",
"timezone": "<string>",
"list_ids": [
"<string>"
],
"extracted_data": {},
"custom_fields": {}
}'
Copy
Ask AI
{
"created_at": "2021-08-25T00:00:00+00:00",
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Smith",
"phone": "+18015551831",
"phone_extension": "123"
}
Assistant
Responses are generated using AI and may contain mistakes.