curl --request GET \
--url https://api.byblend.com/api/v1/auth/verify \
--header 'Authorization: Bearer <token>'{
"valid": true,
"user": {
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"email": "[email protected]",
"first_name": "Chad",
"last_name": "Birkenstock",
"is_active": true,
"role": "admin"
}
}Verify the access token. Returns the user details.
curl --request GET \
--url https://api.byblend.com/api/v1/auth/verify \
--header 'Authorization: Bearer <token>'{
"valid": true,
"user": {
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"email": "[email protected]",
"first_name": "Chad",
"last_name": "Birkenstock",
"is_active": true,
"role": "admin"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response validates access token
Token validity status true/false
true
Show child attributes
Unique identifier
"0227d1e5-ba9a-42b5-8fe2-38882aa65708"
Date and time of creation
"2025-03-15T12:00:00Z"
Date and time of last update
"2025-03-15T12:00:00Z"
Email address
First name
"Chad"
Last name
"Birkenstock"
Whether the user is active
true
Role of the user
"admin"