Me
GET /v1/me
Section titled “GET /v1/me”The org and role the calling API key resolves to.
Responses
Section titled “Responses”| Status | Body | Meaning |
|---|---|---|
200 |
V1Me |
The key’s org and role. |
401 |
V1ErrorUnauthenticated |
The bearer token is absent, malformed, revoked, expired, or unknown. |
403 |
V1ErrorFeatureGated |
The org’s plan does not include API access (api_rate_limit is 0) — every /v1 route refuses a free org. |
429 |
V1ErrorRateLimited |
The key exceeded its plan’s per-minute request budget. |
Request
Section titled “Request”curl -sS \ 'https://api.wirewatch.io/v1/me' \ -H "Authorization: Bearer $WIREWATCH_API_KEY"Response (200)
Section titled “Response (200)”{ "org_id": "343cddd3-0451-4c0e-8f4b-1129338bdd47", "role": "Admin"}