Api reference
POST Sessions Id Prompt
POST
/v1/sessions/{id}/promptAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
text*string
delivery?|null
clientActionId?string|null
attachments?array<>|null
messageId?string|null
clientId?string|null
sentByAgentId?string|null
sentByAgentMachineId?string|null
attribution?|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sessions/string/prompt" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'{ "accepted": true, "sessionId": "string", "queueItemId": "string", "delivered": "sent", "steerDeclined": true}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}