Skip to main content
POST
/
v1.0
/
oauth2
/
tokens
json
{
  "AccountKey": "DID-1234567ab-1a2b-3cd4-...-...........",
  "AccountSecret": "abcdeABCdef...",
  "ApiEndpoint": "https://api.telegent.com/v1.0/numbers/status"
}
{
  "token": "abcdeghijklmnopqrstuvwxyz...................",
  "successful": true,
  "tokenExpiry": "05/02/2025 06:36:13 PM",
  "apiEndpoint": "https://api.telegent.com/v1.0/numbers/availability"
}

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Body

application/json
AccountKey
string
required

Your account key (e.g., DID-DID-1234567ab-1a2b-3cd4-...-...........)

Example:

"DID-1234567ab-1a2b-3cd4-...-..........."

AccountSecret
string
required

Your account secret key

Example:

"abcdeABCdef..."

ApiEndpoint
string
default:https://api.telegent.com
required

The API endpoint URL

Example:

"https://api.telegent.com/v1.0/numbers/status"

Response

200 - application/json

Token

The response is of type object.