Skip to main content

Who am I request

Returns information about the Theca-Access-Toke that is used in the request.

Data returned in the HTTP body is subject to change in future versions and is not part of the official API.

HTTP format

GET https://api.theca.com/v1/whoami

Example request

GET https://api.theca.com/v1/whoami HTTP/1.1
Theca-Client-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HTTP/1.1 200 OK
{
// Information about the role and permissions of the token
}