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 Code | Status Message |
---|---|
200 | Service Ok |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
500, 502, 503, 504 | Server Error |