Introduction


The association between Conversations, Texts and Logs are as follows:

A Text represents the actual text message that is being sent out. A Text can be sent to multiple recipients, each being represented by a Log. A collection of Logs to/from to a single recipient is represented as a Conversation

Base URL

https://api.paubox.net/text

Authorization

Use authorization header in your request: Authorization: Bearer=<Api Key>

Example call

curl -X POST \
https://api.paubox.net/text/messages \
-H 'authorization: Bearer <API_KEY>' \
-H 'content-type: application/json' \
-d '{
"message": "Hello World!",
"recipients": ["1234567890"]
}'

Standard HTTP response codes

Status CodeStatus Message
200Service Ok
400Bad Request
401Unauthorized
404Not Found
500, 502, 503, 504Server Error