Endpoint Examples
Twilio - Set Context
Sets context for a Twilio voice call with the provided details
POST
Query Parameters
API token to authenticate the request
Body
application/json
Phone number of the caller (your customer)
description
string
default:
requiredReservation for two at The Gourmet Bistro, 7:30 PM on December 30th, 2024, Table 12, Indoor seating, Special request: Window view, Confirmation number: 12345
Details about the purchase
Price of the item (in USD), e.g. 10.50
Who this payment should be sent to - please refer to the /vendors page to find the full list
Phone number to hand the call back to after the payment is processed, e.g. +14155552671
To specify the processor-specific customer ID (if you have it). Only used if processor is Authorize.net.
Email of the caller (your customer)
Name of the caller (your customer)
Literally anything. Typically used to share information across agents.
Which voice to use - currently available: 'english-jessica'
How to process the transaction
Available options:
once
, subscription
, authorize