Skip to main content
POST
/
ott
/
channels
Create OTT channel
curl --request POST \
  --url https://api-message.nativehub.live/api/v1/ott/channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "WhatsApp Business",
  "channel": "whatsapp",
  "provider_id": "a9b0c1d2-e3f4-5678-ab90-123456789012",
  "config": {
    "business_account_id": "1234567890",
    "phone_number_id": "9876543210"
  }
}
'
{
  "id": "f8a9b0c1-d2e3-4567-fa89-012345678901",
  "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
  "name": "WhatsApp Business",
  "channel": "whatsapp",
  "provider_id": "a9b0c1d2-e3f4-5678-ab90-123456789012",
  "config": {
    "business_account_id": "1234567890",
    "phone_number_id": "9876543210"
  },
  "status": "active",
  "created_at": "2026-02-01T14:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
channel
enum<string>
required
Available options:
whatsapp,
viber,
telegram
provider_id
string<uuid>
required
config
object

Response

OTT channel created successfully

id
string<uuid>
tenant_id
string<uuid>
name
string
channel
enum<string>
Available options:
whatsapp,
viber,
telegram
provider_id
string<uuid>
config
object
status
string
created_at
string<date-time>