cURL
curl --request POST \ --url https://protegee.ai/voice/api/v1/twilio/set-context \ --header 'Content-Type: application/json' \ --data '{ "caller": "+16151231234", "description": "Reservation for two at The Gourmet Bistro, 7:30 PM on December 30th, 2024, Table 12, Indoor seating, Special request: Window view, Confirmation number: 12345", "price": "10.00", "vendor": "example-co", "customer_id": "", "persona": "english-jessica", "callback": "+14155552671", "email": "[email protected]", "full_name": "John Doe", "transaction_type": "once", "memory": "<string>" }'
{ "status": "success", "message": {} }
Sets context for a Twilio voice call with the provided details
API token to authenticate the request
Get / Set Context Response
The response is of type object.
object