Skip to content
Developers

Pinpoint API

Every Pinpoint endpoint, with its parameters and a request and response to copy.

  • REST and JSON over HTTPS
  • Bearer API key
  • Callbacks with retries
  • 100 requests a minute
  • Same prices as your dashboard

Every request needs your API key. Getting started covers authentication, the response format, errors and rate limits.

Pinpoint

US numbers with the area codes and carriers you choose, and the code by SMS or, where offered, by voice call.

List services and prices

Lists Pinpoint's services with your price for each, after your discount.

GET/server2-pricing
Example request
curl "https://textverification.io/api/v1/users/server2-pricing" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
  "statusCode": 200,
  "data": [
    {
      "serviceId": "1fe58df2",
      "serviceName": "google"
    }
  ],
  "message": "Request Successful!",
  "success": true
}

Price a service with options

Returns your price for one service with the options you'd order with.

GET/server2-price
ParameterTypeRequiredDescription
serviceIdstringYesThe service's ID, from the services list.
areasstringNoArea codes to choose from, separated by commas (up to 10), e.g. "212,646". They add to the price.
carrierstringNoCarriers to choose from, separated by commas: tmo (T-Mobile), vz (Verizon), att (AT&T). They add to the price.
capabilitystringNo"sms" (the default), or "voice" to get the code by a call where voice calls are offered.
Example request
curl "https://textverification.io/api/v1/users/server2-price?serviceId=1fe58df2&areas=212%2C646&carrier=vz" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
  "statusCode": 200,
  "data": {
    "serviceName": "google",
    "price": "1.53",
    "capability": "sms",
    "areaCode": true,
    "carrier": true
  },
  "message": "Request Successful!",
  "success": true
}

List area codes

Lists the US area codes you can ask for, with their states.

GET/server2-area-codes
Example request
curl "https://textverification.io/api/v1/users/server2-area-codes" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
  "statusCode": 200,
  "data": [
    {
      "areaCode": "212",
      "state": "New York"
    },
    {
      "areaCode": "503",
      "state": "Oregon"
    }
  ],
  "message": "Request Successful!",
  "success": true
}

Order a number

Orders one Pinpoint number for a service and charges your balance.

POST/request-s2-service
ParameterTypeRequiredDescription
serviceIdstringYesThe service's ID, from the services list.
areasstringNoArea codes to choose from, separated by commas (up to 10), e.g. "212,646". They add to the price.
carrierstringNoCarriers to choose from, separated by commas: tmo (T-Mobile), vz (Verizon), att (AT&T). They add to the price.
capabilitystringNo"sms" (the default), or "voice" to get the code by a call where voice calls are offered.

Voice orders (capability "voice") are answered with Twilio's Voice SDK and the token from the voice token endpoint. The order completes when the call arrives, and its details list the call.

Example request
curl -X POST "https://textverification.io/api/v1/users/request-s2-service" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"serviceId":"1fe58df2","areas":"212,646","carrier":"vz,att"}'
Example response
{
  "statusCode": 200,
  "data": {
    "orderId": "lr_01K7ABC",
    "number": "12125550102",
    "serviceName": "google",
    "status": "reserved",
    "areas": "212,646",
    "carrier": "vz,att",
    "capability": "sms",
    "price": "1.53",
    "expiredIn": 600
  },
  "message": "Request Successful!",
  "success": true
}

Get an order

Returns an order with its status and, once it has arrived, the code.

GET/number-details-s2
ParameterTypeRequiredDescription
orderIdstringYesThe order's ID, as returned when you ordered.
Example request
curl "https://textverification.io/api/v1/users/number-details-s2?orderId=lr_01K7ABC" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
  "statusCode": 200,
  "data": {
    "orderId": "lr_01K7ABC",
    "number": "12125550102",
    "serviceName": "google",
    "country": "United States",
    "areas": "212,646",
    "carrier": "vz,att",
    "capability": "sms",
    "price": "1.53",
    "createdAt": "2026-10-09 12:44:00",
    "status": "completed",
    "message": "Your code is 482910",
    "pin": "482910"
  },
  "message": "Request Successful!",
  "success": true
}

Reuse a number

Orders the same number again for another code, where the service allows it.

POST/reuse-s2-service
ParameterTypeRequiredDescription
orderIdstringYesThe order's ID, as returned when you ordered.
Example request
curl -X POST "https://textverification.io/api/v1/users/reuse-s2-service" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"orderId":"lr_01K7ABC"}'
Example response
{
  "statusCode": 200,
  "data": {
    "orderId": "lr_01K7ABC",
    "number": "12125550102",
    "serviceName": "google",
    "country": "United States",
    "areas": "212,646",
    "carrier": "vz,att",
    "capability": "sms",
    "price": "1.53",
    "status": "reserved",
    "expiredIn": 600
  },
  "message": "Request Successful!",
  "success": true
}

Cancel a number

Cancels a number that hasn't received a code yet and refunds it to your balance.

POST/reject-s2-service
ParameterTypeRequiredDescription
orderIdstringYesThe order's ID, as returned when you ordered.
Example request
curl -X POST "https://textverification.io/api/v1/users/reject-s2-service" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"orderId":"lr_01K7ABC"}'
Example response
{
  "statusCode": 200,
  "data": null,
  "message": "Request Successful!",
  "success": true
}

Get a voice call token

Returns a short-lived token for taking a voice order's call with Twilio's Voice SDK.

GET/s2-voice-token
ParameterTypeRequiredDescription
orderIdstringYesThe order's ID, as returned when you ordered.
Example request
curl "https://textverification.io/api/v1/users/s2-voice-token?orderId=lr_01K7ABC" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
  "statusCode": 200,
  "data": {
    "orderId": "lr_01K7ABC",
    "token": "eyJhbGciOi…",
    "expiresIn": 540
  },
  "message": "Request Successful!",
  "success": true
}

Download a call recording

Returns the recording of a voice order's call, when one was kept.

GET/s2-voice-recording
ParameterTypeRequiredDescription
orderIdstringYesThe order's ID, as returned when you ordered.
callIdstringYesThe call's ID, from the order's calls.
Example request
curl "https://textverification.io/api/v1/users/s2-voice-recording?orderId=lr_01K7ABC&callId=call_8f2" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
(audio file)