POST
/
voice
/
api
/
v1
/
twilio
/
set-context

Query Parameters

api_token
string
required

API token to authenticate the request

Body

application/json
caller
string
default:
+16151231234
required

Phone number of the caller (your customer)

description
string
default:
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
required

Details about the purchase

price
string
default:
10.00
required

Price of the item (in USD), e.g. 10.50

vendor
string
default:
example-co
required

Who this payment should be sent to - please refer to the /vendors page to find the full list

callback
string
default:
+14155552671

Phone number to hand the call back to after the payment is processed, e.g. +14155552671

customer_id
string
default:

To specify the processor-specific customer ID (if you have it). Only used if processor is Authorize.net.

email
string

Email of the caller (your customer)

full_name
string
default:
John Doe

Name of the caller (your customer)

memory
string

Literally anything. Typically used to share information across agents.

persona
string
default:
english-jessica

Which voice to use - currently available: 'english-jessica'

transaction_type
enum<string>
default:
once

How to process the transaction

Available options:
once,
subscription,
authorize

Response

200 - application/json
message
object
required

Details about the response

status
enum<string>
required

status of the request

Available options:
success,
error