All requests require an
Authorization: Bearer YOUR_GUAVA_API_KEY header. See the API Overview for details.Send an SMS
Request body
A JSON object with the following fields:Response
On success, returns201 Created:
Errors
Example
Sending SMS requires your organization to complete SMS brand and campaign registration. See Outbound & SMS Compliance.
List inbound messages
Parameters
Response
A JSON object with the following fields:
Each message has the following fields:
Pagination
Messages are returned oldest first. Whenhas_more is true, request the next page by calling again with start set to the received_at of the last message you received. Because start is inclusive, that boundary message — and any others sharing its exact timestamp — will be returned again, so dedupe by id.
Errors
Example
The
+ in a phone number must be URL-encoded as %2B in query strings. The curl -G --data-urlencode form above handles this for you.