Skip to main content
Creates a new channel and registers the required webhooks or credentials with the external platform. After creation, PingBack automatically configures the integration (e.g., sets a Telegram webhook, stores Meta callback URLs for WhatsApp and Instagram). Method: POST URL: /api/v1/channels/
Free plan accounts can only use the widget channel type. Omnichannel integrations (WhatsApp, Telegram, Instagram, X, SMS, Email) require a Mini or Pro plan.

Headers

Body

string
required
The channel type to create. One of: webchat, widget, email, whatsapp, telegram, instagram, x, sms.
object
required
Channel-specific credentials and settings. Required fields differ by type — see the config reference below.
boolean
default:"true"
Whether the channel should be active immediately after creation.

Config reference by channel type

Response

string
required
UUID of the newly created channel.
string
required
UUID of the business that owns this channel.
string
required
The channel type.
object
required
The stored configuration. For WhatsApp and Instagram channels, PingBack appends a _meta_setup_instructions key containing the callback_url and verify_token you need to register in your Meta app dashboard.
boolean
required
Whether the channel is active.
string
required
ISO 8601 timestamp of channel creation.

Example

Response example


Update a channel

Method: PATCH URL: /api/v1/channels/{channel_id} Updates an existing channel’s type, config, or active status. The same config rules by channel type apply.

Path parameters

string
required
The UUID of the channel to update.

Body

Same fields as Create Channel: type, config, is_active.

Example


Delete a channel

Method: DELETE URL: /api/v1/channels/{channel_id} Permanently removes a channel from your business. This cannot be undone.

Path parameters

string
required
The UUID of the channel to delete.

Example

Response example

Errors