Describe the Calling Key
What this key is, which organization and brands it reaches, and which scopes it holds. Requires no scope, so it is always safe to call first when wiring up an integration.
Works with any valid key. About keys
Request
curl "https://app.vyingfor.com/api/v1/me" \
-H "Authorization: Bearer YOUR_API_KEY"Response
200 Describe the calling key
| Field | Type | Description |
|---|---|---|
keyType | "organization" | Always |
organizationId | string or null | The organization this key acts inside. |
organizationName | string or null | |
scopes | ("read" | "write")[] | Scopes this key holds. |
brandIds | array or null | Brands the key is narrowed to, or null when it reaches every brand in its organization. Never an empty array — a restriction to no brands is rejected at creation rather than treated as no restriction. |
createdAt | string or null | |
expiresAt | string or null | When the key stops working, if it has an expiry. |
rateLimit | object or null | The key's configured limit — generous by design: it exists to stop a runaway loop, not to meter normal use. Enforcement is a fixed window and approximate under concurrency. |
createdBy | string or null | The key's label, as given when it was issued. |
lastUsedAt | string or null |
Errors
401Authentication required429Per-key rate limit exceeded.500Internal server error