POST
/
voice
/
api
/
v1
/
bland
/
set-context
curl --request POST \
  --url https://protegee.ai/voice/api/v1/bland/set-context \
  --header 'Content-Type: application/json' \
  --data '{
  "caller": "+1234567890",
  "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>"
  }
}

Query Parameters

api_token
string
required

API token for authentication

Body

application/json
caller
string
required

Customer's phone number

Example:

"+1234567890"

description
string
required
Example:

"iPhone 15 Pro Max"

price
string
required
Example:

"999.99"

vendor
string
required
Example:

"Apple Store"

customer_id
string
persona
string
default:english-jessica
callback
string
email
string
full_name
string
memory
string
transaction_type
enum<string>
default:once
Available options:
once,
subscription,
authorize

Response

200
application/json
Context set successfully
status
enum<string>
Available options:
success
message
object