The Sendblue API v2 provides a new and improved RESTful interface for iMessage, SMS, and RCS messaging, supporting a variety of more advanced and robust features.
See also: FaceTime API (requires FaceTime line)
All endpoints require API key headers:
sb-api-key-id: YOUR_API_KEY
sb-api-secret-key: YOUR_API_SECRET
See the full guides: Sending Messages , Receiving Messages , Group Messages
Method Endpoint Description POST/api/send-messageSend a message POST/api/send-group-messageSend group message POST/api/send-carouselSend image carousel (V2) POST/api/create-groupCreate group chat GET/api/statusGet message status GET/api/evaluate-serviceCheck recipient service type
Method Endpoint Description GET/api/v2/messagesList messages with filters GET/api/v2/messages/:idGet single message DELETE/api/message/:handleDelete message from database
Method Endpoint Description POST/api/send-reactionSend tapback reaction POST/api/mark-readSend read receipt POST/api/send-typing-indicatorSend typing indicator
Method Endpoint Description POST/api/upload-fileDirect file upload POST/api/upload-media-objectUpload from URL
Method Endpoint Description GET/api/v2/contactsList contacts GET/api/v2/contacts/countGet contact count GET/api/v2/contacts/:phoneGet contact POST/api/v2/contactsCreate contact POST/api/v2/contacts/bulkBulk create contacts PUT/api/v2/contacts/:phoneUpdate contact DELETE/api/v2/contacts/:phoneDelete contact DELETE/api/v2/contactsBulk delete contacts
See the full guide: Webhooks
Method Endpoint Description GET/api/account/webhooksList webhooks POST/api/account/webhooksAdd webhooks PUT/api/account/webhooksReplace all webhooks DELETE/api/account/webhooksDelete webhooks
Method Endpoint Description POST/accounts/lines/request-child-accountCreate child account (agency) GET/accounts/lines/available-area-codesList available area codes
Method Endpoint Description POST/api/v2/totp/secretsRegister a TOTP secret GET/api/v2/totp/secretsList TOTP secrets GET/api/v2/totp/code/:secret_idGet current TOTP code DELETE/api/v2/totp/secrets/:secret_idDelete a TOTP secret
Method Endpoint Description GET/api/linesList assigned phone numbers
Success:
"message" : "Success message" ,
Error:
"error_code" : "ERROR_CODE" ,
"message" : "Error description"
Service Description iMessageApple messaging SMSStandard text RCSRich messaging (Android)
Status Description QUEUEDWaiting to send PENDINGBeing processed SENTSent to carrier DELIVEREDDelivered to device ERRORDelivery failed DECLINEDMessage rejected RECEIVEDInbound message ACCEPTEDAccepted for processing REGISTEREDRegistered in system