ECSEND API v1 Documentation

Quickstart

Set up in minutes using the core OpenAPI v1 endpoints.

Checklist
  • 1. Generate/copy your API key in the Portal (Developer).
  • 2. Use X-Api-Key header in every /api/v1 request.
  • 3. Test balance with GET /balance.
  • 4. Send your first SMS via POST /sms/send.
GET /balance

Returns current balance, currency, and basic user data.

bash

curl https://ecsend.paysgator.com/api/v1/balance \
  -H "X-Api-Key: YOUR_API_KEY"
POST /sms/send

Requires to, text, and senderId. Responds with success, historyId, and units.

bash

curl -X POST https://ecsend.paysgator.com/api/v1/sms/send \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -d '{"to":"+25884XXXXXXX","text":"Hello!","senderId":"ECSEND"}'
1