Skip to content
Stepwik

Account

Whoami

Returns the account context for the API key (user id, organization id, scopes). Use this first to confirm workspace and permissions.

GET/v1/eapi/whoamiTry it

Authorizations

stepwik-api-keystringheaderrequired

API key secret. Create keys in Studio → Developer → API Keys.

Burst limit: 300 / 15 min per key

Request

curl -X GET "https://api.stepwik.com/v1/eapi/whoami" \
  -H "stepwik-api-key: stepwik_<id>_<secret>"

Response

200 · application/json

userobject

Authenticated user summary

organizationobject

Active organization when the key is org-scoped

scopesstring[]

Scopes granted to this key

200

{
  "user": { "id": "<string>", "email": "<string>" },
  "organization": { "id": "<string>", "name": "<string>" },
  "scopes": ["labs:read", "labs:write"]
}