Skip to main content
POST
Create a sandbox chat

Authorizations

Authorization
string
header
required

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Headers

business-id
string<uuid>
required

Body

application/json
chatbot_id
string<uuid> | null
instructions
any[] | null
session_id
string<uuid> | null

Response

Successful Response

business_id
string<uuid>
required
created
string<date-time>
required
id
string<uuid>
required
messages
any[]
required
session_id
string<uuid>
required
timestamp
string<date-time>
required
consumer
ChatConsumerOut · object | null
conversation_id
string<uuid> | null
custom_instructions
any[] | null
instructions
any[] | null
kind
string
default:real
last_message
LastMessageOut · object | null
refine_reviewed
boolean
default:false
refine_verdict
string | null