curl --request POST \ --url https://api.attent.app/v1/leads/{leadId}/addContext \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "context": "The lead has scheduled a meeting with me on Monday at 2pm.", "additionalInfo": { "favoriteColor": "blue", "favoriteFood": "pizza" }, "command": "Schedule a follow up for next week."}'
Copy
{ "message": "Success"}
Assistant
Responses are generated using AI and may contain mistakes.
curl --request POST \ --url https://api.attent.app/v1/leads/{leadId}/addContext \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "context": "The lead has scheduled a meeting with me on Monday at 2pm.", "additionalInfo": { "favoriteColor": "blue", "favoriteFood": "pizza" }, "command": "Schedule a follow up for next week."}'