Installing an SMS channel
It is possible to install an SMS channel via 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.
Installing an SMS connector
In order to create an SMS connector, you must have a valid phoneNumberId and perform a HTTP request to the following endpoint with a valid access key
Create a new connector from a template.
Provide the arguments required by the security scheme(s) on the connector template.
OK
The ID of this connector.
The ID of the workspace this connector belongs to.
The Name of this connector.
The Region in which this connector was installed in.
The Description of this connector.
Pre-configured arguments for this connector.
The slug for the template this connector is based on.
The ref for the template this connector is based on.
When the connector was created.
When the connector was last updated.
Get your channel id
Once you have created your SMS connector, this will create an SMS channel. You can then get your channel ID as follows
Show the details of a specific connector.
OK
The ID of this connector.
The ID of the workspace this connector belongs to.
The Name of this connector.
The Region in which this connector was installed in.
The Description of this connector.
Pre-configured arguments for this connector.
The slug for the template this connector is based on.
The ref for the template this connector is based on.
When the connector was created.
When the connector was last updated.
The following example will get the connector you have created in the previous step. Parse the channel.channelId
to get the id of your new SMS channel
Installation scenarios
Getting a valid phoneNumberId or useCaseId can have different pre-requisites depending on the Endpoint type. See the quick starts for some common scenarios:
Last updated