Get Number Information
Overview
Get basic information relating to a number, including rate center, state, sms enablement, and other data.
Authentication
Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer <api_key>"
SMS and MMS Configuration Method
Returns information about the did (currently SMS and MMS configuration only).
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.
Path Parameters
Name | Type | Description |
---|---|---|
number* | string | The number that was looked up. |
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
Additional Data Method
Lookup additional phone number information.
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.
Path Parameters
Name | Type | Description |
---|---|---|
did | string |
|
Last updated