Get Number V2

Reserves a number and returns a JSON payload with activation details.

GET http://privatesms.vip/stubs/handler_api.php?api_key={apikey}&action=getNumberV2&service={service}&country={country}&maxPrice={maxPrice}

Request Parameters

NameDescription
api_keyPersonal API key from the client account.
actionMust be getNumberV2.
serviceService code from getServicesList.
countryCountry ID from getCountries.
maxPriceOptional maximum price filter.

Response Examples

200 OK

{
  "activationId": "9f6d4d1d-3096-49cf-a9ce-4ef6d58a8ef8",
  "phoneNumber": "15551234567",
  "activationCost": 0.24,
  "countryCode": 186,
  "canGetAnotherSms": "1",
  "activationTime": "2026-04-06 10:30:00"
}

Error Responses

StatusServer responseDescription
401BAD_KEYThe API key is invalid.
400BAD_ACTIONThe action value is invalid.
500SERVER ERRORUnexpected internal server error.
403BANNEDThe account is disabled.
404BAD_SERVICEUnknown service code.
404BAD_COUNTRYUnknown country ID.
403NO_BALANCEAccount balance is too low for activation requests.
409NO_NUMBERSThe service or country is valid, but there is no available number in the current pool.
400BALANCE_MUST_BE_MORE_30Legacy compatibility response code.
RUEN