> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# API reference

This reference is generated from the same contract the official SDKs are built from, so it always matches what the
API serves to applications. Operations only staff can call are not listed.

| Topic          | Detail                                                                                                                          |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Base URL       | `https://api.evvahub.com` — every path starts with `/partner/v1`                                                                |
| Authentication | `Authorization: Bearer <access token>` from the [token endpoint](/authentication/tokens)                                        |
| Format         | JSON in, JSON out. Request bodies at most 100 KB.                                                                               |
| Errors         | `{code, error, details?, requestId}` — see [Errors](/conventions/errors)                                                        |
| Versioning     | Additive changes within v1; at least 180 days' notice before anything is removed — see [Versioning](/conventions/versioning)    |
| Download       | [`openapi.yaml`](/openapi.yaml) · [`openapi.json`](/openapi.json) — OpenAPI 3.1, for code generators, Postman or contract tests |

## Every request

| Header            | When                   | Value                                                                                                                           |
| ----------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `Authorization`   | Always                 | `Bearer <access token>` — never in the URL.                                                                                     |
| `Content-Type`    | Requests with a body   | `application/json` (the token endpoint also takes `application/x-www-form-urlencoded`).                                         |
| `Idempotency-Key` | Writes that declare it | 1–128 characters of `[A-Za-z0-9_-]`; the same key answers the first outcome again. See [Idempotency](/conventions/idempotency). |
| `X-Request-Id`    | Optional               | Your own correlation id, echoed back on the response and in every error.                                                        |

## Every response

| Header                                                            | Value                                                                                            |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| `X-Request-Id`                                                    | Your value, or one EVVA generates. Quote it when you contact EVVA about a request.               |
| `API-Version`                                                     | `v1`                                                                                             |
| `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` | The limiter that metered the request. See [Rate limits and quotas](/authentication/rate-limits). |
| `Retry-After`                                                     | On every `429` and `503`, in seconds.                                                            |
| `Cache-Control`                                                   | `private, no-store` — never keep a response in a shared cache.                                   |

## Reading an operation

* **Scopes.** Each operation lists the scopes it requires; your grant for that creator and your token must both
  carry them. See [Scopes and grants](/authentication/scopes).
* **Approval.** Operations marked **Approval** run within the agency's automatic limits, or wait for a person in the
  agency to approve them. See [Approvals and automatic limits](/approvals).
* **Creator.** Operations under `/partner/v1/accounts/{creatorId}/…` act for that creator only. Another creator's
  object is answered `404`, exactly like a missing one.
* **Request samples.** cURL, plus plain HTTP in TypeScript, Python, Go and PHP. Choose a language once; every page
  follows it.

> **Note**
>
> The "Try it" console is turned off while the Partner API is in developer preview: it is not yet open to applications.
> Use the [sandbox](/sandbox) once it is.

## Sections

#### [Authentication](/api-reference/authentication/issue-token)

Issue and revoke access tokens.

#### [Application and accounts](/api-reference/application/get-application-me)

Who you are, and the creators you may act for.

#### [Events](/api-reference/events/list-events)

The durable feed and consumer-group checkpoints.

#### [Messaging](/api-reference/messaging/send-message)

Conversations, messages, leases and mass messages.

#### [Media and content](/api-reference/media/list-media-assets)

The media vault, posts, the profile and storefront.

#### [Orders and marketplace](/api-reference/orders/list-creator-orders)

The seller side of orders, requests and agreements.