Channel connectors
The following endpoints are part of the Connectors API. Channels are created by first installing a new connector. Connectors are responsible for linking the MessageBird Engagements platform to third party platforms. This documentation will provide details on how to interact with these endpoints.
Create a connector
A-Sync : this will start a background process that may require some time to complete. A Get call may be required to to retrieve the final result .
Supported channel connectors
Currently we support creating the following channel connectors
Properties
connectorTemplateRef
string
Set as sms-messagebird:1
name
string
The name of your connector e.g. My SMS channel
arguments.phoneNumberId
string
The ID of the phone number to be installed. See
arguments.useCaseId
string
The ID of the use case. Required for 10DLC numbers. See
arguments.channelMessageType
string
The type of traffic that will be sent through this channel. It is a required field.
channelConversationalStatusEnabled
boolean
If true incoming messages will create new conversations in Inbox
Example request
List connectors
Filter by channel connector template
To filter connectors by a certain channel type use the templateRef as below:
SMS
sms-messagebird:1
whatsapp:1
instagram:1
Facebook messenger
facebook:1
Telegram
telegram:1
Line
line:1
email-messagebird:1
Get a connector
Check the readiness of a connector and its channel to send SMS
Delete a connector
Deleting a connector will also delete the associated channel. Messaging for the related channel connector will be interrupted. Be sure you want to delete the connector before proceeding
(Optional) create a workspace subscription to list to channel related events
You can create a workspace subscription to listen to Channel Status changes and/or to be informed about new channel creations via webhooks
Channel creation Subscription
The example below will create a workspace wide subscription tracking all channel creations. this will inform you of any new channel being created and will return you the number / sender identifier
the connectorId
and the channelId
associated with it
Channel Updates Subscription
The example below will create a workspace wide subscription tracking all updates regarding your channels. This is particularly useful when waiting for a channel to become active as a status update will always trigger an update event
Last updated