GET /v1/extension/me
Who this key belongs to and what it may do
Who this key belongs to and what it may do
The tenant (name, plan, country, currency), the key scopes and the features available to the extension: market price (Pro/trial plans), underwriter, add to Desk. Requires scope read:pricing.
- Автентифікація: заголовок
Authorization: Bearer rv_live_...(API-ключі та scopes) - Потрібний scope:
read:pricing
openapi.json) і подається англійською, як у самому API.Відповіді
200
Connection info.
application/json · Схема: ExtensionMe
| Поле | Тип | Обов’язк. | Опис |
|---|---|---|---|
tenant | object | так | |
tenant.id | string (uuid) | так | |
tenant.slug | string | так | |
tenant.name | string | так | |
tenant.plan | "trial" | "starter" | "pro" | "business" | так | |
tenant.country | string | так | |
tenant.currency | string | так | |
tenant.locale | "uk" | "pl" | "en" | так | |
key | object | так | |
key.name | string | так | |
key.scopes | string[] | так | |
features | object | так | |
features.market_price | boolean | так | Market price from the listings cache is available for this plan. |
features.underwrite | boolean | так | The key can call POST /v1/underwrite (scopes read:pricing + read:listings). |
features.add_to_desk | boolean | так | The key can create vehicles and offers (scope write:deals). |
tariffs | object | так | |
tariffs.source | "tenant" | "typical" | так | "tenant": tenants.settings.tariffs are used by the API; "typical": demo defaults. |
400
Invalid request parameters or body (code validation_error).
application/problem+json · Схема: Problem
401
Missing, malformed, unknown, revoked or expired API key (code unauthorized).
application/problem+json · Схема: Problem
403
The API key lacks the scope required by this endpoint (code insufficient_scope).
application/problem+json · Схема: Problem
429
Rate limit exceeded for the tenant plan (code rate_limited). Wait Retry-After seconds.
application/problem+json · Схема: Problem