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/provision"
}
{
  "token": "abcdeghijklmnopqrstuvwxyz...................",
  "successful": true,
  "tokenExpiry": "05/02/2025 06:36:13 PM"
}

Documentation Index

Fetch the complete documentation index at: https://docs.telegent.com/llms.txt

Use this file to discover all available pages before exploring further.

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<uri>

The specific API endpoint URL this token will be scoped to. Each token is scoped to a single endpoint for security.

Example:

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

Response

200 - application/json

Success — returns the Bearer token and expiry timestamp

The response is of type object.