cURL
curl --request PUT \ --url https://api.chat-dash.com/v1/public/projects/{projectId}/leads/{leadId} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "phone": "<string>", "customFields": {}, "tags": [ "<string>" ] }'
{ "_id": "<string>", "phone": "<string>", "customFields": {}, "tags": [ "<string>" ] }
Update a lead for a project
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The ID of the project
The ID of the lead
OK
The response is of type object.
object