cURL
curl --request GET \ --url https://api.chat-dash.com/v1/public/agents/{agentId}/leads \ --header 'Authorization: <authorization>'
[ { "_id": "<string>", "phone": "<string>", "customFields": {}, "tags": [ "<string>" ] } ]
Fetch all leads for a specific agent
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
The ID of the agent
OK
The ID of the lead
The phone number of the lead
The user defined fields for the lead. Keys are field names, values are field values.
Show child attributes
The IDs of the tags attached to the lead