Account & Reference · account.test
GET/testaccount.test
Verify your API token
The cheapest way to confirm a token works. A 200 means the token is valid and the workspace context resolved; a 401 means it is missing, malformed, or revoked.
- Base URL
- https://api.redirhub.com/v1
- Auth
- Bearer token
- Idempotent
- Yes
- Returns
- application/json
The request
Call GET /test with your bearer token.
# Verify your API token
curl "https://api.redirhub.com/v1/test" \
-H "Authorization: Bearer $REDIRHUB_TOKEN"The response
A 200 returns the record as JSON.
{
"email": "teammate@acme.com",
"message": "The given data was invalid."
}Status codes
200
SuccessThe token is valid and identifies the authenticated account.
401
UnauthenticatedUnauthenticated
429
Too many requestsToo many requests
What usually comes next
One call is rarely the whole job. These are the endpoints most integrations reach for around this one.
