Skip to main content
GET
/
token
Validate Token
curl --request GET \
  --url https://stagingstores.xoxoday.com/chef/v1/oauth/token \
  --header 'Authorization: Bearer <token>'
{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "bearer",
  "expires_in": 1296000,
  "access_token_expiry": 1718000000000,
  "refresh_token_expiry": 1720000000000
}

Documentation Index

Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt

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

At any point, if you want to validate if the access_token is valid or not, then you can call the endpoint as outlined on this page. The client application will pass the bearer token in the header. The response to the request will be as outlined on the right-hand side panel.

Authorizations

Authorization
string
header
required

Authorization: Bearer <access_token>

Response

Token is valid.

access_token
string

The validated access token.

token_type
string

Always bearer.

expires_in
number

Token validity duration in seconds.

access_token_expiry
number

Epoch timestamp (ms) when the access token expires.

refresh_token_expiry
number

Epoch timestamp (ms) when the refresh token expires.