Get Number Information
Last updated
Last updated
Get basic information relating to a number, including rate center, state, sms enablement, and other data.
Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer <api_key>"
GET
https://api-service.tsgglobal.world/v5/dids/<number>
Please ensure that your client processes only recognized properties from the response, as new properties may be added without prior notice. All added props will be documented here.
Name | Type | Description |
---|---|---|
Possible sms_status values: "N/A" or "NONE" - number not sms enabled "PENDING" - number pending to be enabled "DSBL-PND" - number pending to be disabled "ACTIVE" - number sms enabled "ERROR" - unable to sms enable number - contact support
GET
https://api-service.tsgglobal.world/v1/did/lookup?did=<1NPANXXXXXX>
If did param is omitted all numbers on the matching account will be listed one per line.
Name | Type | Description |
---|---|---|
number*
string
The number that was looked up.
did
string
1NPANXXXXXX
, +NPANXXXXXX
, 12022011234
, +12022011234