cURL
curl --request PATCH \ --url https://eu-gcp-api.vg-stuff.com/v3/leads/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "lead": { "email": "<string>", "name": "<string>", "phone": "<string>", "metaData": { "address": "<string>", "company": "<string>", "notes": "<string>", "source": "chat" }, "convoId": "<string>", "ts": 123 } }'
{ "success": true, "message": "<string>", "data": "<any>" }
Updates a lead with the specified configuration, this route must use the new V3 endpoints.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object