Skip to main content

POST : API to Validate Access Token


POST
    https://<appname>.metered.live/api/v1/token/validate

<appname> - replace it the name of your app.

Description

This endpoint allows you to Validate a Token

Parameters

ParametersDescriptionRequiredOptions
Bodyapplication/json
tokenstringauth tokenyes-

Request Samples

cURL
curl --request POST \
--url 'https://appname.metered.live/api/v1/token/validate' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{"token": "access_token"}'

Responses

200
{
"name": "James Bond"
}
400

{
"success": false,
"message": "Invalid request"
}