TokenInfo
Properties
Name | Type | Required | Description |
---|---|---|---|
access_token | str | ✅ | OAuth access token to pass to subsequent API requests |
expires_in | int | ✅ | Access token TTL (time-to-live) in seconds |
scope | str | ✅ | The list of space separated application permissions (OAuth scopes) |
token_type | TokenType | ✅ | Type of the token. The only supported value is bearer . This value should be used when specifying access token in Authorization header of subsequent API requests |
refresh_token | str | ❌ | OAuth refresh token (if issued) |
refresh_token_expires_in | int | ❌ | Refresh token TTL (time-to-live) in seconds |
owner_id | str | ❌ | Token owner's identifier. Contains RingCentral user (extension) ID |
endpoint_id | str | ❌ | Client application instance identifier that matches the value provided by the client, or generated by the server if a client has not provided this value |
id_token | str | ❌ | OpenID Connect ID token (if OpenID Connect flow was activated during authorization) |
session_expires_in | int | ❌ | Remaining time in seconds until session expiration due to absolute timeout. Returned only if absolute session timeout is enforced |
session_expiration_time | str | ❌ | Absolute value of session expiration time in ISO date formatted string. Returned only if absolute session timeout is enforced |
session_id | str | ❌ | OAuth session ID |
session_idle_timeout | int | ❌ | Nominal value of session idle timeout in seconds. Returned only if idle session timeout is enforced |
TokenType
Type of the token. The only supported value is bearer
. This value should be used when specifying access token in Authorization
header of subsequent API requests
Properties
Name | Type | Required | Description |
---|---|---|---|
BEARER | str | ✅ | "bearer" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs