Debriefer

Create a channel

POST
/api/v1/channels

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/api/v1/channels" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "type": "webrtc_voice"  }'
{
  "id": "string",
  "organization_id": "string",
  "test_mode": true,
  "name": "string",
  "type": "webrtc_voice",
  "status": "active",
  "provider": {
    "name": "string",
    "credentials_id": "string",
    "config": {
      "property1": null,
      "property2": null
    }
  },
  "settings": {
    "recording": true,
    "max_duration_s": 1,
    "idle_timeout_s": 1
  },
  "metadata": {
    "property1": null,
    "property2": null
  },
  "created_at": "string",
  "updated_at": "string",
  "object": "channel"
}