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
}Validate whether the current access_token is still active. Pass the Bearer token in the Authorization header.
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
}At any point, if you want to validate if theDocumentation 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.
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.
| Property | Type | Description |
|---|---|---|
| access_token | string | Newly generated access token for authenticated API calls. |
| token_type | string | Always "bearer". |
| expires_in | number | Token validity duration in seconds. |
| access_token_expiry | number | Epoch timestamp (ms) when the access token will expire. |
| refresh_token_expiry | number | Epoch timestamp (ms) when the refresh token will expire. |
Authorization: Bearer <access_token>
Token is valid.