Check out our upcoming events and meetups! View events →
OAuth 2.0 authorization endpoint for the authorization code flow
import Telnyx from 'telnyx';
const client = new Telnyx();
await client.oauth.retrieveAuthorize({
client_id: 'client_id',
redirect_uri: 'https://example.com',
response_type: 'code',
});"<string>"Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
OAuth response type
code OAuth client identifier
Redirect URI
Space-separated list of requested scopes
State parameter for CSRF protection
PKCE code challenge
PKCE code challenge method
plain, S256 Consent page displayed (when consent UI is embedded)
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx();
await client.oauth.retrieveAuthorize({
client_id: 'client_id',
redirect_uri: 'https://example.com',
response_type: 'code',
});"<string>"