Verify API token
GET/authenticate
By calling this API endpoint you can verify the validity of your token.
Response contains user information like email
and user id
.
Responses
- 200
Successfully authenticate with API token
- application/json
- Schema
- Example (from schema)
Schema
id integer
User ID
Example:
1
name string
User name
Example:
John Testomato
email string
User email
Example:
user@email.com
exp integer
Expiration date
Example:
1825840726
tid string
Token identifier
Example:
e2ew1g30xl
iat integer
The "iat" (issued at) claim identifies the time at which the JWT was issued. This claim can be used to determine the age of the JWT.
Example:
1668074326
nbf string
The "nbf" (not before) claim identifies the time before which the JWT MUST NOT be accepted for processing.
Example:
1668074326
{
"id": 1,
"name": "John Testomato",
"email": "user@email.com",
"exp": 1825840726,
"tid": "e2ew1g30xl",
"iat": 1668074326,
"nbf": 1668074326
}