Skip to main content
The Plivo Messaging API lets you programmatically send and receive SMS, MMS, and WhatsApp messages. The API uses standard HTTP methods and returns JSON responses.

Base URL


Authentication

All API requests use HTTP Basic Authentication with your Plivo credentials:
  • Username: Your Auth ID
  • Password: Your Auth Token
Find your credentials on the Plivo Console Dashboard.
cURL

Request Format

  • Content-Type: application/json for POST requests
  • Content-Type: multipart/form-data for media uploads
  • All request parameters should be JSON-encoded

Response Format

All responses are JSON with an api_id for request tracking:

HTTP Status Codes

Troubleshooting Common Errors


Pagination

List endpoints return paginated results:

API Resources

Core Resources

Powerpack Resources

Compliance Resources


Rate Limits

API requests are rate limited. If you exceed the limit, you’ll receive a 429 response. Implement exponential backoff for retries.