Developer API

Build with GotSMS

A simple, reliable HTTP API to rent numbers, receive SMS and manage your account programmatically.

Get your API Key

To get API Key for your integration text our support:

REST over HTTPS

JSON in, JSON out. Bearer-token authentication.

Code samples

Copy-paste ready examples for cURL, PHP, JS, Python.

Stable & versioned

Current version: v1. Backwards-compatible updates.

GET /api/v1/rents
# Request
curl https://app.gotsms.org/api/v1/rents \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

# Response
{
  "data": [
    {
      "id": 123,
      "phone": "+1305...",
      "status": "active"
    }
  ]
}

Full Reference

Every endpoint, every field, with interactive examples — auto-generated from the source.

  • Authentication
  • Rents, Services, Messages
  • Transactions
  • Error codes
Open API Documentation