ImportOS · Документація
Довідник API

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 (openapi.json) і подається англійською, як у самому API.

Відповіді

200

Connection info.

application/json · Схема: ExtensionMe

ПолеТипОбов’язк.Опис
tenantobjectтак
tenant.idstring (uuid)так
tenant.slugstringтак
tenant.namestringтак
tenant.plan"trial" | "starter" | "pro" | "business"так
tenant.countrystringтак
tenant.currencystringтак
tenant.locale"uk" | "pl" | "en"так
keyobjectтак
key.namestringтак
key.scopesstring[]так
featuresobjectтак
features.market_pricebooleanтакMarket price from the listings cache is available for this plan.
features.underwritebooleanтакThe key can call POST /v1/underwrite (scopes read:pricing + read:listings).
features.add_to_deskbooleanтакThe key can create vehicles and offers (scope write:deals).
tariffsobjectтак
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

На цій сторінці