Data Plane

Create Connection

Create a new connection for an AI Agent to start a voice conversation

post/v1/connections

Request

  • Base URL
    https://api.trata.ai
  • URL
    https://api.trata.ai/v1/connections
  • Auth
    HTTP bearer

Query parameters

agentIdstring required
prospect_idstring nullable

Request body

sourceName'TWILIO' | 'PLIVO' | 'BROWSER'

Name of the source

sourceIdstring required

Unique identifier for the source

sourcePropsobject required

Extra properties of source

Example request

{
  "sourceName": "TWILIO",
  "sourceId": "id_123"
}

Response

Successful Response

idstring
orgIdstring
sourceNamestring
sourceIdstring
sourcePropsobject nullable
agentIdstring
prospectIdstring nullable
createdBystring
createdAtstring date-time
updatedBystring
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.