Send an SMS message

This guide provides instructions for setting up and sending SMS messages using Bird CRM.

In order to send an SMS message in Bird CRM you will need to setup a few things.

Step 1: Setup your API key

To send SMS messages, you must create an Access key with the Application Developer role. Refer to the Access Management section to learn more. To send a message, set it up as shown below.

Access key setup

The ability to create Access keys can be found in Settings -> Security -> Access Keys.

Step 2: Setup your number

Before sending messages, ensure you have an active number. Bird CRM offers four types of numbers, you can find more details in Numbers API section, accessible through Developer Cloud:

Developer cloud

After purchasing a number via the UI, you'll gain access to its configurations. Numbers must meet Compliance requirements, be approved, and active. Verify compliance before proceeding.

Number configuration

Next, set up the SMS channel by clicking Install Channel.

Step 3: Setup your channel

The SMS channel allows message sending. After selecting Install Channel, complete any required compliance details for your number type. Ensure the channel is active and in good health after creation. Note that both your number and channel may take a few minutes to reach a healthy/active state.

Channel

Step 4: Send a message

With the Access key and Channel set up, you’re ready to send messages. Use the following example cURL request to send an SMS using your API key, Workspace ID and channel ID:

curl -X POST "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/channels/123e4567-e89b-12d3-a456-426614174000/messages" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcd" \
-d '{
  "receiver": {
    "contacts": [
      {
        "identifierValue": "+17077066620"
      }
    ]
  },
  "body": {
    "type": "text",
    "text": {
      "text": "Hey, I am a message"
    }
  }
}'

Upon successful submission, you can check the message status.

Step 5: Checking message status

You can verify the message status through the following mechanisms:

1. UI

In the developer console, you can easily access the Message Log under the SMS section.

SMS Log

Alternatively, you can navigate to Manage Channels, select SMS, and then choose the channel you used. After that, switch to the Logs tab to view the message logs.

Channel Logs

2. API

To retrieve message details via the API, refer to the Messaging API Documentation. You can find more information on the available endpoints, request formats, and required parameters.

3. Webhook

Subscribe to the channels service and the sms.outbound event in Developer Cloud to receive updates. For additional information, refer to the Notifications API. Example configuration:

Webhook

Step 6: Send a message using navigator

In addition to channels, you can also use Navigator to send messages. Navigator is a mechanism that selects the most appropriate SMS channel for your message and it's always recommended as the way to send SMS messages, refer to Navigators documentation for more details. The API operates similarly, but you will need to choose one of the available navigators.

In Developer Cloud, your navigators are listed as follows:

Navigators

To send messages, simply switch the endpoint to:

curl -X POST "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/navigators/123e4567-e89b-12d3-a456-426614174000/messages" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcd" \
-d '{
  "receiver": {
    "contacts": [
      {
        "identifierValue": "+17077066620"
      }
    ]
  },
  "body": {
    "type": "text",
    "text": {
      "text": "Hey, I am a message"
    }
  }
}'

Last updated

Was this helpful?