VoiceGateway

Read the project's ingestion URLs, the last outcome of each source and its first stored call

GET
/api/v1/org/{orgId}/project/{projectId}/connection

Authorization

cookievg_session<token>

The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.

Path Parameters

orgId*string

Authorised orgId; the server must verify organisation/project ownership before any read.

Length1 <= length
projectId*string

Authorised projectId; the server must verify organisation/project ownership before any read.

Length1 <= length

Response Body

Authorised read result. Null means not yet seen, never zero.

application/json
  1. response
livekit*
urls*
webhook*
agent*
sdk*
firstCall*|null
Example Request
curl -X GET 'https://example.com/api/v1/org/string/project/string/connection'
Example Response
{  "livekit": {    "url": "string",    "apiKey": "string"  },  "urls": {    "observability": "http://example.com",    "webhook": "http://example.com"  },  "webhook": {    "lastAcceptedAt": "2019-08-24T14:15:22Z",    "lastRejectedAt": "2019-08-24T14:15:22Z",    "reason": "token_missing",    "usedKey": "string",    "expectedKey": "string"  },  "agent": {    "lastAcceptedAt": "2019-08-24T14:15:22Z",    "lastRejectedAt": "2019-08-24T14:15:22Z",    "reason": "token_missing",    "usedKey": "string",    "expectedKey": "string"  },  "sdk": {    "lastAcceptedAt": "2019-08-24T14:15:22Z",    "lastRejectedAt": "2019-08-24T14:15:22Z",    "reason": "token_missing",    "usedKey": "string",    "expectedKey": "string"  },  "firstCall": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "startedAt": "2019-08-24T14:15:22Z"  }}

Was this page helpful?