Developer API

Build with GotSMS

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

Get your API key

Enable API access in your GotSMS profile, then generate a personal API key.

Open API settings

REST over HTTPS

JSON in, JSON out. Bearer-token authentication.

Code samples

Copy-paste ready examples for cURL, JavaScript, and PHP.

Public pricelist

GET /api/pricelist needs no key at all — live prices for every service, the same data this site shows.

GET /api/pricelist
# Request
curl https://app.gotsms.org/api/pricelist

# Response
{
  "success": true,
  "data": [
    {
      "id": "9a74...f90",
      "name": "Telegram",
      "slug": "telegram",
      "plans": [ ... ]
    }
  ]
}

Full reference

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

  • Authentication
  • Rents, plans & carriers
  • Numbers & SMS messages
  • Account balance & refunds

Create an account

Go through a quick registration without verification, and use our service.

Sign up
News Support