MessageBird API
sms public
25
Node
JavaScript
Python beta
Ruby beta
Shell
curl
The sms API requires you to accept the latest Terms of Service (ToS) in order to use it.

Please click here to accept.
We hope you enjoy documentation for the MessageBird sms API on StdLib! This API can be used via the command line (shell), Node, Ruby, Python or as a generic HTTP call in any language. Check the code examples on the right associated with each API method for how to use this API in your language of choice.
API Description
Add SMS messaging to your application with a single line of code. MessageBird provides an API to send and receive SMS messages across the world.
Sends a text (SMS) message using MessageBird's global messaging platform. Inside the US and Canada, usage is limited to 500 messages sent per number (originator) per day. Before using this method, you should make sure you have previously initialized your first number using the "initialize" method from the "numbers" API
Authenticated   |   Pricing  ·  $0.005 per request   |   Limit  ·  no rate limit
Unauthenticated   |   Forbidden  ·  Requires ToS
Parameters
originator
string
The telephone number to send the text message from. Must be a number you own. If unspecified, a number corresponding to the recipient's country with available capacity (<500 messages sent in 24h) will be automatically chosen.
optional, default value is
null
optional, current value set to
enter a test value
recipient
required
string
The telephone number to send the text message to. Please be sure to include the country code (i.e. "1" for US / CA).
current value set to
enter a test value
body
required
string
The contents of the text message you would like to send.
current value set to
enter a test value
Made with by the MessageBird team with the help of StdLib.