Skip to content

Who am I request

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

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

Warning

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

Example

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
}