cURL
curl --request GET \ --url https://eu-gcp-api.vg-stuff.com/v3/leads/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "data": { "id": "<string>", "email": "<string>", "name": "<string>", "phone": "<string>", "agentId": "<string>", "convoId": "<string>", "user_id": "<string>", "ts": 123, "created_at": "<string>", "metaData": {} } }
Gets a lead by ID, this route must use the new V3 endpoints.
convoId
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the lead
Successful response
Indicates if the request was successful
Response message
Lead object with full details
Show child attributes