BulkSMS Message API

A message record represents an SMS that has been sent or received. To send messages, create a `SubmissionEntry` and submit it to the Send Messages Operation. You can retrieve sent and received messages in a number of ways. ### Retrieving messages by status Messages are assigned a status as they progress through their lifecycle. You can use the List Messages Operation to filter by various statuses. For the status values used to filter, see the `status.type` and `status.subtype` values of the `Message` object. You supply a value for the `filter` query parameter following this pattern `status.type==SENT`. Since more than one messages are normally returned, you can also paginate the result using the `sortOrder` and `limit` query parameters. Note that `limit` is not the only way to limit the number of records. The result will also be limited by the `filter.submissionDate` property. The default value for this property is `NOW() - 7 days`. Messages can also be retrieved by the webhook mechanism. See the [webhooks page](/developer/webhooks/) for more information. ### Sending and receiving messages The examples shown in this section are for a single message submission. If you need to send a single text message to one or more recipients you will need to create a `SubmissionEntry` object and submit it to the Send Messages Operation. For more advanced submission types, make use of the [Send Messages Operation](#tag/message/POST/messages) which supports batch sending (by submitting an array) and scheduling (via the `schedule-date` query parameter). The following fields can be set for a `SubmissionEntry`: - the `to` field is required and contains the phone number or group details - the `body` field is required and contains the message content - other fields like `from`, `routingGroup`, `encoding`, etc. are optional ### Body Templates When sending a message you can use template fields to customise the message text. *Field based templates* allow you to create a message with place-holders for custom fields. Fields are identified by a zero based index; the first field is `F0`, the second is `F1` and so on. For example, if you want to send a message "Welcome Jack, you owe $200.00", supply the body as `"Welcome {F0######}, you owe {F1######}"` and send `"fields": ["Jack", "$200.00"]` in the relevant `to` entry. The `#` characters specify the maximum length of the field. If you are sending to contacts in your phonebook, you can use *Phonebook based templates*. The template for the contact's first name is `{fn######}` and the surname is `{sn######}`. See the [Send Messages Operation](#tag/message/POST/messages) for detailed examples.

Operations 5

GET /messages Retrieve Messages #
POST /messages Send Messages #
GET /messages/{id} Show Message #
GET /messages/{id}/relatedReceivedMessages List Related Messages #
GET /messages/send Send message by simple GET or POST #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bulksms:bulksms-message-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bulksms-message-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BulkSMS JSON REST Message API
  version: 1.1.0
  x-logo:
    url: /developer/images/bulksms-logo-main.svg
    backgroundColor: '#FFFFFF'
  description: '## Overview


    The JSON REST API allows you to submit and receive BulkSMS messages.'
servers:
- url: https://api.bulksms.com/v1
  description: Production
security:
- basicAuth: []
tags:


# --- truncated at 32 KB (41 KB total) ---
# Full source: https://artifacts.apis.io/bulksms/openapi/bulksms-message-api-openapi.yml