GET /v1/me
Returns the organization the API key belongs to, along with its plan. Useful for validating a key and inspecting plan limits.
Request
Section titled “Request”GET /api/v1/meAuthorization: Bearer twa_your_key_hereNo parameters.
Response 200 OK
Section titled “Response 200 OK”{ "org_id": "018e5678-abcd-7000-8000-000000000001", "org_name": "ACME Corp", "plan": { "name": "PRO", "slug": "pro", "max_api_calls_per_hour": -1 }}Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
org_id | string (UUID) | Identifier of the organization the key belongs to |
org_name | string | Organization name |
plan | object | null | Active plan information for the organization |
plan.name | string | Plan name (BASIC, PLUS, PRO) |
plan.slug | string | Plan slug (basic, plus, pro) |
plan.max_api_calls_per_hour | integer | Hourly call limit (-1 = unlimited, 0 = no access) |
Example
Section titled “Example”curl -s \ -H "Authorization: Bearer twa_your_key_here" \ https://app.techwatchalert.com/api/v1/me | jq .