curl --request GET \
--url https://api.streamkap.com/auth/whoami \
--header 'Authorization: Bearer <token>'{
"tenant_id": "<string>",
"service_id": "<string>",
"sub": "<string>",
"token_type": "<string>",
"project_key_id": "<string>"
}Return the caller’s verified identity: tenant, service, and credential linkage.
Lightweight endpoint for MCP/CLI to enrich audit logs with backend-verified context without trusting client-side credential files. Works for all auth modes (PK, API key, user token).
curl --request GET \
--url https://api.streamkap.com/auth/whoami \
--header 'Authorization: Bearer <token>'{
"tenant_id": "<string>",
"service_id": "<string>",
"sub": "<string>",
"token_type": "<string>",
"project_key_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?