cURL
curl --request POST \ --url https://protegee.ai/voice/api/v1/retell/set-context \ --header 'Content-Type: application/json' \ --data '{ "call": { "direction": "inbound", "from_number": "+1234567890", "to_number": "+1987654321" }, "args": { "description": "iPhone 15 Pro Max", "price": "999.99", "vendor": "Apple Store", "customer_id": "<string>", "persona": "english-jessica", "callback": "<string>", "email": "<string>", "full_name": "<string>", "memory": "<string>", "transaction_type": "once" } }'
{ "status": "success", "message": { "caller": "<string>" } }
Sets up the context for a Retell call using customer information and payment details
API token for authentication
Show child attributes
Context set successfully
success