Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples
{ "message": "Token is valid." }
Validate an existing JWT token
cURL
curl --request POST \ --url {protocol}://{host}/cocart/jwt/validate-token \ --header 'Authorization: Bearer <token>'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token is valid
"Token is valid."
Was this page helpful?