Authentication
Whoami
Changed onReturn the caller's verified identity: tenant, service, and credential linkage.
Lightweight endpoint for clients to read server-verified context without trusting locally-stored credential files. Works for all token types (Project Key, API token, user token). service_id is null for a service-less context, such as an admin-app request without an X-Admin-Tenant-Id header.
get/auth/whoami
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
Changes
- breaking
the response property
became optional for the status - breaking
response property
service_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking