Skip to content
Streamkap
Esc
↑↓navigate↵open⌘Jpreview

Whoami

Return the caller’s verified identity: tenant, service, and credential linkage.

Lightweight endpoint for clients to read backend-verified context without trusting locally-stored credential files. Works for all token types (Project Key, API token, user token).

GET/auth/whoami
Authorization
AuthorizationBearer token · headerrequired
Responses
200

Successful Response

tenant_idstringrequired
service_idstringrequired
substringrequired
project_key_idstring | null
Show properties
Any of:
string
string
null
null
token_typestringrequired
Request
curl -X GET 'https://api.streamkap.com/auth/whoami' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "tenant_id": "string",
  "service_id": "string",
  "sub": "string",
  "project_key_id": "string",
  "token_type": "string"
}