v1

latestOpenAPI 3.1.02026-07-2676188241.3 KB
Interactions

Create Interaction

Creates a new interaction.

post/interactions/

Headers

Tenant-Namestring required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:base

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Request body

assignedUserIdstring uuid

Example request

{
  "assignedUserId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}

Response

Returns the newly created interaction with its assigned ID and WebSocket URL for real-time data streaming.

interactionIdstring uuid required
websocketUrlstring required

WebSocket URL for streaming real-time interactions. Append a token in the format: /interactions/{interactionID}/streams?token=Bearer token-value-here

Example response

{
  "interactionId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}