{"openapi":"3.1.0","info":{"title":"Endpoints","version":"1.4.0"},"paths":{"/partner/v1/oauth/revoke":{"post":{"operationId":"authentication_revokeToken","summary":"Revoke an access token","description":"Revokes one of your application's own access tokens, as defined by RFC 7009.\n\n**Request**\n\nSend `token`, the `evpa_live_…` or `evpa_test_…` access token to revoke, as `application/x-www-form-urlencoded` or as JSON. `token_type_hint` is a hint only. Authenticate the client exactly as at the token endpoint: `client_secret_basic`, `client_secret_post` or `private_key_jwt`. See [requesting tokens](/authentication/tokens).\n\n**What happens**\n\nOnly the authenticated application's own token is revoked. Revocation takes effect from the next request, and realtime connections the token opened are closed with `SESSION_REVOKED`. Your application can revoke its own tokens even while it is disabled or its agency is suspended.\n\n**Response**\n\nThe answer is `200` with an empty body for anything that is not a client error: the token was revoked now, was already revoked, has expired, is unknown, or belongs to another application (which is left untouched).\n\n**Errors**\n\n- `400 invalid_request` — a parameter sent twice, too long or in the URL query, more than one client authentication method, `client_secret` without `client_id`, or `client_assertion` without `client_assertion_type`.\n- `400 INVALID_REQUEST` — the body has no `token`, or its `token` does not start with `evpa_`, so it is not a revocation of your token. This answer uses the common `Error` envelope.\n- `401 invalid_client` — client authentication failed. The answer is the same constant in every case, with `WWW-Authenticate: Basic` when you used HTTP Basic.\n- `401 UNAUTHORIZED` — a JSON body with `client_id` and `client_secret` whose `token` does not start with `evpa_`. This answer uses the common `Error` envelope.\n- `503 temporarily_unavailable` — EVVA cannot answer right now. Retry after `Retry-After`.","tags":["authentication"],"responses":{"200":{"description":"Revoked, or nothing to revoke. The body is empty (RFC 7009, section 2.2).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Authentication_revokeToken_Response_200"}}}},"400":{"description":"A malformed request. For an `evpa_` token: `invalid_request` (`OAuthTokenError`) — a duplicated parameter, parameters in the URL query, or more than one client authentication method. A body without `token`, or whose `token` does not start with `evpa_`, is answered `INVALID_REQUEST` in the common `Error` envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeTokenRequestBadRequestError"}}}},"401":{"description":"Client authentication failed: `invalid_client` (`OAuthTokenError`), one constant body for every failure, with `WWW-Authenticate: Basic` when HTTP Basic was attempted. A JSON body with `client_id`, `client_secret` and a `token` that does not start with `evpa_` is answered `UNAUTHORIZED` in the common `Error` envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeTokenRequestUnauthorizedError"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"EVVA cannot answer right now; always with `Retry-After`. The body is `temporarily_unavailable` (`OAuthTokenError`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeTokenRequestServiceUnavailableError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTokenRevocationRequest"}}}},"security":[{"clientSecretBasic":[]}]}},"/partner/v1/oauth/token":{"post":{"operationId":"authentication_issueToken","summary":"Request an access token","description":"Issues an access token for your application with the OAuth 2.0 `client_credentials` grant.\n\n**Request**\n\nSend `grant_type=client_credentials` as `application/x-www-form-urlencoded` (RFC 6749) or as JSON with the same parameter names. Send each parameter once, in the body, never in the URL query. `scope` is space-separated and must name only scopes your application is allowed; omit it to receive all of them. See [requesting tokens](/authentication/tokens).\n\n**Client authentication**\n\nAuthenticate the client with exactly one of `client_secret_basic`, `client_secret_post` or `private_key_jwt`. With `private_key_jwt`:\n\n- send `client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer`;\n- sign the assertion with an RS256 or ES256 key registered for the application in the Partner Hub;\n- set `iss` = `sub` = `client_id`, and `aud` = this endpoint's URL;\n- set `exp` at most five minutes ahead;\n- use a single-use `jti`.\n\n**Response**\n\n`{access_token, token_type: \"Bearer\", expires_in, scope}`, with an `evpa_live_…` or `evpa_test_…` token. `expires_in` is the token's lifetime in seconds, 900 by default, and `scope` lists the scopes it carries. There is no refresh token: request a new token when the current one expires. The token answer, like every `OAuthTokenError` answer, carries `Cache-Control: no-store` and `Pragma: no-cache`.\n\n**Errors**\n\nErrors use the RFC 6749, section 5.2 body (`OAuthTokenError`), except `INVALID_REQUEST`, which uses the common `Error` envelope:\n\n- `400 INVALID_REQUEST` — the body does not ask for `grant_type=client_credentials`, for example because `grant_type` is missing.\n- `400 invalid_request` — a malformed request: a parameter sent twice, too long or in the URL query, more than one client authentication method, `client_secret` without `client_id`, or `client_assertion` without `client_assertion_type`.\n- `400 unsupported_grant_type` — this environment does not offer the `client_credentials` grant.\n- `400 unauthorized_client` — the application is not active, or its agency is suspended.\n- `400 invalid_scope` — a malformed scope, more than 64 scopes, or a scope beyond the application's allowed scopes.\n- `401 invalid_client` — any client authentication failure. The answer is the same constant in every case, with `WWW-Authenticate: Basic` when you used HTTP Basic.\n- `503 temporarily_unavailable` — EVVA cannot answer right now, and no token is issued. Retry after `Retry-After`.","tags":["authentication"],"responses":{"200":{"description":"The access token. The answer carries `Cache-Control: no-store` and `Pragma: no-cache`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationTokenResponse"}}}},"400":{"description":"A malformed or refused request, with an RFC 6749, section 5.2 body (`OAuthTokenError`): `invalid_request`, `invalid_scope`, `unauthorized_client` or `unsupported_grant_type`. A body that does not ask for `grant_type=client_credentials`, for example one without `grant_type`, is answered `INVALID_REQUEST` in the common `Error` envelope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueTokenRequestBadRequestError"}}}},"401":{"description":"Client authentication failed: `invalid_client` (`OAuthTokenError`), one constant body for every failure, with `WWW-Authenticate: Basic` when HTTP Basic was attempted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueTokenRequestUnauthorizedError"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"EVVA cannot answer right now, and no token is issued; always with `Retry-After`. The body is `temporarily_unavailable` (`OAuthTokenError`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueTokenRequestServiceUnavailableError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientCredentialsTokenRequest"}}}},"security":[{"clientSecretBasic":[]}]}},"/partner/v1/app/capabilities":{"get":{"operationId":"application_getApplicationCapabilities","summary":"Get capabilities","description":"Returns the API version, every operation open to applications, the operations your application can call for each creator, and the authentication details and limits.\n\nAn operation that is not listed answers `403 OPERATION_NOT_EXPOSED`. The per-creator lists change with the next grant change. A listed operation can still be refused: each call checks the creator's account restrictions itself, and nothing here promises them. `deprecations` lists the deprecated operations an application can call; there are none today. See [scopes and grants](/authentication/scopes).\n\nOnly an application token can call this operation.\n\n**Errors**\n\n- `503 TEMPORARILY_UNAVAILABLE` — your access cannot be read right now. Retry after `Retry-After`.","tags":["application"],"responses":{"200":{"description":"Capabilities.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Capabilities"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed with this token: the token lacks a scope (`INSUFFICIENT_SCOPE`), the application is not active (`APPLICATION_NOT_ACTIVE`), or its agency is suspended (`AGENCY_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/app/me":{"get":{"operationId":"application_getApplicationMe","summary":"Get the calling application","description":"Returns the calling application, its agency and environment, the token's scopes and your application's rate limit.\n\nOnly an application token can call this operation. The answer never contains a secret, a digest or the token itself.","tags":["application"],"responses":{"200":{"description":"The application.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMe"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed with this token: the token lacks a scope (`INSUFFICIENT_SCOPE`), the application is not active (`APPLICATION_NOT_ACTIVE`), or its agency is suspended (`AGENCY_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts":{"get":{"operationId":"accounts_listAccounts","summary":"List creator accounts","description":"Lists the creators your application may act for, each with the scopes it may exercise there now.\n\nOnly creators your application's live grants reach are listed: granted individually, or as current members of a granted group. Each item's `scopes` is your effective scopes for that creator, narrowed to the scopes on the token. See [scopes and grants](/authentication/scopes).\n\n`X-Agency-Id` is optional. If you send it, it must be your token's agency.","tags":["accounts"],"responses":{"200":{"description":"Creators.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Accounts_listAccounts_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed with this token: the token lacks a scope (`INSUFFICIENT_SCOPE`), the application is not active (`APPLICATION_NOT_ACTIVE`), or its agency is suspended (`AGENCY_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/sandbox/creators/{creatorId}/simulate/message":{"post":{"operationId":"sandbox_simulateSandboxMessage","summary":"Simulate a fan message","description":"Makes a synthetic fan write to a synthetic creator in the [sandbox](/sandbox).\n\nThe body is `{conversationId?, text?}`. Without `conversationId`, a new synthetic fan opens a conversation. `text` is 1–1000 characters; without it, a synthetic line is used. The message is a real chat message that the REST reads return.\n\n**What is recorded**\n\nThe same events a real fan message records: `message.received`, preceded by `conversation.created` when the message opens the conversation. Every recorded event carries `data.sandbox: true` and goes to this creator's agency only. See [the event catalogue](/webhooks/events).\n\nNothing is ever written to an order, payment, ledger, billing, payout or entitlement record, and no platform event is emitted.\n\n**Idempotency**\n\nSend an `Idempotency-Key` so that a retry records nothing twice: the retry returns `200` with the first outcome instead of `201`.\n\n**Errors**\n\n- `403 SANDBOX_APPLICATION_REQUIRED` — a live application called the simulator for a real creator.\n- `403 ENVIRONMENT_MISMATCH` — a live application called the simulator for a sandbox creator.\n- `404 SANDBOX_CREATOR_NOT_FOUND` — the creator is not a current sandbox creator of your agency.\n- `404 CONVERSATION_NOT_FOUND` — `conversationId` is not one of this sandbox creator's conversations.\n- `409 SANDBOX_FAN_LIMIT` — a new synthetic fan is needed, and the creator already has the most allowed (50).\n\n**Required scopes:** `read:messages`.","tags":["sandbox"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional. Up to 128 printable characters. A retry with the same key returns the first outcome and records nothing again.","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the first outcome, with nothing recorded again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/sandbox/creators/{creatorId}/simulate/order":{"post":{"operationId":"sandbox_simulateSandboxOrder","summary":"Simulate a custom-request order","description":"Makes a synthetic fan place and pay a custom-request order in the [sandbox](/sandbox), with no money involved.\n\nThe body is `{conversationId?}`: that conversation's fan places the order, or a new synthetic fan does. The order exists only in memory, so the REST order reads never return it.\n\n**What is recorded**\n\nThe same event a real paid custom-request order records: `order.paid`. As for a real order, your application receives it only when its access covers both `read:orders` and `read:revenue`. Every recorded event carries `data.sandbox: true` and goes to this creator's agency only. See [the event catalogue](/webhooks/events).\n\nNothing is ever written to an order, payment, ledger, billing, payout or entitlement record, and no platform event is emitted.\n\n**Idempotency**\n\nSend an `Idempotency-Key` so that a retry records nothing twice: the retry returns `200` with the first outcome instead of `201`.\n\n**Errors**\n\n- `403 SANDBOX_APPLICATION_REQUIRED` — a live application called the simulator for a real creator.\n- `403 ENVIRONMENT_MISMATCH` — a live application called the simulator for a sandbox creator.\n- `404 SANDBOX_CREATOR_NOT_FOUND` — the creator is not a current sandbox creator of your agency.\n- `404 CONVERSATION_NOT_FOUND` — `conversationId` is not one of this sandbox creator's conversations.\n- `409 SANDBOX_FAN_LIMIT` — a new synthetic fan is needed, and the creator already has the most allowed (50).\n\n**Required scopes:** `read:orders`.","tags":["sandbox"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional. Up to 128 printable characters. A retry with the same key returns the first outcome and records nothing again.","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the first outcome, with nothing recorded again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/sandbox/creators/{creatorId}/simulate/ppv-unlock":{"post":{"operationId":"sandbox_simulateSandboxPpvUnlock","summary":"Simulate a pay-per-view unlock","description":"Makes a synthetic fan unlock a pay-per-view message in the [sandbox](/sandbox), with no money involved.\n\nThe body is `{messageId}`: a locked message the creator sent in one of its conversations. No order, payment or entitlement exists, so the message's purchase status in the REST reads stays unpaid.\n\n**What is recorded**\n\nThe same event a paid unlock records: `ppv.purchased`. As for a real unlock, your application receives it only when its access also covers `read:revenue`. Every recorded event carries `data.sandbox: true` and goes to this creator's agency only. See [the event catalogue](/webhooks/events).\n\nNothing is ever written to an order, payment, ledger, billing, payout or entitlement record, and no platform event is emitted.\n\n**Idempotency**\n\nSend an `Idempotency-Key` so that a retry records nothing twice: the retry returns `200` with the first outcome instead of `201`.\n\n**Errors**\n\n- `403 SANDBOX_APPLICATION_REQUIRED` — a live application called the simulator for a real creator.\n- `403 ENVIRONMENT_MISMATCH` — a live application called the simulator for a sandbox creator.\n- `404 SANDBOX_CREATOR_NOT_FOUND` — the creator is not a current sandbox creator of your agency.\n- `404 MESSAGE_NOT_FOUND` — `messageId` is not a message in this sandbox creator's conversations.\n- `409 MESSAGE_NOT_LOCKED` — `messageId` is not a locked message the creator sent.\n\n**Required scopes:** `read:messages`.","tags":["sandbox"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional. Up to 128 printable characters. A retry with the same key returns the first outcome and records nothing again.","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the first outcome, with nothing recorded again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/sandbox/creators/{creatorId}/simulate/subscription":{"post":{"operationId":"sandbox_simulateSandboxSubscription","summary":"Simulate a subscription","description":"Makes a synthetic fan subscribe to a synthetic creator in the [sandbox](/sandbox), with no money involved.\n\nThe body is `{conversationId?}`: that conversation's fan subscribes, or a new synthetic fan does. No agreement, order or relationship record is created.\n\n**What is recorded**\n\nThe same event a paid subscription start records: `subscriber.started`. Every recorded event carries `data.sandbox: true` and goes to this creator's agency only. See [the event catalogue](/webhooks/events).\n\nNothing is ever written to an order, payment, ledger, billing, payout or entitlement record, and no platform event is emitted.\n\n**Idempotency**\n\nSend an `Idempotency-Key` so that a retry records nothing twice: the retry returns `200` with the first outcome instead of `201`.\n\n**Errors**\n\n- `403 SANDBOX_APPLICATION_REQUIRED` — a live application called the simulator for a real creator.\n- `403 ENVIRONMENT_MISMATCH` — a live application called the simulator for a sandbox creator.\n- `404 SANDBOX_CREATOR_NOT_FOUND` — the creator is not a current sandbox creator of your agency.\n- `404 CONVERSATION_NOT_FOUND` — `conversationId` is not one of this sandbox creator's conversations.\n- `409 SANDBOX_FAN_LIMIT` — a new synthetic fan is needed, and the creator already has the most allowed (50).\n\n**Required scopes:** `read:subscribers`.","tags":["sandbox"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional. Up to 128 printable characters. A retry with the same key returns the first outcome and records nothing again.","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the first outcome, with nothing recorded again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/sandbox/creators/{creatorId}/simulate/tip":{"post":{"operationId":"sandbox_simulateSandboxTip","summary":"Simulate a tip","description":"Makes a synthetic fan tip in a conversation in the [sandbox](/sandbox), with no money involved.\n\nThe body is `{conversationId}`, and it is required. A chat message of kind `TIP` is written, as a real tip writes one before its payment. Its order is synthetic: it is never stored and never charged.\n\n**What is recorded**\n\nThe same events a real tip records: the tip message's `message.received`, then `tip.received`. As for a real tip, your application receives `tip.received` only when its access also covers `read:revenue`. Every recorded event carries `data.sandbox: true` and goes to this creator's agency only. See [the event catalogue](/webhooks/events).\n\nNothing is ever written to an order, payment, ledger, billing, payout or entitlement record, and no platform event is emitted.\n\n**Idempotency**\n\nSend an `Idempotency-Key` so that a retry records nothing twice: the retry returns `200` with the first outcome instead of `201`.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — the body has no `conversationId`.\n- `403 SANDBOX_APPLICATION_REQUIRED` — a live application called the simulator for a real creator.\n- `403 ENVIRONMENT_MISMATCH` — a live application called the simulator for a sandbox creator.\n- `404 SANDBOX_CREATOR_NOT_FOUND` — the creator is not a current sandbox creator of your agency.\n- `404 CONVERSATION_NOT_FOUND` — `conversationId` is not one of this sandbox creator's conversations.\n\n**Required scopes:** `read:messages`.","tags":["sandbox"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional. Up to 128 printable characters. A retry with the same key returns the first outcome and records nothing again.","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the first outcome, with nothing recorded again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/events":{"get":{"operationId":"events_listEvents","summary":"List events","description":"Returns a page of the events your application may see after a cursor, from the durable [event feed](/event-feed).\n\nOnly an application token can read the feed.\n\n**Visibility**\n\nEvery page re-checks your grants, the creator's consent and whether EVVA has put the creator on hold. A creator event is served only when its type's scope is among the scopes your application may use for that creator at that moment: `conversation.created` and `message.*` need `read:messages`, `subscriber.*` need `read:subscribers`, and so on. A token or an application holding no such scope reads an empty feed. `grant.changed` and `access.revoked` are addressed to your application itself.\n\nAn event hidden when its page is read is still consumed: the cursor moves past it. Granting access later does not replay history into the feed; the REST reads are the history.\n\n**Order**\n\nThe order is deterministic. Reading again from the same cursor, replaying from the start, or resuming a consumer group after a takeover returns the same events in the same order.\n\n- Within a creator, the order of events never changes.\n- Across creators, no order is promised. An event recorded late can follow another creator's events on a live read and precede them on a later replay.\n- `occurredAt` is informational, not the delivery order. Two events can share an instant, so never order by it alone.\n\n**Reading pages**\n\n- Delivery is at least once: deduplicate by `eventId`. The same event keeps its `eventId` on the feed, in realtime and in webhooks.\n- Every item carries its own `cursor`, the position just after it, so you can checkpoint mid-page. `nextCursor` is always present and safe to resume from once the page is handled.\n- `hasMore: true` with fewer than `limit` items is normal: one call examines a bounded number of rows.\n\n**What a page does not reveal**\n\nNothing in a page reveals an event your application may not see.\n\n- A cursor is encrypted and works only for your application, in its agency and environment.\n- A cursor shows neither its position nor whether it moved. Two cursors for one position differ, and an empty page's `nextCursor` looks the same whether or not a hidden event passed.\n- `eventId` is opaque and belongs to your application. There is no `sequence`.\n- `hasMore: true` means an event you may see follows, or that the call reached its row bound. A hidden event alone never sets it.\n\n**Retention**\n\nEvents are kept for 7 days by default.\n\n**Errors**\n\n- `400 INVALID_CURSOR` — the cursor is malformed, was tampered with, was issued to another application, is a webhook's `whc1.` cursor, or has an earlier, unpublished format. For an earlier format, read again without `after` or from your consumer group, and deduplicate.\n- `410 CURSOR_EXPIRED` — the events after this cursor are past retention. Resynchronise through the REST reads, then read again without `after`.","tags":["events"],"parameters":[{"name":"after","in":"query","description":"An opaque, exclusive cursor: an item's `cursor`, a page's `nextCursor`, or a consumer-group lease's `cursor`, which covers only the leased partitions. Omit it to start at the oldest retained event. Only a cursor issued to your application opens; any other is `400 INVALID_CURSOR`.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","description":"The maximum number of items in the page.","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}}],"responses":{"200":{"description":"A page of events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}}},"400":{"description":"Invalid feed request: `INVALID_REQUEST` (a parameter out of range, unknown or incomplete) or `INVALID_CURSOR` (malformed, or issued to another application).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN`, with `WWW-Authenticate: Bearer error=\"invalid_token\"`. Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not read the feed.\n\n- `APPLICATION_PRINCIPAL_REQUIRED` — the request was not made with an application token.\n- `APPLICATION_NOT_ACTIVE` — the application is not `ACTIVE`.\n- `AGENCY_SUSPENDED` — its agency is not `ACTIVE`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"`CURSOR_EXPIRED` — events after this cursor are past retention; resync from the REST API.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The feed cannot answer right now.\n\n- `FEED_UNAVAILABLE` — the feed is not configured on this deployment (no cursor key); `Retry-After: 30`.\n- `TEMPORARILY_UNAVAILABLE` — the edge could not verify the application; retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/events/checkpoints":{"get":{"operationId":"events_getEventCheckpoint","summary":"Acquire or renew a consumer lease","description":"Acquires, takes over or renews a lease on a consumer group's partitions, and returns the group's committed cursor for them.\n\nA consumer group belongs to your application and is named by `consumer`: another application's group with the same name is a different group. Only an application token can call this operation. See [the event feed](/event-feed).\n\n**Acquire or renew**\n\n- Without `fencingToken`, the call acquires the requested partitions (all 16 by default) when no other member holds a live lease on any of them, and EVVA generates a new fencing token (opaque to your application: compare tokens only for equality). Otherwise it answers `409 LEASE_HELD` with `Retry-After`.\n- With the member's current `fencingToken`, it renews the lease.\n\n**Where reading starts**\n\nA partition never committed starts at the oldest retained event. A committed one resumes where it was; if retention passed it while nobody consumed, the next read answers `410`. Checkpoints hold positions only, never event data.\n\n**Consumer group limit**\n\nYour application can hold a limited number of consumer groups. Only groups active within the idle window count, and an existing group is never refused.\n\nAn idle group is retired. A group that still owes its consumer a `410` is kept for a further grace period; a group that owes nothing is kept for the feed's retention plus that grace. After that its name resets: the name starts a new group, with a new `groupId`, from the oldest retained event, and the old group's fencing tokens are refused.\n\n**Errors**\n\n- `409 LEASE_HELD` — another member holds a live lease on a requested partition. Retry after `Retry-After` seconds.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` belongs to an earlier incarnation of this group, which was retired and created again. Acquire without it.\n- `409 CONSUMER_GROUP_LIMIT_REACHED` — a new `consumer` name past your application's consumer-group limit (`details.limit`). Reuse an existing name.","tags":["events"],"parameters":[{"name":"consumer","in":"query","description":"The consumer-group name.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"}},{"name":"partitions","in":"query","description":"Comma-separated distinct partitions in `0..15`; omit for all 16.","required":false,"schema":{"type":"string","maxLength":64}},{"name":"fencingToken","in":"query","description":"The member's current fencing token, to renew its lease. Omit it to acquire.","required":false,"schema":{"$ref":"#/components/schemas/FencingToken"}}],"responses":{"200":{"description":"Leased (acquired, taken over after expiry, or renewed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCheckpointLease"}}}},"400":{"description":"Invalid feed request: `INVALID_REQUEST` (a parameter out of range, unknown or incomplete) or `INVALID_CURSOR` (malformed, or issued to another application).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN`, with `WWW-Authenticate: Bearer error=\"invalid_token\"`. Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not read the feed.\n\n- `APPLICATION_PRINCIPAL_REQUIRED` — the request was not made with an application token.\n- `APPLICATION_NOT_ACTIVE` — the application is not `ACTIVE`.\n- `AGENCY_SUSPENDED` — its agency is not `ACTIVE`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`LEASE_HELD` — another member holds a live lease on a requested partition; retry after `Retry-After` seconds. `STALE_FENCING_TOKEN` — the `fencingToken` belongs to an earlier incarnation of this group, which was retired and created again; acquire without it. `CONSUMER_GROUP_LIMIT_REACHED` (`details.limit`) — a new `consumer` name past your application's consumer-group limit; reuse an existing name.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The feed cannot answer right now.\n\n- `FEED_UNAVAILABLE` — the feed is not configured on this deployment (no cursor key); `Retry-After: 30`.\n- `TEMPORARILY_UNAVAILABLE` — the edge could not verify the application; retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"events_commitEventCheckpoint","summary":"Commit a consumer group checkpoint","description":"Records a consumer group's position at `cursor` for the partitions that cursor covers, and renews the lease.\n\nBoth happen only while your `fencingToken` still holds every one of those partitions. Only an application token can call this operation. See [the event feed](/event-feed).\n\n**Errors**\n\n- `400 INVALID_CURSOR` — the cursor was issued to another application.\n- `409 STALE_FENCING_TOKEN` — another member took one of the partitions over. Stop, and lease again.\n- `409 NOT_LEASED` — the cursor covers a partition this group never leased.","tags":["events"],"responses":{"200":{"description":"Committed; the lease is renewed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCheckpointCommitted"}}}},"400":{"description":"Invalid feed request: `INVALID_REQUEST` (a parameter out of range, unknown or incomplete) or `INVALID_CURSOR` (malformed, or issued to another application).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN`, with `WWW-Authenticate: Bearer error=\"invalid_token\"`. Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not read the feed.\n\n- `APPLICATION_PRINCIPAL_REQUIRED` — the request was not made with an application token.\n- `APPLICATION_NOT_ACTIVE` — the application is not `ACTIVE`.\n- `AGENCY_SUSPENDED` — its agency is not `ACTIVE`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`STALE_FENCING_TOKEN` — another member took a partition over; stop, and lease again. `NOT_LEASED` — a partition of this cursor was never leased in this consumer group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The feed cannot answer right now.\n\n- `FEED_UNAVAILABLE` — the feed is not configured on this deployment (no cursor key); `Retry-After: 30`.\n- `TEMPORARILY_UNAVAILABLE` — the edge could not verify the application; retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCheckpointCommitRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations":{"get":{"operationId":"messaging_listConversations","summary":"List conversations","description":"Lists the creator's conversations, newest activity first, with the archive filter, search and sort of the creator's own inbox.\n\n`archived`, `sort`, `q` and `cursor` pass through to the same query the creator's inbox runs. Only conversations in which the creator is the creator side are returned, with no tip amounts. Every default keeps the inbox this operation returned before these filters existed.\n\n**Paging**\n\nPage by offset with `skip` and `take`, or with `cursor` (inbox rows, `sort=recent`). See [pagination](/conventions/pagination).\n\n**Rows and buyer pseudonyms**\n\nYou always receive the standard inbox rows: `view=chat` is the Partner Hub's view and is ignored for applications. Each row's `counterpart.buyerRef` is your application's own pairwise [buyer pseudonym](/buyer-pseudonyms), never an account id, e-mail, profile slug or CRM fanRef.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — `cursor` cannot be decoded.\n- `503 BUYER_PSEUDONYMS_UNAVAILABLE` — the deployment has no pseudonym keyring.\n\n**Required scopes:** `read:messages`.","tags":["messaging"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"view","in":"query","description":"Ignored for applications, which always receive the inbox shape. `chat` returns the Partner Hub's chat shape (`ChatConversationPage`); anything else the inbox shape.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsGetParametersView"}},{"name":"fields","in":"query","description":"Only with `view=chat`, which applications cannot use: `counters` skips previews, tiers and earnings, with zeros or nulls in their place.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsGetParametersFields"}},{"name":"archived","in":"query","description":"Which conversations to return by archive state: `exclude` (default) returns the conversations that are not archived, `only` the archived ones (the inbox's Archived filter), and `all` both.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsGetParametersArchived","default":"exclude"}},{"name":"sort","in":"query","description":"The sort order: `recent` (default), `spend` or `unanswered`. `spend` puts the fan who spent most first; it is an order only and returns no amount.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsGetParametersSort","default":"recent"}},{"name":"q","in":"query","description":"Free-text search over message text (2..200 characters; blank means no search).","required":false,"schema":{"type":"string","maxLength":200}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, for cursor paging over `(lastMessageAt, id)` (inbox shape, `sort=recent`). No conversation is skipped when the list reorders between pages, and `skip` is ignored. A cursor that cannot be decoded is refused with `400 INVALID_REQUEST`, never read as page one.","required":false,"schema":{"type":"string","maxLength":512}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of conversations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Messaging_listConversations_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/context":{"get":{"operationId":"messaging_getBuyerContext","summary":"Get the buyer context","description":"Returns the minimal context of the fan in a conversation: `buyerRef`, `label`, `isSubscriber` and `tier`.\n\n- `buyerRef` is your application's own pairwise [buyer pseudonym](/buyer-pseudonyms): stable per application and creator, and different for every other application and creator.\n- `label` is the creator's own nickname for the fan, else `Member`. It is never the fan's display name.\n\nThis is exactly the default context. Name, avatar, profile slug, presence and amounts are never here: they are separate scopes (`read:presence`, `read:subscribers:spend`), and never show more than the creator sees.\n\n**Errors**\n\n- `404` — the conversation is one where the creator is the fan, belongs to someone else, or does not exist.\n- `503 BUYER_PSEUDONYMS_UNAVAILABLE` — the deployment has no pseudonym keyring.\n\n**Required scopes:** `read:buyer_context`.","tags":["messaging"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Buyer context.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerContext"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages":{"get":{"operationId":"messaging_listMessages","summary":"List messages","description":"Lists the messages of a conversation in which the creator is the creator side, paging backwards from the newest message.\n\n**Paging**\n\nPass the previous page's `nextCursor` as `before` to go further back. Each page is in ascending order. To read forward, use `GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/after`; to jump to a point, use `GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/window`. See [pagination](/conventions/pagination).\n\n**What each page carries**\n\nThe creator's own enrichment, exactly what the creator's own window and after reads return:\n\n- `receipt` on the creator's messages, under the fan's receipt-visibility setting;\n- `replyTo`;\n- `reactions`, folded for the creator;\n- `paid` with `purchased`;\n- the conversation's `pinnedMessage`.\n\n`tip` stays null: the Partner API has no per-fan gross spend.\n\n**Buyer pseudonyms**\n\n`conversation.buyerRef` is your application's pairwise [pseudonym](/buyer-pseudonyms) of the conversation's buyer. Each message the buyer wrote carries `senderBuyerRef`, which is null on the creator's side.\n\n**Errors**\n\n- `503 BUYER_PSEUDONYMS_UNAVAILABLE` — the deployment has no pseudonym keyring.\n\n**Required scopes:** `read:messages`.","tags":["messaging"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"take","in":"query","description":"The page size. EVVA clamps it to 100.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"before","in":"query","description":"The opaque `nextCursor` of the previous page.","required":false,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of messages.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessagePage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"messaging_sendMessage","summary":"Send a message","description":"Sends a message in the conversation as the creator: text in `body`, at least one attachment, or both.\n\n`replyToMessageRef` and `templateRef` are optional. `viewOnce` or `expiresAt` makes a view-once or expiring message, which is a sensitive send (see **View-once and expiring messages**). The fan sees an ordinary message from the creator. The same rules hold for every item of `POST /partner/v1/bulk/messages`.\n\n**Authorship**\n\nEvery request must declare `authorship` (see [message authorship](/message-authorship)):\n\n- `AI_AUTOMATED` needs the `write:messages:automated` scope, and the creator's account must allow `BULK_MESSAGING`.\n- `HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT` needs `operatorRef` and the `write:messages:operator` scope, for a live operator in the agency's CRM.\n\n**Coordination**\n\nSends respect [conversation leases](/conversation-leases):\n\n- While a lease is live, a send must carry the lease's current `fencingToken`, or it is refused with `409 LEASE_HELD`. This includes the holding application's own sends, so two instances of one application never write at once.\n- A `fencingToken` that is not the current lease's is refused with `409 STALE_FENCING_TOKEN`.\n- While another holder leases the conversation, or it is reserved for another application, sends are refused with `409 LEASE_HELD`.\n- After a person's reply (for 5 minutes by default; the agency may set 1 to 60 minutes) or a handoff to a person, automated sends are refused with `409 AUTOMATION_PAUSED`.\n- A message you declare as an operator's (`HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT`) is paused only by a reply from a person on the agency's team, never by the creator's or the operator's own replies. It is also refused with `409 AUTOMATION_PAUSED` while a handoff to a person has been taken up, until a person hands the conversation back. It may answer a handoff that nobody has taken up yet.\n- `expectedLastMessageId` makes the send conditional: when the newest message is another one, it is refused with `409 CONVERSATION_ADVANCED`.\n- `takeover` is refused: taking a conversation over is a person's action alone.\n\n**Idempotency**\n\n`Idempotency-Key` is optional and lives in your application's own key space. The same key with the same message returns `200` with the stored message. A replay is answered before any coordination check. See [idempotency](/conventions/idempotency).\n\n**Limits**\n\nSends are limited per conversation (30 per minute) and per creator (300 per minute), both shared with the creator's own sends, and per application and per agency, scaled by active creators. A replay or a refused request costs nothing. See [rate limits](/authentication/rate-limits).\n\n**View-once and expiring messages**\n\nA send that sets a lifetime (`viewOnce` or `expiresAt`) also needs the `write:messages:view_once` scope. Without it, the send is refused with `403 OAUTH_SCOPE_MISSING` before any approval is asked. With it, the send goes through [action approval](/approvals):\n\n- The agency's policy may refuse it: `403 ACTION_DENIED_BY_POLICY`.\n- Under `AUTO_WITHIN_LIMITS`, it is sent while it stays within the agency's own limits.\n- Otherwise you get `202 APPROVAL_REQUIRED`. Re-send with the `Partner-Approval-Id` header. The approval is bound to the conversation, the files and the lifetime, and is spent once.\n\nAn ordinary send asks for no approval.\n\n**Errors**\n\n- `400 AUTHORSHIP_REQUIRED` — `authorship` is missing.\n- `400 AUTHORSHIP_INVALID` — the value is not one an application may declare.\n- `400 OPERATOR_REF_REQUIRED`, `400 OPERATOR_REF_INVALID` — `operatorRef` is missing, malformed or misplaced.\n- `403 AUTHORSHIP_NOT_PERMITTED` — the creator has not consented to this authorship. `details.requiredScope` names the missing scope.\n- `403 CREATOR_SUSPENDED` — an automated send for a suspended creator.\n- `403 RECIPIENT_NOT_ACCEPTING_MESSAGES` — the fan muted or blocked the creator, which refuses every creator-side send.\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different message.\n- `409 MEDIA_NOT_READY` — an attachment is not ready.\n- `409 LEASE_HELD`, `409 STALE_FENCING_TOKEN`, `409 AUTOMATION_PAUSED`, `409 CONVERSATION_ADVANCED` — see **Coordination**.\n- `429 TOO_MANY_MESSAGES` — a send limit is full. `Retry-After` says when to retry, and `details.level` names the level that refused.\n- `503 SERVICE_UNAVAILABLE` — the limits cannot be checked, and nothing was written. Retry after `Retry-After`.\n\n**Required scopes:** `write:messages`.\n\n**Approval:** setting or changing `viewOnce`, `expiresAt` runs through [action approval](/approvals).","tags":["messaging"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for the send; blank means no key. Otherwise 1..128 characters of `[A-Za-z0-9_-]`, or `400 INVALID_REQUEST` before anything is written. The same key with the same message answers `200` with the stored message; with a different message it is `409 IDEMPOTENCY_KEY_REUSED` (formerly `CONFLICT`). The key is scoped to the sender, your application, and never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"An idempotent replay of a message already sent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the fan does not accept this message: `RECIPIENT_NOT_ACCEPTING_MESSAGES`, `CREATOR_ACCEPTS_FOLLOWERS_ONLY`, `CREATOR_ACCEPTS_FOLLOWERS_OR_SUBSCRIBERS`, `CREATOR_ACCEPTS_FANS_WHO_GIFTED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`IDEMPOTENCY_KEY_REUSED` — the `Idempotency-Key` was used with a different message or attachment set, or by a retracted message. `MEDIA_NOT_READY` — an attachment is not ready. Coordination: `LEASE_HELD` (with `Retry-After` while the other lease lives), `STALE_FENCING_TOKEN`, `AUTOMATION_PAUSED` (with `Retry-After` while a person's reply pauses automation) and `CONVERSATION_ADVANCED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many messages (`TOO_MANY_MESSAGES`, `details.level` names the limit) or rate limited (`RATE_LIMIT_EXCEEDED`). Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/presence":{"get":{"operationId":"messaging_getConversationPresence","summary":"Get the fan's presence","description":"Returns the presence of the fan in a conversation, as the creator sees it.\n\nA `null` presence means unknown: render nothing. The creator's own presence is never returned. The answer names conversations only and carries no buyer reference.\n\n`read:presence` is needed as well as `read:messages`, and it is not part of the default consent.\n\n**Required scopes:** `read:messages`, `read:presence`.","tags":["messaging"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Presence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresenceResult"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/read":{"post":{"operationId":"messaging_markConversationRead","summary":"Mark a conversation read","description":"Acknowledges the conversation as read for the creator, without moving the fan's \"Seen\".\n\nThe creator's read marker is what the fan sees as \"Seen\", so only a person moves it. The answer is the creator's current `{id, lastMessageAt, unreadCount}`, with no money and no buyer context.\n\nAs a write, it needs a grant covering `write:messages`.\n\n**Required scopes:** `write:messages`.","tags":["messaging"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's read state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkReadResult"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/archive":{"put":{"operationId":"chat_archiveConversation","summary":"Archive a conversation","description":"Archives a conversation in the creator's inbox. The fan's copy is never archived.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Archived. The call is idempotent: archiving again keeps the original archive time.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_unarchiveConversation","summary":"Restore an archived conversation","description":"Puts an archived conversation back in the creator's inbox.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Restored. The call is idempotent.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/block":{"get":{"operationId":"chat_getConversationBlock","summary":"Get a conversation's block state","description":"Returns whether the creator and the conversation's fan have blocked each other.\n\n`blocked` is symmetric: it is `true` when either side blocked the other. `blockedByYou` is the creator's own block.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Block state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockState"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"chat_blockConversationCounterpart","summary":"Block a conversation's fan","description":"Blocks the conversation's fan on behalf of the creator.\n\nThis is the same block the creator places with their own block button, with the creator as the blocker. The\ncreator's and the fan's open chats both receive the same `blockChanged` update as for the creator's own block. The\ncall is idempotent.\n\n**Access**\n\nThe call needs `write:blocks`, which a creator's default consent does not include\n([scopes and grants](/authentication/scopes)). The agency's action policy then decides: the block runs, or you\nreceive `202 APPROVAL_REQUIRED` and re-send with `Partner-Approval-Id` once a person approves\n([action approval](/approvals)).\n\n**Required scopes:** `write:blocks`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Blocked. Also returned when the block was already in place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockChange"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_unblockConversationCounterpart","summary":"Unblock a conversation's fan","description":"Lifts the creator's block of the conversation's fan.\n\n**Access**\n\nThe call needs `write:blocks`, which a creator's default consent does not include\n([scopes and grants](/authentication/scopes)). The agency's action policy then decides: the unblock runs, or you\nreceive `202 APPROVAL_REQUIRED` and re-send with `Partner-Approval-Id` once a person approves\n([action approval](/approvals)).\n\n**Required scopes:** `write:blocks`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Unblocked. Also returned when there was no block to lift.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockChange"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/links":{"get":{"operationId":"chat_listConversationLinks","summary":"List a conversation's links","description":"Lists the links typed in a conversation's messages, one page at a time.\n\nEVVA extracts the links from the messages at read time and never fetches them. Pages run backwards through the\nconversation's history ([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"before","in":"query","description":"The `nextCursor` of the previous page. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of links.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationLinksPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/media":{"get":{"operationId":"chat_listConversationMedia","summary":"List a conversation's media","description":"Lists the media attached to a conversation's messages as asset references, never as URLs.\n\nThis listing never returns the bytes. Fetch them through a media fetch grant\n(`POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant`).\n\n**Pagination**\n\nPages run over the conversation's messages, not over its attachments, so `hasMore` describes the conversation's\nmessages. See [pagination](/conventions/pagination).\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"before","in":"query","description":"The `nextCursor` of the previous page. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of attachments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationMediaPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/{messageId}":{"delete":{"operationId":"chat_retractMessage","summary":"Withdraw a message","description":"Withdraws a message your application sent in the conversation.\n\nOnly messages your application sent can be withdrawn. Any other message, the creator's own included, answers\n`404`. Withdrawing a message that is already withdrawn returns `204` again, and no `fencingToken` is checked for it.\n\n**Paid messages**\n\nA message someone paid for is never withdrawn: refund it first. The code you receive depends on `read:revenue`,\nbecause whether a message was purchased is shown only with that scope, on every channel.\n\n**Conversation leases**\n\nYour application's withdrawal is coordinated like its send ([conversation leases](/conversation-leases)). Send the\n`fencingToken` as a query parameter. EVVA decides in the same transaction as the withdrawal, so a takeover and the withdrawal are\nalways ordered.\n\n- While a lease is live, only your application's own lease admits the withdrawal, with its current `fencingToken`. Under a\n  lease held by a person on the agency's team or by another application, or without the token, it is refused with\n  `409 LEASE_HELD` and `Retry-After` set to the lease's remaining time.\n- A `fencingToken` that is not your lease's current one is refused with `409 STALE_FENCING_TOKEN`. Once the lease is\n  released or has expired, send no token: an old one is refused the same way.\n- After a person on the agency's team replies in the conversation, the withdrawal is refused with `409 AUTOMATION_PAUSED`\n  for the agency's pause window, with `Retry-After`. While a handoff to a person has been taken up, it is refused with\n  `409 AUTOMATION_PAUSED` and no `Retry-After`, until a person hands the conversation back. The creator's own replies\n  do not pause it.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — the `fencingToken` is malformed.\n- `409 MESSAGE_ALREADY_SOLD` — someone paid for the message, and the creator's consent covers `read:revenue`.\n- `409 STATE_CHANGE_REFUSED` — the same refusal when the consent does not cover `read:revenue`.\n- `409 LEASE_HELD` — a lease held by someone else is live, or you sent no `fencingToken` while a lease is live.\n  `Retry-After` gives the lease's remaining time.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` is not your lease's current one.\n- `409 AUTOMATION_PAUSED` — a person on the agency's team is handling the conversation. See **Conversation leases**.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"messageId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"fencingToken","in":"query","description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive.","required":false,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,15}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Withdrawn. Also returned when the message was already withdrawn.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"chat_editMessage","summary":"Edit a message","description":"Edits the text of a message your application sent in the conversation.\n\nOnly messages your application sent can be edited, and EVVA records every edit. As on a send, the creator's account\nmust allow `BULK_MESSAGING`.\n\nThe rules of the creator's own edits then apply: the edit window, the revision you read (`expectedRevision`),\nwithdrawn messages, and the delivery policy for the new text. The creator's and the fan's open chats both receive\nthe same `messageEdited` update as for the creator's own edit.\n\n**Authorship**\n\nAn edit keeps the message's recorded authorship ([message authorship](/message-authorship)). A message recorded as\n`HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT` needs `write:messages:operator`; any other message needs\n`write:messages:automated`. Your application's access and the creator's consent must both cover that scope.\n\n**Conversation leases**\n\nYour application's edit is coordinated like its send ([conversation leases](/conversation-leases)). Send the\n`fencingToken` in the body. EVVA decides in the same transaction as the edit, so a takeover and the edit are\nalways ordered.\n\n- While a lease is live, only your application's own lease admits the edit, with its current `fencingToken`. Under a\n  lease held by a person on the agency's team or by another application, or without the token, it is refused with\n  `409 LEASE_HELD` and `Retry-After` set to the lease's remaining time.\n- A `fencingToken` that is not your lease's current one is refused with `409 STALE_FENCING_TOKEN`. Once the lease is\n  released or has expired, send no token: an old one is refused the same way.\n- After a person on the agency's team replies in the conversation, the edit is refused with `409 AUTOMATION_PAUSED`\n  for the agency's pause window, with `Retry-After`. While a handoff to a person has been taken up, it is refused with\n  `409 AUTOMATION_PAUSED` and no `Retry-After`, until a person hands the conversation back. The creator's own replies\n  do not pause it.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — the `fencingToken` is malformed.\n- `403 MESSAGE_EDIT_NOT_THE_SENDER` — your application did not send the message.\n- `403 AUTHORSHIP_NOT_PERMITTED` — the scope for the message's recorded authorship is not covered.\n  `details.requiredScope` names it.\n- `403 MESSAGE_EDIT_WINDOW_CLOSED` — the edit window has closed.\n- `403 MESSAGE_EDIT_RETRACTED` — the message was withdrawn.\n- `403 MESSAGE_EDIT_NOT_DELIVERABLE` — the delivery policy refuses the new text.\n- `409 MESSAGE_EDIT_STALE_REVISION` — the message changed after the revision you read.\n- `409 LEASE_HELD` — a lease held by someone else is live, or you sent no `fencingToken` while a lease is live.\n  `Retry-After` gives the lease's remaining time.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` is not your lease's current one.\n- `409 AUTOMATION_PAUSED` — a person on the agency's team is handling the conversation. See **Conversation leases**.\n- `503 TEMPORARILY_UNAVAILABLE` — EVVA cannot check the authorship scope right now. Retry after `Retry-After`.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"messageId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Edited.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_editMessage_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":["string","null"],"maxLength":2000},"expectedRevision":{"type":"integer","minimum":0},"fencingToken":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdPatchRequestBodyContentApplicationJsonSchemaFencingToken","description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive."}},"required":["expectedRevision"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/{messageId}/reactions":{"post":{"operationId":"chat_toggleMessageReaction","summary":"Toggle a reaction","description":"Toggles the creator's reaction on a message, the way one tap does in the creator's own app.\n\nSend a `kind`. With no reaction yet, it is added; a different kind switches the reaction; the same kind takes it\nback.\n\n**Retries**\n\nBecause the call is a toggle, a blind retry undoes itself. Read `reaction.action` to see what happened, and re-read\nthe conversation for the reactions it now shows.\n\n**Conversation leases**\n\nYour application's reaction is coordinated like its send ([conversation leases](/conversation-leases)). Send the\n`fencingToken` in the body. EVVA decides in the same transaction as the reaction, so a takeover and the reaction are\nalways ordered.\n\n- While a lease is live, only your application's own lease admits the reaction, with its current `fencingToken`. Under a\n  lease held by a person on the agency's team or by another application, or without the token, it is refused with\n  `409 LEASE_HELD` and `Retry-After` set to the lease's remaining time.\n- A `fencingToken` that is not your lease's current one is refused with `409 STALE_FENCING_TOKEN`. Once the lease is\n  released or has expired, send no token: an old one is refused the same way.\n- After a person on the agency's team replies in the conversation, the reaction is refused with `409 AUTOMATION_PAUSED`\n  for the agency's pause window, with `Retry-After`. While a handoff to a person has been taken up, it is refused with\n  `409 AUTOMATION_PAUSED` and no `Retry-After`, until a person hands the conversation back. The creator's own replies\n  do not pause it.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — `kind` is not a supported reaction, or the `fencingToken` is malformed.\n- `409 LEASE_HELD` — a lease held by someone else is live, or you sent no `fencingToken` while a lease is live.\n  `Retry-After` gives the lease's remaining time.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` is not your lease's current one.\n- `409 AUTOMATION_PAUSED` — a person on the agency's team is handling the conversation. See **Conversation leases**.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"messageId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"What the toggle did: `reaction.action` is `added`, `switched` or `removed`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_toggleMessageReaction_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","description":"A supported reaction from the closed vocabulary."},"fencingToken":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostRequestBodyContentApplicationJsonSchemaFencingToken","description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive; send none when no lease is live."}},"required":["kind"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/{messageId}/report":{"post":{"operationId":"chat_reportMessage","summary":"Report a message","description":"Reports a message on behalf of the creator.\n\nEVVA files it as the creator's own report, with the creator as the reporter: the same record as a report the\ncreator makes themselves. When EVVA accepts it, the answer is `202` with `report`.\n\n**Access**\n\nThe call needs `write:reports`, which a creator's default consent does not include\n([scopes and grants](/authentication/scopes)). The agency's action policy then decides: the report is filed, or you\nreceive `202 APPROVAL_REQUIRED` and nothing is reported. Re-send with `Partner-Approval-Id` once a person approves\n([action approval](/approvals)). The approval covers the message and the `reason`, which comes from a closed list,\nbut not the free-text `detail`.\n\n**Required scopes:** `write:reports`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"messageId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"202":{"description":"The report was accepted; `report.submitted` is `false` when a replay of an earlier request was absorbed. For a\nreport that waits for a person, the body is `APPROVAL_REQUIRED` (`ApprovalRequired`) instead: nothing was\nreported, so re-send with `Partner-Approval-Id` once approved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_reportMessage_Response_202"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","description":"Why the message is reported, from a closed list of reasons."},"detail":{"type":"string"}},"required":["reason"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/{messageId}/status":{"get":{"operationId":"chat_getMessageStatus","summary":"Get a message's status","description":"Returns the real status of one message: sent, delivered, read and purchased.\n\n**Receipt**\n\n`receipt` is set on the creator's messages and is null on the fan's:\n\n- `sent` — the message is stored.\n- `delivered` — the fan's app confirmed delivery. EVVA publishing the message in realtime, or a call from an\n  application, never counts as delivery.\n- `read` — the fan's read position has reached the message, subject to the fan's read-receipt setting.\n\n**Purchase**\n\n`paid.purchased` says whether a fan paid the PPV unlock. It is set only with `read:revenue`, and is `null`\notherwise.\n\nA message that is not in this conversation, or was withdrawn, answers `404`.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"messageId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageStatus"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/after":{"get":{"operationId":"chat_listMessagesAfter","summary":"List newer messages","description":"Lists the messages newer than a cursor, oldest first, to read a conversation's history forward.\n\n`newer` is the cursor for the next page; it is null once you reach the present. Each message's `tip` is always\n`null`. See [pagination](/conventions/pagination).\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"cursor","in":"query","description":"Where to start: the `nextCursor` of a page from\n`GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages`, the `newer` of\n`GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/window`, or the `newer` of a previous\npage of this operation.","required":true,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The forward page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageForwardPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/search":{"get":{"operationId":"chat_searchConversationMessages","summary":"Search a conversation's messages","description":"Searches the text of one conversation and returns the matching messages, newest first.\n\nOpen a match in context with\n`GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/window`. Results come in pages\n([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"q","in":"query","description":"The text to search for.","required":true,"schema":{"type":"string","minLength":2,"maxLength":200}},{"name":"before","in":"query","description":"The `nextCursor` of the previous page. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Matching messages, newest first.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageSearchPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/window":{"get":{"operationId":"chat_getMessageWindow","summary":"Get messages around a message","description":"Returns one window of messages centred on an anchor message.\n\n**Cursors**\n\n`older` is a `before` cursor for `GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages`,\nand `newer` is a `cursor` for\n`GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/after`.\n\n**Unknown anchors**\n\nAn anchor that cannot be resolved (withdrawn, in another conversation, or unknown) returns `anchor: null` with an\nempty page. It is never a `404`, so message ids cannot be probed.\n\nMessages carry the same fields as in the conversation's message history, and each message's `tip` is always\n`null`.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"anchor","in":"query","description":"The message to centre the window on.","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"limit","in":"query","description":"How many messages the window holds. Values above 100 are clamped to 100.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The window.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageWindow"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/mute":{"put":{"operationId":"chat_muteConversationFan","summary":"Mute a conversation's fan","description":"Mutes the conversation's fan for the creator.\n\nMuting affects only the creator's attention, never delivery, and the fan is never told. The response names the fan\nby your application's own pairwise `buyerRef`, not the CRM `fanRef` ([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The stored labels.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanLabel"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_unmuteConversationFan","summary":"Unmute a conversation's fan","description":"Unmutes the conversation's fan for the creator.\n\nThe response names the fan by your application's own pairwise `buyerRef`, not the CRM `fanRef`\n([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The stored labels.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanLabel"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/nickname":{"put":{"operationId":"chat_setConversationNickname","summary":"Set a fan's nickname","description":"Sets or clears the creator's private nickname for the conversation's fan.\n\nThe response names the fan by your application's own pairwise `buyerRef`, not the CRM `fanRef`\n([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The stored value.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanLabel"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"nickname":{"type":["string","null"],"description":"The creator's private nickname for the fan. EVVA normalises it to NFC and trims it; an empty value clears it."}}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/pin":{"put":{"operationId":"chat_pinMessage","summary":"Pin a message","description":"Pins one message in the conversation, replacing any message pinned before.\n\nThe fan sees the pin too.\n\n**Conversation leases**\n\nYour application's pin is coordinated like its send ([conversation leases](/conversation-leases)). Send the\n`fencingToken` in the body. EVVA decides in the same transaction as the pin, so a takeover and the pin are\nalways ordered.\n\n- While a lease is live, only your application's own lease admits the pin, with its current `fencingToken`. Under a\n  lease held by a person on the agency's team or by another application, or without the token, it is refused with\n  `409 LEASE_HELD` and `Retry-After` set to the lease's remaining time.\n- A `fencingToken` that is not your lease's current one is refused with `409 STALE_FENCING_TOKEN`. Once the lease is\n  released or has expired, send no token: an old one is refused the same way.\n- After a person on the agency's team replies in the conversation, the pin is refused with `409 AUTOMATION_PAUSED`\n  for the agency's pause window, with `Retry-After`. While a handoff to a person has been taken up, it is refused with\n  `409 AUTOMATION_PAUSED` and no `Retry-After`, until a person hands the conversation back. The creator's own replies\n  do not pause it.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — `messageRef` is missing, or the `fencingToken` is malformed.\n- `404 NOT_FOUND` — the message is not in this conversation.\n- `409 LEASE_HELD` — a lease held by someone else is live, or you sent no `fencingToken` while a lease is live.\n  `Retry-After` gives the lease's remaining time.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` is not your lease's current one.\n- `409 AUTOMATION_PAUSED` — a person on the agency's team is handling the conversation. See **Conversation leases**.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Pinned. Pinning the message that is already pinned answers `204` again.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messageRef":{"type":"string","minLength":1,"description":"The message to pin."},"fencingToken":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsConversationIdPinPutRequestBodyContentApplicationJsonSchemaFencingToken","description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive; send none when no lease is live."}},"required":["messageRef"]}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_unpinMessage","summary":"Unpin a message","description":"Unpins the conversation's pinned message.\n\nThe fan sees the change too.\n\n**Conversation leases**\n\nYour application's unpin is coordinated like its send ([conversation leases](/conversation-leases)). Send the\n`fencingToken` as a query parameter. EVVA decides in the same transaction as the unpin, so a takeover and the unpin are\nalways ordered.\n\n- While a lease is live, only your application's own lease admits the unpin, with its current `fencingToken`. Under a\n  lease held by a person on the agency's team or by another application, or without the token, it is refused with\n  `409 LEASE_HELD` and `Retry-After` set to the lease's remaining time.\n- A `fencingToken` that is not your lease's current one is refused with `409 STALE_FENCING_TOKEN`. Once the lease is\n  released or has expired, send no token: an old one is refused the same way.\n- After a person on the agency's team replies in the conversation, the unpin is refused with `409 AUTOMATION_PAUSED`\n  for the agency's pause window, with `Retry-After`. While a handoff to a person has been taken up, it is refused with\n  `409 AUTOMATION_PAUSED` and no `Retry-After`, until a person hands the conversation back. The creator's own replies\n  do not pause it.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — the `fencingToken` is malformed.\n- `409 LEASE_HELD` — a lease held by someone else is live, or you sent no `fencingToken` while a lease is live.\n  `Retry-After` gives the lease's remaining time.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` is not your lease's current one.\n- `409 AUTOMATION_PAUSED` — a person on the agency's team is handling the conversation. See **Conversation leases**.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"fencingToken","in":"query","description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive; send none when no lease is live.","required":false,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,15}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Unpinned. The call is idempotent.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/snooze":{"put":{"operationId":"chat_snoozeConversation","summary":"Snooze a conversation","description":"Snoozes a conversation until a time in the future.\n\nA snooze changes where the conversation ranks; it never hides the conversation. The response names the fan by your\napplication's own pairwise `buyerRef`, not the CRM `fanRef` ([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's facets for this fan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationFanFacets"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"until":{"type":"string","format":"date-time","description":"When the snooze ends. Must be in the future."}},"required":["until"]}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_unsnoozeConversation","summary":"Cancel a conversation's snooze","description":"Clears a conversation's snooze.\n\nThe response names the fan by your application's own pairwise `buyerRef`, not the CRM `fanRef`\n([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's facets for this fan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationFanFacets"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/triage/{mark}":{"put":{"operationId":"chat_setConversationTriageMark","summary":"Set a triage mark","description":"Sets a triage mark (`PIN`, `VIP` or `FLAG`) on the conversation's fan. The fan is never told.\n\nThe response names the fan by your application's own pairwise `buyerRef`, not the CRM `fanRef`\n([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"mark","in":"path","description":"`PIN`, `VIP` or `FLAG` (case-insensitive); anything else is 404.","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's facets for this fan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationFanFacets"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_clearConversationTriageMark","summary":"Remove a triage mark","description":"Removes a triage mark from the conversation's fan.\n\nThe response names the fan by your application's own pairwise `buyerRef`, not the CRM `fanRef`\n([buyer pseudonyms](/buyer-pseudonyms)).\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"mark","in":"path","description":"`PIN`, `VIP` or `FLAG` (case-insensitive); anything else is 404.","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's facets for this fan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationFanFacets"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/pinned":{"get":{"operationId":"chat_listPinnedConversations","summary":"List pinned conversations","description":"Lists the ids of the creator's pinned conversations.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_listPinnedConversations_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/presence":{"get":{"operationId":"chat_listConversationPresence","summary":"Get fan presence","description":"Returns the fans' presence for a set of the creator's conversations, keyed by conversation id.\n\nThis is the fans' presence as the creator sees it, never the creator's own. The call needs `read:presence` as well\nas `read:messages`, and a creator's default consent does not include `read:presence`\n([scopes and grants](/authentication/scopes)).\n\nYou send conversation ids and receive conversation ids: the response carries no buyer reference.\n\n**Required scopes:** `read:messages`, `read:presence`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationIds","in":"query","description":"Comma-separated conversation ids, at most 50. A conversation missing from the response means its presence is not\nknown, never that the fan is `OFFLINE`.","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Presence keyed by conversation id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_listConversationPresence_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/triage":{"get":{"operationId":"chat_getConversationTriage","summary":"List triage marks","description":"Lists the creator's triage marks (pin, VIP, needs-reply flag and snooze) for a set of conversations.\n\nConversations with no marks are left out of the response.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"ids","in":"query","description":"Comma-separated conversation ids, at most 200. A conversation with no marks is left out of the response.","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Marks for the conversations that have any.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_getConversationTriage_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/unread":{"get":{"operationId":"chat_getUnreadCount","summary":"Get the unread count","description":"Returns the creator's total of unread messages and the number of conversations that hold them.\n\nOnly conversations where the creator is on the creator side are counted.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The number of unread messages and the number of conversations that hold them.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_getUnreadCount_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/block":{"get":{"operationId":"chat_getFanBlock","summary":"Get a fan's block state","description":"Returns the creator's account-level block state for a fan.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef` for the fan\n([buyer pseudonyms](/buyer-pseudonyms)). It is never the creator-scoped CRM `fanRef`, an account id, an e-mail or\na `profileSlug`. A reference that does not resolve for your application and this creator answers\n`404 NOT_FOUND` \"Buyer not found\", whatever the reason: malformed, never given to your application, or another\napplication's or another creator's.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Block state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockState"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"chat_blockFan","summary":"Block a fan","description":"Blocks a fan on behalf of the creator, without needing a conversation with them.\n\nThis is the same block record as one the creator places.\n\n**Naming the fan**\n\nName the fan only by your application's pairwise pseudonym: the `buyer_…` value your reads carry as `buyerRef`\n([buyer pseudonyms](/buyer-pseudonyms)). A reference that is not this creator's fan answers `404`, and so does a\nCRM `fanRef`, an account id, or another application's or another creator's pseudonym.\n\n**Access**\n\nThe call needs `write:blocks`, which a creator's default consent does not include\n([scopes and grants](/authentication/scopes)). The agency's action policy then decides: the block runs, or you\nreceive `202 APPROVAL_REQUIRED` and re-send with `Partner-Approval-Id` once a person approves\n([action approval](/approvals)).\n\n**Required scopes:** `write:blocks`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Blocked. Also returned when the block was already in place.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockChange"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_unblockFan","summary":"Unblock a fan","description":"Lifts the creator's block of a fan.\n\n**Naming the fan**\n\nName the fan only by your application's pairwise pseudonym: the `buyer_…` value your reads carry as `buyerRef`\n([buyer pseudonyms](/buyer-pseudonyms)). A CRM `fanRef`, an account id, or another application's or another\ncreator's pseudonym answers the same `404` as an unknown fan.\n\n**Access**\n\nThe call needs `write:blocks`, which a creator's default consent does not include\n([scopes and grants](/authentication/scopes)). The agency's action policy then decides: the unblock runs, or you\nreceive `202 APPROVAL_REQUIRED` and re-send with `Partner-Approval-Id` once a person approves\n([action approval](/approvals)).\n\n**Required scopes:** `write:blocks`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Unblocked. Also returned when there was no block to lift.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockChange"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/conversation":{"post":{"operationId":"chat_openFanConversation","summary":"Open a conversation with a fan","description":"Opens the creator's conversation with a fan, or returns it if it already exists.\n\nThe first message you send there meets the same delivery policy as any other send: blocks, the fan's mute and the\nfan's preferences.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef` for the fan\n([buyer pseudonyms](/buyer-pseudonyms)). It is never the creator-scoped CRM `fanRef`, an account id, an e-mail or\na `profileSlug`. A reference that is not this creator's fan, or does not resolve for your application, answers\n`404 NOT_FOUND` \"Buyer not found\", whatever the reason: malformed, never given to your application, or another\napplication's or another creator's.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_openFanConversation_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/provider-assets/imports":{"post":{"operationId":"chat_importProviderAsset","summary":"Import a GIF or sticker","description":"Imports one chosen GIF or sticker into the creator's account as a media asset.\n\n**Sending it**\n\nBecause the asset belongs to the creator's account, you send it like any other media: pass\n`attachments: [mediaAssetId]` to `POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages`\nonce the asset's media status (`GET /partner/v1/accounts/{creatorId}/media/assets/status`) reports it ready. A\nmessage may carry the media alone, without text.\n\n**Idempotency**\n\nImporting the same asset again is how you check on it: `200` with `imported` once it is done, `202` with\n`in_progress` while it runs.\n\n**Errors**\n\n- `422 IMPORT_FAILED` — the import failed.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Imported. The asset must still become ready before you can attach it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAssetImport"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Well-formed, but the grant does not allow it: `SCOPE_NOT_ALLOWED`, `CONSENT_SCOPE_MISSING` or `CREATOR_NOT_LINKED` (`details` names what is missing).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string"},"providerAssetId":{"type":"string"}},"required":["provider","providerAssetId"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/provider-assets/search":{"get":{"operationId":"chat_searchProviderAssets","summary":"Search GIFs or stickers","description":"Searches a provider's GIFs or stickers for the message composer.\n\n`previewUrl` is for showing a picker only: never store it, and EVVA never accepts it back. The creator's own rate\nlimits apply, counted per partner session.\n\n**Errors**\n\n- `404` — GIF and sticker search is switched off.\n- `502 PROVIDER_UNAVAILABLE` — the provider failed. Nothing about the failure is disclosed.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"provider","in":"query","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":256}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":30}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderAssetSearchPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"`PROVIDER_UNAVAILABLE`: the provider failed. Nothing about the failure is disclosed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/message-templates":{"get":{"operationId":"chat_listMessageTemplates","summary":"List saved replies","description":"Lists the creator's saved replies, newest first.\n\n**Required scopes:** `read:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's saved replies. `{items: []}` means none are saved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat_listMessageTemplates_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"chat_createMessageTemplate","summary":"Create a saved reply","description":"Saves a reply the creator can reuse.\n\nThe same limits and text rules apply as when the creator saves a reply.\n\n**Priced replies**\n\nA reply with `unlockPrice` must include at least one file, and its price is checked like this:\n\n1. Your application's effective access must cover `write:paid_messages`\n   ([scopes and grants](/authentication/scopes)). Otherwise the reply is refused and nothing is saved.\n2. The request must carry an `Idempotency-Key`.\n3. It then goes through [action approval](/approvals) like a PPV send, with the price as the amount. Within the\n   agency's own automatic limits the reply is saved. Otherwise you receive `202 APPROVAL_REQUIRED`: once a person\n   approves, re-send the same request with `Partner-Approval-Id`.\n\nA free reply needs neither the scope nor approval.\n\n**Idempotency**\n\nWith an `Idempotency-Key`, the rules of a message send apply, in your application's own key space\n([idempotency](/conventions/idempotency)). The same key with the same reply returns `200` with the stored template.\n\n**Errors**\n\n- `400 IDEMPOTENCY_KEY_REQUIRED` — a priced reply without an `Idempotency-Key`. Nothing is saved.\n- `400 INVALID_REQUEST` — for example a priced reply with no file (`details.unlockPrice`).\n- `403 PRICE_NOT_PERMITTED` — a priced reply, and your application's effective access lacks `write:paid_messages`.\n  `details.requiredScope` is `write:paid_messages` and `details.reason` is `CONSENT`. Nothing is saved.\n- `403 ACTION_DENIED_BY_POLICY` — the agency's policy does not allow your application to price a reply.\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used with a different reply.\n- `409 TEMPLATE_LIMIT_REACHED` — the creator has reached the maximum number of saved replies.\n\n**Required scopes:** `write:messages`.\n\n**Approval:** setting or changing `unlockPrice` runs through [action approval](/approvals).","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for the send; blank means no key. Otherwise 1..128 characters of `[A-Za-z0-9_-]`, or `400 INVALID_REQUEST` before anything is written. The same key with the same message answers `200` with the stored message; with a different message it is `409 IDEMPOTENCY_KEY_REUSED` (formerly `CONFLICT`). The key is scoped to the sender, your application, and never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key` and the same reply: the stored reply.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageTemplateEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageTemplateWrite"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/message-templates/{templateRef}":{"put":{"operationId":"chat_updateMessageTemplate","summary":"Replace a saved reply","description":"Replaces a saved reply as a whole. Its `useCount` stays unchanged.\n\nAn edit that sets or changes the price (`unlockPrice`) is conditional, as when you create a priced reply with\n`POST /partner/v1/accounts/{creatorId}/message-templates`: it needs `write:paid_messages` and goes through\n[action approval](/approvals). An edit of the words, or one that keeps or removes the price, needs neither.\n\n**Required scopes:** `write:messages`.\n\n**Approval:** setting or changing `unlockPrice` runs through [action approval](/approvals).","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"templateRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request. It is required when the request sets or changes one of the operation's `conditionalFields`: without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` and nothing is done. The same key re-sent with its `Partner-Approval-Id` is that request again; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Saved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageTemplateEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageTemplateWrite"}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"chat_deleteMessageTemplate","summary":"Delete a saved reply","description":"Deletes one of the creator's saved replies.\n\n**Required scopes:** `write:messages`.","tags":["chat"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"templateRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/paid-messages":{"post":{"operationId":"paidMessages_sendPaidMessage","summary":"Send a pay-per-view message","description":"Sends one priced message in the conversation as the creator, under the same rules as the creator's own composer.\n\n**Request**\n\n- The same field allowlist as the creator's composer: unknown fields are refused with `400`.\n- The price is in USD, from `100` to `1000000` minor units.\n- At least one file, not all of them free samples, and every file the creator's own.\n- The response carries the quote for the price sent. It is informational: the order economics frozen at unlock are authoritative.\n\nThe send follows the message send limits of a plain send and the recipient's delivery policy. No creator account restriction applies: the creator's own one-to-one send has none (`DIRECT_MESSAGING` is not a restricted action).\n\n**Authorship**\n\nYour application declares `authorship` within the creator's consent (see [message authorship](/message-authorship)). `AI_AUTOMATED` needs `write:messages:automated`, and the creator's account must allow `BULK_MESSAGING`. An operator's message (`HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT`, with `operatorRef`) needs `write:messages:operator`. EVVA decides the source, and the fan sees an ordinary message from the creator.\n\n**Coordination**\n\nExactly as for a plain send (`POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages`), and decided in the same step as the write. The body may carry `expectedLastMessageId`, `fencingToken`, `takeover` and `automationRunId`; `automationRunId` is only recorded for the agency's audit trail. See [conversation leases](/conversation-leases).\n\n**Idempotency**\n\nThe `Idempotency-Key` header is required, and it is checked before anything is asked: without it, `400`. The same key with the same terms returns `200` with the same `messageRef`. See [idempotency](/conventions/idempotency).\n\n**Agency policy**\n\nAn application's priced send needs the agency's explicit grant and its [action policy](/approvals), on top of `write:paid_messages` and `write:messages`:\n\n- Under `AUTO_WITHIN_LIMITS`, it is sent within the agency's own limits per message and per day. EVVA sets no ceiling of its own; the limit is metered at the level of the agency's rule, and the amount counted is the price.\n- Otherwise you get `202 APPROVAL_REQUIRED`. Re-send with the `Partner-Approval-Id` header. The approval is claimed for the request's `Idempotency-Key` and is final once the send succeeds: the same key replays it.\n\n**Errors**\n\n- `400` — an unknown field, or no `Idempotency-Key`.\n- `403 APPROVAL_MISMATCH` — the approval was given for another price, file set or conversation.\n- `404` — a file belongs to another account, or its id is unknown.\n- `409 MEDIA_NOT_READY` — a file is not ready.\n- `409 PAID_PREVIEW_UNAVAILABLE` — a file has no locked preview.\n- `409 ASSET_ALREADY_DELIVERED` — a file was already given to this fan for free.\n- `409 ASSET_REACHABLE_ELSEWHERE` — the lifetime refusal: a view-once or expiring send includes a file this fan can already open.\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was used with another price, body or attachment set.\n- `409 APPROVAL_CONSUMED` — the approval was already claimed by another `Idempotency-Key`.\n- `409 LEASE_HELD` (with `Retry-After`), `409 STALE_FENCING_TOKEN`, `409 AUTOMATION_PAUSED`, `409 CONVERSATION_ADVANCED` — coordination refusals, as for a plain send.\n- `429 TOO_MANY_MESSAGES` — a send limit is full, with `Retry-After` and `details.level`.\n- `503` — the send limits cannot be checked.\n\n**Required scopes:** `write:paid_messages`, `write:messages`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["paidMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on the PPV send: 1..128 characters of `[A-Za-z0-9_-]`. Missing, blank or malformed is `400 INVALID_REQUEST`, before anything is read or written. The same key with the same terms answers `200` with the same `messageRef`; with other terms it is `409 IDEMPOTENCY_KEY_REUSED`. The key is stored in your application's own key space and never echoed.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Idempotent replay — the message this key already sent; nothing new was written.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidMessageSendResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the fan does not accept this message: `RECIPIENT_NOT_ACCEPTING_MESSAGES`, `CREATOR_ACCEPTS_FOLLOWERS_ONLY`, `CREATOR_ACCEPTS_FOLLOWERS_OR_SUBSCRIBERS`, `CREATOR_ACCEPTS_FANS_WHO_GIFTED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPaidMessageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/paid-messages/quote":{"post":{"operationId":"paidMessages_quotePaidMessage","summary":"Quote a price in a conversation","description":"Returns the buyer price, platform fee and creator net of a pay-per-view price in this conversation, for each attribution class.\n\n**A read only**\n\nThe quote writes nothing, opens no checkout session and spends nothing from the send limits. It takes the send's own fields (`PaidMessageQuoteRequest`: only `price` is required, `attachments` is optional) and the send's price bounds. Unknown fields are refused with `400`.\n\n**What it returns**\n\n- The normalized price.\n- `alreadySold`: the non-sample attachment ids this fan already holds an unlock for. It is a warning, never a refusal.\n- `economics`: the buyer price, the platform fee and the creator net for each attribution class the effective economic policy declares, computed by the platform's own allocator under the named policy version. `economics` is null when no policy is in effect.\n\nThe quote is informational (`authoritative: false`). The class is decided when the fan buys, from the buyer's own evidence, and the economics frozen then are the authority.\n\n**Consent for money facts**\n\n`economics` is answered only when your effective access also covers `read:revenue`. `alreadySold` is answered only when it covers `read:revenue` and `read:messages`. Your effective access is your token, your allowed scopes, your grant and the creator's consent. Otherwise each is null.\n\n**The send keeps its own rule**\n\nA view-once or expiring priced send over a file this fan can already open, a purchase included, is refused with `409 ASSET_REACHABLE_ELSEWHERE`, naming the assets. This is unavoidable: the send must protect what the fan bought.\n\n**Required scopes:** `write:paid_messages`.","tags":["paidMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The quote.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidMessageQuoteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidMessageQuoteRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/paid-messages/quote":{"post":{"operationId":"paidMessages_quoteCreatorPaidPrice","summary":"Quote a price without a conversation","description":"Returns the same quote as `POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/paid-messages/quote`, for the creator without a conversation.\n\n`alreadySold` is null, since there is no fan to ask about. `economics` is null unless your effective access to the creator covers `read:revenue`.\n\n**Required scopes:** `write:paid_messages`.","tags":["paidMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The quote.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidMessageQuoteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidMessageQuoteRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/bulk/messages":{"post":{"operationId":"bulk_sendMessages","summary":"Send messages in bulk","description":"Sends up to 100 messages in one request, as one or more creators, and returns one result per item.\n\nEvery item is a single send in every respect: it follows all the rules of `POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages`. Only an application token can call this operation. The answer is `207` with one result per item, in request order.\n\n**Access and authorship**\n\nEach item is authorised on its own: its creator goes through every access check of a single send, including the `write:messages` scope. Each item must declare `authorship` (see [message authorship](/message-authorship)). `AI_AUTOMATED` needs `write:messages:automated` and `BULK_MESSAGING`; an operator's message needs `write:messages:operator` and `operatorRef`. A refusal is that item's result (`400 AUTHORSHIP_REQUIRED`, `403 AUTHORSHIP_NOT_PERMITTED`, …). The access checks and the authorship are decided once per distinct creator (and declaration) in a batch. Each item is also recorded on its own in the agency's audit trail.\n\n**Limits**\n\nYour application's request limit charges the batch one unit per item before it runs. Over the window, the whole batch is refused with `429` and `Retry-After`, and nothing is sent. Each item also spends the message send limits like a single send, so an item can fail alone with `429 TOO_MANY_MESSAGES`. See [rate limits](/authentication/rate-limits).\n\n**Idempotency**\n\nThe batch `Idempotency-Key` is required. Item `i` is sent with the derived key `base64url(SHA-256(\"evva.bulk.messages.v1:\" + batchKey + \":\" + i))`.\n\n- Retrying the batch with the same key replays each item already sent (`200`) and sends only the rest.\n- A different item at the same index fails with `409 IDEMPOTENCY_KEY_REUSED` for that item.\n- You can also retry one item alone through the single send, with its derived key.\n\nThere is no exactly-once promise. See [idempotency](/conventions/idempotency).\n\n**View-once and expiring items**\n\nAn item that sets a lifetime (`viewOnce` or `expiresAt`) needs `write:messages:view_once` and goes through [action approval](/approvals) per item. The agency's policy may refuse it (`403 ACTION_DENIED_BY_POLICY`) or, under `AUTO_WITHIN_LIMITS`, send it within its own limits. Otherwise the item's result is `202 APPROVAL_REQUIRED` (`error.details.approvalId`) and nothing is sent for it: re-send that item alone through the single send, with `Partner-Approval-Id`.\n\n**Errors**\n\nThe request as a whole is refused only for what no item could change:\n\n- `400` — no valid batch key, or not 1 to 100 items.\n- `403` — the caller is not an application.\n- `403 INSUFFICIENT_SCOPE` — the token lacks the send's scopes.\n- `413` — the body is over the API's 100 KB JSON limit.\n- `500`, `503` — an outage mid-batch. Retry with the same key.\n\n**Required scopes:** `write:messages`.","tags":["bulk"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"The key for the whole batch, required because a batch retried without one would send every message twice. 1..128 characters of `[A-Za-z0-9_-]`, otherwise `400 INVALID_REQUEST` before anything is sent. Item `i` is sent under its own key, `base64url(SHA-256(\"evva.bulk.messages.v1:\" + key + \":\" + i))` (43 characters), in your application's key space; see `bulkSendMessages`. The key is never echoed.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}}],"responses":{"207":{"description":"One result per item, in request order (each item succeeds or fails on its own).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMessagesResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed with this token: the token lacks a scope (`INSUFFICIENT_SCOPE`), the application is not active (`APPLICATION_NOT_ACTIVE`), or its agency is suspended (`AGENCY_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`INVALID_REQUEST` — the body is over the API's JSON limit (100 KB); send smaller batches.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMessagesRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/handoff":{"post":{"operationId":"conversationLeases_handoffConversation","summary":"Request a handoff to a person","description":"Hands the conversation from your application to a person, releasing your lease and holding automation off until a person hands it back.\n\n**What happens**\n\n- Applications hand to a person only: `to` is `HUMAN`, the default. `to: APPLICATION` is refused with `403 HANDOFF_NOT_PERMITTED`.\n- Your application's lease is released. A `fencingToken` is optional; if you send one, it must be current.\n- Automation stays off in the conversation, for applications and the creator's own automations, until a person hands the conversation back.\n- EVVA records `handoff.requested`. The first person to act in the conversation completes the handoff (`handoff.completed`).\n- Asking again while the conversation already waits for a person changes nothing and records no second event.\n- `reason` is a machine code; no free text is accepted.\n\nSee [conversation leases](/conversation-leases).\n\n**When a person hands the conversation to your application**\n\nA person on the agency's team can hand the conversation to your application. That ends the hold and any reply pause. The conversation is then reserved for your application until it acquires the lease or sends a message (`handoff.completed`).\n\n**Errors**\n\n- `403 HANDOFF_NOT_PERMITTED` — `to` is `APPLICATION`.\n- `409 LEASE_HELD` — someone else holds a live lease, or a person reserved the conversation for another application. `Retry-After` is set when known.\n- `409 STALE_FENCING_TOKEN` — the `fencingToken` you sent is not the current one.\n\n**Required scopes:** `write:messages`.","tags":["conversationLeases"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Handed off.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"`HANDOFF_NOT_PERMITTED` — an application tried to hand the conversation to an application; only a person can do that. Or one of the creator-access refusals.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`LEASE_HELD` (Retry-After when known), `STALE_FENCING_TOKEN`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/{conversationId}/lease":{"get":{"operationId":"conversationLeases_getConversationLease","summary":"Get the coordination state","description":"Returns who handles the conversation now: the lease, the automation pause and any pending handoff.\n\nThe answer is relative to your agency. A holder or a handoff of another agency is never named: `holder` says only its kind. See [conversation leases](/conversation-leases).\n\n**Required scopes:** `read:messages`.","tags":["conversationLeases"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The conversation's coordination state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationCoordination"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"conversationLeases_manageConversationLease","summary":"Acquire or release a lease","description":"Acquires, renews or releases your application's lease on the conversation, depending on `action`.\n\n**Actions**\n\n- `acquire` — every acquisition generates a new fencing token for the conversation: a decimal string, never reused, so a holder that lost its lease can never send under it again. `ttlSeconds` is clamped to 15–300 seconds (default 60).\n- `renew` — needs the current token of a live lease, otherwise `409 STALE_FENCING_TOKEN`; while a person's reply pauses automation, `409 AUTOMATION_PAUSED`.\n- `release` — idempotent under the lease's token.\n\n**Who can hold a lease**\n\nBesides `write:messages`, your application needs `write:messages:automated` or `write:messages:operator`: the lease is held by your application's automation or by its live CRM operator. `takeover` is refused, because taking a conversation over is a person's action alone. See [conversation leases](/conversation-leases).\n\n**Events**\n\nEVVA sends `lease.acquired`, and `lease.lost` to an application whose lease a takeover or a lapse replaced. A person's reply in the conversation ends your application's lease (`lease.lost` with reason `HUMAN_REPLIED`).\n\n**Errors**\n\n- `409 LEASE_HELD` — the conversation is already leased. `Retry-After` is set when the other lease's end is known.\n- `409 STALE_FENCING_TOKEN` — `renew` without the current token of a live lease.\n- `409 AUTOMATION_PAUSED` — `acquire` or `renew` while a person's reply pauses automation, with `Retry-After` (the agency's window: 5 minutes by default, 1 to 60 minutes), or after a handoff to a person.\n\n**Required scopes:** `write:messages`.","tags":["conversationLeases"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The lease after an acquire or a renew, or the release.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation_leases_manageConversationLease_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`LEASE_HELD` — the conversation is already leased; `Retry-After` is set when the other lease's end is known. `STALE_FENCING_TOKEN` — the token is not the current one of a live lease. `AUTOMATION_PAUSED` — automation is paused in the conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaseRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/mass-message-insights":{"get":{"operationId":"massMessages_getMassMessageInsights","summary":"Get mass message insights","description":"Returns how many of the creator's mass messages went out over a window, to how many recipients, and how many were opened.\n\n**How opens are counted**\n\n\"Opened\" means the recipient's read watermark in the conversation has passed the message. It is not a view count.\nRecipients whose read state may not be shown to the creator are in neither `opened` nor `tracked`, so\n`openRate` = opened ÷ tracked.\n\nThese are the same counts the creator sees. No buyer is named.\n\n**Required scopes:** `read:mass_messages`.","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"range","in":"query","description":"The window to count over.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMassMessageInsightsGetParametersRange","default":"30d"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Opens over the window.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageInsights"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/mass-messages":{"get":{"operationId":"massMessages_listMassMessages","summary":"List mass messages","description":"Lists the creator's mass messages, one page at a time ([pagination](/conventions/pagination)).\n\nEach row is the creator's own campaign view: `unlock` is the pay-per-view price, and the row also carries\n`skippedCount` and `earnings`.\n\n**Earnings**\n\n`earnings` is `null` unless the deployment measures it and your application's effective scopes, which include the\ncreator's consent, cover `read:revenue`.\n\n**Privacy**\n\nAudiences name segment rules and fan list ids, never a buyer.\n\n**Required scopes:** `read:mass_messages`.","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of mass messages.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessagePage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"massMessages_createMassMessage","summary":"Create a mass message draft","description":"Creates a draft mass message for the creator; nothing is sent until you queue it.\n\nTo send the draft, queue it with `POST /partner/v1/accounts/{creatorId}/mass-messages/{mid}/queue`.\n\n**Audience**\n\nThe audience (`segmentCriteria`) is optional on a draft and required to queue. To address one of the creator's own\nfan lists, use `FAN_LIST` with the list's `cl-…` id.\n\nSome audiences are buyer data. `SPENDERS`, and a catalogue list derived from spend, need `read:subscribers:spend`.\n`PAID_SUBSCRIBERS` needs `read:buyer_context`.\n\n**Authorship**\n\nThe body must declare `authorship`; see [message authorship](/message-authorship).\n\n- `AI_AUTOMATED` needs `write:messages:automated`, and the creator's account must permit bulk messaging\n  (`BULK_MESSAGING`).\n- `HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT` is for a live operator of the agency's CRM. It needs\n  `write:messages:operator` and an `operatorRef`.\n\nEVVA records the authorship internally for the agency, and the agency's audit trail adds the `operatorRef`. Fans\nreceive the campaign exactly as the creator's own broadcast, with no AI or partner marker.\n\n**Pay-per-view**\n\n`unlockPrice` (alias `price`) and `blurPreview` make the broadcast pay-per-view. A price must stay within the\ncreator's own bounds and needs at least one file. It also needs `write:paid_messages` in your application's\neffective scopes for the creator: your token, your application's grant and the creator's consent must all carry\nit. Otherwise, or when EVVA cannot confirm your access, the price is refused and nothing is written.\n\nA draft's price sells nothing and does not count against the agency's limits. A paid broadcast is counted per\nrecipient when you queue it; see [action approval](/approvals).\n\n**Idempotency**\n\nThe `Idempotency-Key` header is optional and lives in your application's own key space. A retry with the same key\nreturns `200` with the draft the first request created and writes nothing.\n\n**Errors**\n\n- `400 AUTHORSHIP_REQUIRED` — the body declares no `authorship`.\n- `403 AUTHORSHIP_NOT_PERMITTED` — the creator's consent does not cover the declared authorship.\n- `403 INSUFFICIENT_SCOPE` — the audience is buyer data your application may not read. `details.requiredScope`\n  and `details.segmentType` name it. Nothing is written.\n- `403 PRICE_NOT_PERMITTED` — a price without `write:paid_messages` in your effective scopes, or EVVA could not\n  confirm them. `details.reason` is `CONSENT` and `details.requiredScope` is `write:paid_messages`. Nothing is\n  written.\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different request.\n- `503 TEMPORARILY_UNAVAILABLE` — EVVA could not check your access to a `PAID_SUBSCRIBERS` audience. Retry after\n  `Retry-After`.\n\n**Required scopes:** `write:mass_messages`.\n\n**Approval:** setting or changing `price`, `unlockPrice` runs through [action approval](/approvals).","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for creating, queueing and cancelling a mass message. On create, the same key with the same draft answers `200` with the stored draft, and a different draft is `409 IDEMPOTENCY_KEY_REUSED`. On queue and cancel, a campaign already in the target state answers `200` with its state instead of `409`. The key is never stored raw and never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`. The answer is the draft the first request created; nothing new is written.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageWriteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or a priced campaign needs a grant covering `write:paid_messages` (`PRICE_NOT_PERMITTED`); nothing is written.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMassMessageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/mass-messages/{mid}":{"get":{"operationId":"massMessages_getMassMessage","summary":"Get a mass message","description":"Returns one of the creator's mass messages.\n\n`earnings` is `null` unless your application's effective scopes cover `read:revenue`.\n\n**Required scopes:** `read:mass_messages`.","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mid","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The campaign, with `earnings` as on the list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"massMessages_updateMassMessage","summary":"Replace an unsent mass message","description":"Replaces a mass message that has not started sending, that is a `DRAFT` or `QUEUED` campaign.\n\n**Request**\n\nThis is a whole replacement, so send every settable field every time. An omitted price makes the campaign free, and\nan unknown field is refused with `400`. The same body sent twice leaves the same campaign, so the call is\nidempotent by nature.\n\nAs on create, the body declares `authorship`; see [message authorship](/message-authorship). The call is not\nblocked by restrictions on the creator's account.\n\n**Price**\n\nA price needs `write:paid_messages` in your application's effective scopes, which include the agency's grant. A\n`DRAFT` may be repriced, because it is counted against the agency's limits only when it is queued. Sending back the\nstored price is allowed.\n\n**Queued campaigns**\n\nA `QUEUED` campaign keeps its audience, its schedule and its price. Its price was approved per recipient at that\nvalue.\n\n**Errors**\n\n- `400` — the body has an unknown field.\n- `403 PRICE_NOT_PERMITTED` — a price without `write:paid_messages`.\n- `409` — the campaign has already started sending.\n- `409 QUEUED_AUDIENCE_LOCKED` — the audience of a queued campaign cannot change.\n- `409 QUEUED_SCHEDULE_LOCKED` — the schedule of a queued campaign cannot change.\n- `409 QUEUED_PRICE_LOCKED` — the price of a queued campaign cannot change.\n\n**Required scopes:** `write:mass_messages`.","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mid","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The rewritten campaign.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageWriteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or a priced campaign needs a grant covering `write:paid_messages` (`PRICE_NOT_PERMITTED`); nothing is written.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMassMessageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/mass-messages/{mid}/cancel":{"post":{"operationId":"massMessages_cancelMassMessage","summary":"Cancel a mass message","description":"Cancels a mass message that has not finished sending.\n\nCancelling is a withdrawal: it needs only `write:mass_messages` and is never blocked by restrictions on the\ncreator's account.\n\n**Idempotency**\n\nWith an `Idempotency-Key`, cancelling a campaign that is already `CANCELLED` returns `200` with its state instead\nof `409`.\n\n**Required scopes:** `write:mass_messages`.","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mid","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for creating, queueing and cancelling a mass message. On create, the same key with the same draft answers `200` with the stored draft, and a different draft is `409 IDEMPOTENCY_KEY_REUSED`. On queue and cancel, a campaign already in the target state answers `200` with its state instead of `409`. The key is never stored raw and never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"Cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/mass-messages/{mid}/opens":{"get":{"operationId":"massMessages_getMassMessageOpens","summary":"Get mass message opens","description":"Returns how many recipients opened one mass message, as counts only.\n\nOpens come from read watermarks, not from a view count. A fan who hid read receipts is in neither number, so divide\n`opened` by `tracked`, never by the delivered count.\n\n**Required scopes:** `read:mass_messages`.","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mid","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The campaign's opens.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageOpens"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/mass-messages/{mid}/queue":{"post":{"operationId":"massMessages_queueMassMessage","summary":"Queue a mass message","description":"Queues a draft mass message for sending to its audience.\n\n**Before it is queued**\n\n- The creator's account must permit bulk messaging (`BULK_MESSAGING`), and the creator's daily cap on mass\n  messages applies.\n- The body declares who presses send: `authorship`, plus `operatorRef` for a live operator. The rules and refusals\n  are the same as when you create the draft; see [message authorship](/message-authorship).\n\nEVVA records internally that your application queued the campaign. Fans receive the creator's broadcast.\n\n**Paid broadcasts**\n\nA draft that carries `unlockPrice` is a paid broadcast, counted per recipient:\n\n1. Your application's effective scopes must cover `write:paid_messages`.\n2. Then [action approval](/approvals) applies. The count is the number of recipients counted at this queue, and the\n   amount is price × recipients.\n3. Within the agency's own `AUTO_WITHIN_LIMITS` rule, the campaign is queued and counted at the level of that\n   rule. Otherwise a person must approve it: you receive `202 APPROVAL_REQUIRED`, then re-send with\n   `Partner-Approval-Id` and an `Idempotency-Key`.\n\nThe approval binds the campaign, price, currency, preview and recipient count. The delivery never reaches more\nrecipients than were counted, and the unused part goes back to the agency's automatic budget once the campaign has\nstopped. A free campaign never needs approval.\n\n**Conversations a person is handling**\n\nA campaign your application queues is not delivered into a conversation a person on the agency's team is handling:\n\n- a team member holds a live lease on it;\n- a team member replied there within the agency's pause window;\n- it was handed to a person, and a person has taken it up.\n\nThat recipient is skipped with the reason `CONVERSATION_HELD` and counted in `skippedCount`. It is never retried.\nThe creator's own campaigns and the campaigns the agency's team queues are delivered as before.\n\n**Idempotency**\n\nWith an `Idempotency-Key`, a campaign that is already `QUEUED`, `SENDING`, `SENT` or `PARTIALLY_FAILED` returns\n`200` with its state instead of `409`. This lets you retry a queue whose answer was lost. Without a key, the answer\nis `409`.\n\n**Errors**\n\n- `403 CREATOR_SUSPENDED` — the creator's account does not permit bulk messaging right now.\n- `403 PRICE_NOT_PERMITTED` — a paid draft without `write:paid_messages`.\n- `409 DAILY_CAP_REACHED` — the creator's daily cap on mass messages is reached.\n- `409` — the draft was repriced between the approval and the queue. It is not queued.\n- `409` — the campaign is already queued or further along, and you sent no `Idempotency-Key`.\n\n**Required scopes:** `write:mass_messages`.\n\n**Approval:** setting or changing `unlockPrice` runs through [action approval](/approvals).","tags":["massMessages"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mid","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for creating, queueing and cancelling a mass message. On create, the same key with the same draft answers `200` with the stored draft, and a different draft is `409 IDEMPOTENCY_KEY_REUSED`. On queue and cancel, a campaign already in the target state answers `200` with its state instead of `409`. The key is never stored raw and never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Queued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassMessageEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks bulk messaging (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueMassMessageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ice-breaker":{"get":{"operationId":"automations_getIceBreaker","summary":"Get the welcome message","description":"Returns the creator's welcome message for new subscribers, or `null` when none is set.\n\n**Required scopes:** `read:ice_breaker`.","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The configuration, or null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IceBreakerEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"automations_upsertIceBreaker","summary":"Set the welcome message","description":"Creates or replaces the creator's welcome message for new subscribers.\n\n**Request**\n\nEvery write replaces the whole configuration. A write without a price makes the welcome message free. A write that\ndoes not set or change the price is idempotent by nature and needs no `Idempotency-Key`.\n\n**Authorship**\n\nThe body must declare `authorship`; see [message authorship](/message-authorship).\n\n- `AI_AUTOMATED` needs `write:messages:automated`.\n- `HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT` needs `write:messages:operator` and an `operatorRef`.\n\n**Switching it on**\n\nA write that switches the welcome message on needs the creator's account to permit bulk messaging\n(`BULK_MESSAGING`). Switching it off never does.\n\n**Price**\n\n`unlockPrice` (alias `price`) is `{minor, currency, blurPreview?, expiresAt?}`. `minor` is a string of minor\nunits, in USD, from `100` to `1000000`, and a priced welcome message needs at least one attachment. When a write\nsets or changes the price:\n\n1. Your application's effective access must cover `write:paid_messages`\n   ([scopes and grants](/authentication/scopes)). Otherwise the write is refused and nothing is written.\n2. The write must carry an `Idempotency-Key`.\n3. It then goes through [action approval](/approvals), with the price as the amount. Within the agency's own\n   automatic limits it is saved. Otherwise you receive `202 APPROVAL_REQUIRED`: once a person approves, re-send the\n   same request with `Partner-Approval-Id`.\n\nThe approval covers the message, its attachments, its delay and the price. Sending back the stored offer unchanged\nis not setting a price: it needs neither the scope nor approval.\n\n**Delivery**\n\nThe welcome message is sent only into a conversation it has just created: a fan's first thread with the creator.\nSo there is no [conversation lease](/conversation-leases), handoff or reply for it to yield to. Fans receive it as\nthe creator's own automated message.\n\n**Errors**\n\n- `400 AUTHORSHIP_REQUIRED` — the body declares no `authorship`.\n- `400 IDEMPOTENCY_KEY_REQUIRED` — the write sets or changes the price without an `Idempotency-Key`. Nothing is\n  written.\n- `403 AUTHORSHIP_NOT_PERMITTED` — the creator's consent does not cover the declared authorship.\n- `403 CREATOR_SUSPENDED` — the write switches the welcome message on while the creator's account does not permit bulk\n  messaging.\n- `403 PRICE_NOT_PERMITTED` — the price was refused and nothing was written. `details.reason` is `CONSENT` when your\n  application's effective access lacks `write:paid_messages`, and `ACTION_APPROVAL_REQUIRED` when the price is not\n  valid (see **Price**), so it could not go through action approval.\n- `403 ACTION_DENIED_BY_POLICY` — the agency's policy does not allow your application to set this price.\n- `403 ENVIRONMENT_MISMATCH` — a [sandbox](/sandbox) application reaches only its sandbox creators.\n\n**Required scopes:** `write:ice_breaker`.\n\n**Approval:** setting or changing `unlockPrice` runs through [action approval](/approvals).","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request. It is required when the request sets or changes one of the operation's `conditionalFields`: without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` and nothing is done. The same key re-sent with its `Partner-Approval-Id` is that request again; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Saved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IceBreakerEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), the creator's account status blocks bulk messaging (`CREATOR_SUSPENDED`), or a price needs a grant covering `write:paid_messages` (`PRICE_NOT_PERMITTED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_NOT_READY` (an attached file is not ready to send yet; nothing was written), an approval for a priced rule that is still pending, expired or already used (`APPROVAL_PENDING`, `APPROVAL_EXPIRED`, `APPROVAL_CONSUMED`), or an Idempotency-Key used for a different action (`IDEMPOTENCY_KEY_REUSED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertIceBreakerRequest"}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"automations_deleteIceBreaker","summary":"Delete the welcome message","description":"Deletes the creator's welcome message.\n\nDeleting is a withdrawal: it needs only `write:ice_breaker` and is never blocked by restrictions on the creator's\naccount. It is idempotent: the answer is `204` whether or not there was a welcome message.\n\n**Required scopes:** `write:ice_breaker`.","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Removed, or there was none.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/message-automations":{"get":{"operationId":"automations_listMessageAutomations","summary":"List message automations","description":"Lists the creator's event-triggered automation rules and their send statistics.\n\n**Required scopes:** `read:automations`.","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Triggers and rules.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageAutomationList"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/message-automations/{trigger}":{"get":{"operationId":"automations_getMessageAutomation","summary":"Get a message automation","description":"Returns the creator's automation rule for one trigger with its send statistics, or `null` when there is none.\n\n**Required scopes:** `read:automations`.","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"trigger","in":"path","description":"An unknown trigger answers 404 NOT_FOUND.","required":true,"schema":{"$ref":"#/components/schemas/MessageAutomationTrigger"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The rule, or null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automations_getMessageAutomation_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"automations_upsertMessageAutomation","summary":"Set a message automation","description":"Creates or replaces the creator's automation rule for one trigger.\n\n**Request**\n\nEvery write replaces the whole rule. A write that does not set or change the price is idempotent by nature and needs\nno `Idempotency-Key`.\n\n**Authorship**\n\nThe body must declare `authorship`; see [message authorship](/message-authorship).\n\n- `AI_AUTOMATED` needs `write:messages:automated`.\n- `HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT` needs `write:messages:operator` and an `operatorRef`.\n\n**Switching it on**\n\nA write that switches the rule on needs the creator's account to permit bulk messaging (`BULK_MESSAGING`).\nSwitching it off never does.\n\n**Price**\n\nThe rule accepts `unlockPrice` (alias `price`) as `{minor, currency}`. `minor` is a string of minor units, in USD,\nfrom `100` to `1000000`, and a priced rule needs at least one attachment. When a write sets or changes the price:\n\n1. Your application's effective access must cover `write:paid_messages`\n   ([scopes and grants](/authentication/scopes)). Otherwise the write is refused and nothing is written.\n2. The write must carry an `Idempotency-Key`.\n3. It then goes through [action approval](/approvals), with the price as the amount. Within the agency's own\n   automatic limits it is saved. Otherwise you receive `202 APPROVAL_REQUIRED`: once a person approves, re-send the\n   same request with `Partner-Approval-Id`.\n\nThe approval covers the trigger, the message, its attachments, the price and `blurPreview`. Sending back the stored\nprice unchanged is not setting a price: it needs neither the scope nor approval.\n\n**Delivery**\n\nThe rule's sends pass the same coordination as the creator's own automation: a\n[conversation lease](/conversation-leases), a handoff or a person's recent reply suppresses them. Fans receive them\nas the creator's own automated message.\n\n**Errors**\n\n- `400 AUTHORSHIP_REQUIRED` — the body declares no `authorship`.\n- `400 IDEMPOTENCY_KEY_REQUIRED` — the write sets or changes the price without an `Idempotency-Key`. Nothing is\n  written.\n- `403 AUTHORSHIP_NOT_PERMITTED` — the creator's consent does not cover the declared authorship.\n- `403 CREATOR_SUSPENDED` — the write switches the rule on while the creator's account does not permit bulk\n  messaging.\n- `403 PRICE_NOT_PERMITTED` — the price was refused and nothing was written. `details.reason` is `CONSENT` when your\n  application's effective access lacks `write:paid_messages`, and `ACTION_APPROVAL_REQUIRED` when the price is not\n  valid (see **Price**), so it could not go through action approval.\n- `403 ACTION_DENIED_BY_POLICY` — the agency's policy does not allow your application to set this price.\n- `403 ENVIRONMENT_MISMATCH` — a [sandbox](/sandbox) application reaches only its sandbox creators.\n\n**Required scopes:** `write:automations`.\n\n**Approval:** setting or changing `unlockPrice` runs through [action approval](/approvals).","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"trigger","in":"path","description":"An unknown trigger answers 404 NOT_FOUND.","required":true,"schema":{"$ref":"#/components/schemas/MessageAutomationTrigger"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request. It is required when the request sets or changes one of the operation's `conditionalFields`: without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` and nothing is done. The same key re-sent with its `Partner-Approval-Id` is that request again; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Saved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automations_upsertMessageAutomation_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), the creator's account status blocks bulk messaging (`CREATOR_SUSPENDED`), or a price needs a grant covering `write:paid_messages` (`PRICE_NOT_PERMITTED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_NOT_READY` (an attached file is not ready to send yet; nothing was written), an approval for a priced rule that is still pending, expired or already used (`APPROVAL_PENDING`, `APPROVAL_EXPIRED`, `APPROVAL_CONSUMED`), or an Idempotency-Key used for a different action (`IDEMPOTENCY_KEY_REUSED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertMessageAutomationRequest"}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"automations_deleteMessageAutomation","summary":"Delete a message automation","description":"Deletes the creator's automation rule for one trigger.\n\nDeleting is a withdrawal: it needs only `write:automations`. The answer is `200` when a rule was deleted and `204`\nwhen there was none.\n\n**Required scopes:** `write:automations`.","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"trigger","in":"path","description":"An unknown trigger answers 404 NOT_FOUND.","required":true,"schema":{"$ref":"#/components/schemas/MessageAutomationTrigger"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Automations_deleteMessageAutomation_Response_200"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/message-automations/{trigger}/history":{"get":{"operationId":"automations_listMessageAutomationHistory","summary":"List automation send history","description":"Lists the last 50 planned and sent automation messages of one trigger.\n\nEach entry has only its send state and times. No buyer is named.\n\n**Required scopes:** `read:automations`.","tags":["automations"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"trigger","in":"path","description":"An unknown trigger answers 404 NOT_FOUND.","required":true,"schema":{"$ref":"#/components/schemas/MessageAutomationTrigger"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"History.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageAutomationHistory"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/conversations/spend":{"get":{"operationId":"fans_listConversationSpend","summary":"List fan spend by conversation","description":"Returns what the fan in each of up to 200 conversations has paid the creator, keyed by conversation.\n\n**The amount**\n\nThe amount is exactly what the creator sees in the inbox: the retained spend of the fan's fully paid orders. It is\nthe same figure as `lifetimeSpendMinor` in the fan directory (`GET /partner/v1/accounts/{creatorId}/fans`).\n\nA missing row means \"not known\", never `0`. For example, the conversation is not this creator's, no spend was read,\nor no order has settled.\n\n**Access**\n\n`read:subscribers:spend` is not in the creator's default consent. Conversations go in and conversations come out:\nthe answer has no buyer reference.\n\n**Required scopes:** `read:subscribers:spend`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"ids","in":"query","description":"Comma-separated conversation ids (at most 200).","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Spend keyed by conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fans_listConversationSpend_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fan-lists":{"get":{"operationId":"fans_listFanLists","summary":"List fan lists","description":"Lists the creator's smart fan lists with their member counts, and the creator's own custom lists.\n\nA smart list derived from spend (`spent-over-50`) is left out of `lists` unless your application's effective access\ncovers `read:subscribers:spend`. When that cannot be evaluated, the answer is `503` with `Retry-After`.\n\n**Required scopes:** `read:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Lists.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanListIndex"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"fans_createFanList","summary":"Create a fan list","description":"Creates an empty custom fan list for the creator.\n\n**Idempotency**\n\nWith an `Idempotency-Key`, the same key and name return `200` with the list the first request created. The same key\nwith a different name, or after that list was deleted (within 24 hours), returns `409 CONFLICT`.\n\n**Errors**\n\n- `409 FAN_LIST_NAME_TAKEN` — the creator already has a list with this name.\n- `409 FAN_LIST_LIMIT_REACHED` — the creator has reached the maximum number of custom lists.\n- `409 CONFLICT` — the `Idempotency-Key` was used for another list, or for a list deleted since.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for the CRM create operations; blank means no key. Otherwise 1..128 characters of `[A-Za-z0-9_-]`, or `400 INVALID_REQUEST` before anything is written. The same key with the same request answers `200` with what the first request created. A different request, or a key whose creation was since deleted (24 hours), is `409 CONFLICT`. The key is never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`. The answer is the list the first request created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFanListEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`FAN_LIST_NAME_TAKEN`, `FAN_LIST_LIMIT_REACHED`, or `CONFLICT` when the `Idempotency-Key` was used for another list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanListNameRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fan-lists/{listKey}":{"get":{"operationId":"fans_getFanList","summary":"List fan list members","description":"Lists the members of one smart fan list or one of the creator's own `cl-…` lists, one page at a time.\n\n**What each member carries**\n\nEach fan carries your application's own pairwise `buyerRef` and no `fanRef`; see\n[buyer pseudonyms](/buyer-pseudonyms). Pictures and the fan's self-chosen display name are `null`, because\nplatform-wide values would be join keys across applications. Per-fan money appears only under\n`read:subscribers:spend`.\n\n**Pagination**\n\nPass the previous page's `nextCursor` as `cursor` ([pagination](/conventions/pagination)). Cursors carry your\napplication's references, never a CRM reference.\n\n**Spend-derived lists**\n\nA smart list derived from spend (`spent-over-50`) also needs `read:subscribers:spend`.\n\n**Errors**\n\n- `403 INSUFFICIENT_SCOPE` — a spend-derived list without `read:subscribers:spend`. `details.requiredScope` and\n  `details.listKey` name the scope and the list.\n\n**Required scopes:** `read:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listKey","in":"path","required":true,"schema":{"$ref":"#/components/schemas/FanListKey"}},{"name":"take","in":"query","description":"How many members per page, from 1 to 100. The default is 50.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of members.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanListDetail"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"fans_deleteFanList","summary":"Delete a fan list","description":"Deletes one of the creator's own fan lists and its memberships; the fans themselves are not affected.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listKey","in":"path","required":true,"schema":{"$ref":"#/components/schemas/FanListKey"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"fans_renameFanList","summary":"Rename a fan list","description":"Renames one of the creator's own fan lists.\n\nOnly the creator's own lists can be renamed: a smart (catalogue) list's key answers `404`.\n\n**Errors**\n\n- `404` — the key is a smart list's key, or no such list exists.\n- `409 FAN_LIST_NAME_TAKEN` — the creator already has a list with this name.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listKey","in":"path","required":true,"schema":{"$ref":"#/components/schemas/FanListKey"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Renamed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFanListEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`FAN_LIST_NAME_TAKEN`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanListNameRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fan-lists/{listKey}/members":{"post":{"operationId":"fans_addFanListMembers","summary":"Add fans to a list","description":"Adds fans to one of the creator's own lists, all or nothing; fans already on the list are counted, not added again.\n\n**Request**\n\nThe body is `{ buyerRefs: [...] }`: your application's own pairwise pseudonyms; see\n[buyer pseudonyms](/buyer-pseudonyms). A `fanRefs` body is refused with `400`.\n\n**Errors**\n\n- `400` — the body sends `fanRefs`.\n- `404 NOT_FOUND` \"Buyer not found\" — a reference does not resolve. Nothing changes.\n- `422 FAN_NOT_IN_AUDIENCE` — a resolved buyer has no relationship with the creator. `details.buyerRefs` lists\n  them, and nothing is written.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listKey","in":"path","required":true,"schema":{"$ref":"#/components/schemas/FanListKey"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Added.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanListMembersAdded"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"`FAN_NOT_IN_AUDIENCE`: a reference is not one of the creator's fans. `details.buyerRefs` lists them; nothing was written.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanRefsRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fan-lists/{listKey}/members/remove":{"post":{"operationId":"fans_removeFanListMembers","summary":"Remove fans from a list","description":"Removes fans from one of the creator's own lists; a fan who is not on it is simply not counted, so the call is idempotent.\n\n**Request**\n\nThe body is `{ buyerRefs: [...] }`: your application's own pairwise pseudonyms; see\n[buyer pseudonyms](/buyer-pseudonyms). A `fanRefs` body is refused with `400`.\n\n**Errors**\n\n- `400` — the body sends `fanRefs`.\n- `404 NOT_FOUND` \"Buyer not found\" — a reference does not resolve. Nothing changes.\n- `422 FAN_NOT_IN_AUDIENCE` — a resolved buyer has no relationship with the creator. `details.buyerRefs` lists\n  them.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listKey","in":"path","required":true,"schema":{"$ref":"#/components/schemas/FanListKey"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Removed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanListMembersRemoved"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanRefsRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans":{"get":{"operationId":"fans_listFans","summary":"List fans","description":"Lists the creator's fan directory, one page at a time, with minimised data about each fan.\n\n**What each fan carries**\n\nEach fan carries your application's own pairwise `buyerRef` and no `fanRef`; see\n[buyer pseudonyms](/buyer-pseudonyms). Pictures and the fan's self-chosen display name are `null`, because\nplatform-wide values would be join keys across applications. Per-fan money appears only under\n`read:subscribers:spend`.\n\n**Pagination**\n\nPass the previous page's `nextCursor` as `cursor` ([pagination](/conventions/pagination)). Cursors carry your\napplication's references, never a CRM reference.\n\n**Required scopes:** `read:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"take","in":"query","description":"How many fans per page, from 1 to 100. The default is 50.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of fans.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/mute":{"put":{"operationId":"fans_muteFan","summary":"Mute a fan","description":"Mutes a fan for the creator, which suppresses the creator's unread counts and notifications for that fan but never stops delivery.\n\nThe call is idempotent.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The fan, now muted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"fans_unmuteFan","summary":"Unmute a fan","description":"Lifts the creator's mute on a fan.\n\nThe call is idempotent.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The fan, no longer muted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/nickname":{"put":{"operationId":"fans_setFanNickname","summary":"Set a fan's nickname","description":"Sets the creator's private nickname for a fan, or clears it when the nickname is `null`.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The fan, with the nickname as now set or cleared.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNicknameRequest"}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"fans_clearFanNickname","summary":"Remove a fan's nickname","description":"Clears the creator's private nickname for a fan.\n\nThe call is idempotent.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The fan, with no nickname.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/notes":{"get":{"operationId":"fans_listFanNotes","summary":"List notes about a fan","description":"Lists the creator's 50 newest private notes about one fan.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `read:notes`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The notes. An empty list is a real answer, not an error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteList"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"fans_createFanNote","summary":"Create a note about a fan","description":"Creates a private note about one of the creator's fans.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Idempotency**\n\nWith an `Idempotency-Key`, the same key and body return `200` with the note the first request wrote. A different\nbody, another fan, or a note deleted since (within 24 hours) returns `409 CONFLICT`.\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n- `409 CONFLICT` — the `Idempotency-Key` was used with a different body or another fan, or for a note deleted\n  since.\n\n**Required scopes:** `write:notes`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for the CRM create operations; blank means no key. Otherwise 1..128 characters of `[A-Za-z0-9_-]`, or `400 INVALID_REQUEST` before anything is written. The same key with the same request answers `200` with what the first request created. A different request, or a key whose creation was since deleted (24 hours), is `409 CONFLICT`. The key is never echoed.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`. The answer is the note the first request created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/notes/{noteRef}":{"put":{"operationId":"fans_editFanNote","summary":"Edit a note","description":"Replaces the body of one of the creator's notes about a fan and stamps `updatedAt`.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:notes`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"noteRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The note after the edit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteRequest"}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"fans_deleteFanNote","summary":"Delete a note","description":"Deletes one of the creator's notes about a fan; the `204` answer echoes nothing.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:notes`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"noteRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/{fanRef}/notes/{noteRef}/favourite":{"put":{"operationId":"fans_favouriteFanNote","summary":"Mark a note as favourite","description":"Stars one of the creator's notes about a fan; the star is a flag, not an edit, so `updatedAt` does not change.\n\nThe call is idempotent.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:notes`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"noteRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The note, now marked as favourite.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"fans_unfavouriteFanNote","summary":"Remove a note from favourites","description":"Removes the star from one of the creator's notes about a fan.\n\nThe call is idempotent.\n\n**Naming the fan**\n\nThe `{fanRef}` path segment carries your application's own pairwise `buyerRef`. Never send the creator-scoped CRM\n`fanRef`, an account id, an e-mail or a `profileSlug`. See [buyer pseudonyms](/buyer-pseudonyms).\n\n**Errors**\n\n- `404 NOT_FOUND` \"Buyer not found\" — the reference does not resolve for your application and this creator. A\n  malformed reference, one never issued to your application, and another application's or another creator's all\n  get this same answer.\n\n**Required scopes:** `write:notes`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"fanRef","in":"path","description":"Your application's own pairwise `buyerRef` for the fan; a CRM `fanRef` is never accepted from an application. A ref that does not resolve for your application and this creator (malformed, never given to your application, another application's or another creator's, or any other string) answers `404 NOT_FOUND` \"Buyer not found\", all alike. See [buyer pseudonyms](/buyer-pseudonyms).","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"noteRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The note, no longer marked as favourite.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanNoteEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/counts":{"get":{"operationId":"fans_getFanCounts","summary":"Get fan counts","description":"Returns how many fans the creator has, and how many of them the creator has muted.\n\n**Required scopes:** `read:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Counts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanCounts"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/presence":{"get":{"operationId":"fans_getFanPresence","summary":"Get fan presence","description":"Returns which of up to 20 fans are online, as the creator would see them.\n\n**Request**\n\nAsk with `?buyerRefs=a,b`: 1 to 20 of your application's own pseudonyms; see\n[buyer pseudonyms](/buyer-pseudonyms). The answer is keyed by them. `read:presence` is not in the creator's default\nconsent.\n\n**What you receive**\n\nThis is the creator's own presence view, so only fans who have paid the creator are shown. A block in either\ndirection, or \"appear offline\", withholds presence: you get the withheld view, never the reason. A reference that is\nnot the creator's, or any key when the deployment tracks no presence, is simply absent, never `OFFLINE`.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — `buyerRefs` is missing or empty.\n- `400 TOO_MANY_IDS` — more than 20 references.\n- `404 NOT_FOUND` \"Buyer not found\" — a reference does not resolve.\n\n**Required scopes:** `read:presence`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"buyerRefs","in":"query","description":"Required. A comma-separated list of 1 to 20 of your application's own `buyerRef`s.","required":false,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Presence keyed by the `buyerRef`s you asked with.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanPresenceResult"}}}},"400":{"description":"`INVALID_REQUEST` when `buyerRefs` is missing or empty, or `TOO_MANY_IDS` when it names more than 20.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/fans/top":{"get":{"operationId":"fans_listTopFans","summary":"List top fans","description":"Lists the creator's biggest spenders, ranked by what each fan paid and kept paid.\n\n**What each fan carries**\n\nThis is the creator's own ranking. Each fan carries your application's own pairwise `buyerRef`, never the\ncreator-scoped `fanRef` and never an account id; see [buyer pseudonyms](/buyer-pseudonyms). Pictures and the fan's\nself-chosen display name are `null`, because platform-wide values would be join keys across applications.\n\nPer-fan money appears only under `read:subscribers:spend`, which this operation requires.\n\n**Required scopes:** `read:subscribers:spend`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"How many fans to return, an integer from 1 to 20. Any other value is refused with `400`, never clamped.","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"default":4}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Ranked fans.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopFanList"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/subscribers":{"get":{"operationId":"fans_listSubscribers","summary":"List active subscribers","description":"Lists the creator's active subscribers, one page at a time ([pagination](/conventions/pagination)).\n\n**Page size**\n\n`take` accepts 1 to 200 and defaults to 50, but a page holds at most 100 subscribers: a larger `take` is treated as\n100, and the page's `take` shows the value used. A `take` above 200 is refused with `400 INVALID_REQUEST`.\n\n**What each row carries**\n\n- Your application's own pairwise `buyerRef` for the subscriber; see [buyer pseudonyms](/buyer-pseudonyms).\n- An opaque `fanDisplayLabel`, never the fan's chosen name, and an `avatarUrl` of `null`.\n- `tier`, which is `null` unless your application's effective access covers `read:subscribers:spend`.\n\nRows sent to your application never carry `creatorEarningsCents` or `orderCount`: per-fan earnings and order counts\nare not available to applications.\n\n**Required scopes:** `read:subscribers`.","tags":["fans"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of subscribers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets":{"get":{"operationId":"media_listMediaAssets","summary":"List media assets","description":"Lists the creator's ready public assets that can be attached, or one vault shelf when you send `library`.\n\nPages use `skip` and `take` ([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":48}},{"name":"library","in":"query","description":"Returns one vault shelf instead: `public` is the Active shelf, `private` the Archived one. Its items come with\nsigned previews, each valid for at most 600 seconds.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMediaAssetsGetParametersLibrary"}},{"name":"kind","in":"query","required":false,"schema":{"$ref":"#/components/schemas/MediaKind"}},{"name":"tagId","in":"query","required":false,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"query","required":false,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of assets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Media_listMediaAssets_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}":{"delete":{"operationId":"media_deleteMediaAsset","summary":"Delete a media asset","description":"Requests deletion of one of the creator's media assets. It is refused while the asset is still in use.\n\n**Access**\n\nDeleting is destructive. The creator's link must carry `delete:media`, which no default consent includes.\n\nThe call runs through [action approval](/approvals). It runs automatically when the agency's policy is\n`AUTO_WITHIN_LIMITS` and its own daily count allows it, or with a person's approval bound to this creator and this\nasset. Otherwise you receive `202` with an `ApprovalRequired` body: re-send the request with `Partner-Approval-Id`\nonce it is approved. The action carries no amount.\n\n**Errors**\n\n- `409 CONFLICT` — the asset is still in use. `details.references` gives the blocking reference counts, the same\n  counts the creator's own delete reports.\n\n**Required scopes:** `delete:media`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Deletion requested.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetDeleted"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"get":{"operationId":"mediaVault_getMediaAsset","summary":"Get a media asset","description":"Returns one vault asset: its metadata, readiness, renditions by role and usage counts. It never includes URLs.\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetDetail"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/archive":{"post":{"operationId":"media_archiveMediaAsset","summary":"Archive a media asset","description":"Moves an asset to the private, Archived shelf.\n\n**Required scopes:** `write:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Archived.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetLifecycleResult"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/bytes":{"get":{"operationId":"media_fetchMediaAssetBytes","summary":"Download a media rendition","description":"Streams the bytes of one rendition through the API in exchange for a fetch grant.\n\nGet the grant from `POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant` and call the\n`url` it returns.\n\n**Checks on every request**\n\n- Your application's access is checked again in full. A revoked token, creator link or agency grant is refused\n  from the next request.\n- The grant must name your application, this creator and this asset.\n- EVVA checks again that the creator's own delivery rules serve this rendition.\n\n**Errors**\n\n- `403 MEDIA_FETCH_GRANT_INVALID` — the grant is refused: it is malformed, forged, expired or another\n  application's.\n\n**Required scopes:** `read:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"grant","in":"query","description":"The fetch grant, as carried in the `url` of `POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant`.","required":true,"schema":{"type":"string","maxLength":2048}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The rendition's bytes, sent with `Cache-Control: private, no-store`.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant":{"post":{"operationId":"media_createMediaFetchGrant","summary":"Create a media fetch grant","description":"Creates a short-lived grant that lets your application fetch one rendition of a vault asset, never the original\nand never a storage URL.\n\n**Request**\n\n`role` is a delivery role: `thumbnail`, `preview`, `display`, `full`, `locked_preview`, `poster`, one of the audio\nroles or `document_file`. It is never `original`. EVVA issues the grant only when the creator's own delivery rules\nserve that rendition.\n\n**Redeeming the grant**\n\nCall the returned `url` before `expiresAt`, with the same credential you used to create the grant. The grant works\nonly for your application.\nThe `url` is served by `GET /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/bytes`.\n\n**Required scopes:** `read:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"Grant issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaFetchGrant"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaFetchGrantRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/restore":{"post":{"operationId":"media_restoreMediaAsset","summary":"Restore a media asset","description":"Moves an asset back to the public, Active shelf.\n\n**Required scopes:** `write:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Restored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetLifecycleResult"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/uploads":{"post":{"operationId":"media_createUploadSession","summary":"Create an upload session","description":"Opens an upload session for one file in the creator's vault.\n\n**Upload flow**\n\n1. Create the session. The answer's `upload` says how to send the bytes.\n2. For `upload.method: PUT`, PUT the bytes to `upload.url`. For `MULTIPART`, get part URLs from\n   `POST /partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/parts`.\n3. Finalize with `POST /partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/finalize`, which turns\n   the upload into an asset.\n\n**Errors**\n\n- `409 STORAGE_LIMIT_REACHED` — the creator's vault is full, or this file would overfill it.\n- `409 SANDBOX_QUOTA_REACHED` — for a sandbox creator, the agency's sandbox media budget is used up\n  ([sandbox](/sandbox)).\n- `429 SANDBOX_QUOTA_REACHED` — for a sandbox creator, the agency's hourly sandbox processing budget is used up.\n\n**Required scopes:** `write:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"Session open.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadSessionCreated"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`STORAGE_LIMIT_REACHED`: the creator's vault is full, or this file would overfill it. For a sandbox creator the\ncode is `SANDBOX_QUOTA_REACHED` with `resource: sandbox.media.bytes` instead: the agency's sandbox media budget,\ncounting the live assets and open uploads of all its synthetic creators, is used up. A synthetic creator's upload\nnever counts against a vault.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUploadSessionRequestConflictError"}}}},"429":{"description":"The rate limit was hit. For a sandbox creator it can also be `SANDBOX_QUOTA_REACHED` with\n`resource: sandbox.media.jobs_per_hour`: the agency's hourly sandbox processing budget is used up, and\n`Retry-After` says when the hour's oldest upload leaves the window.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUploadSessionRequestTooManyRequestsError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUploadRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/abort":{"post":{"operationId":"media_abortUploadSession","summary":"Cancel an upload session","description":"Abandons an upload in progress: the session fails and the parts already held by the storage provider are\nreclaimed.\n\n**Errors**\n\n- `409 MEDIA_UPLOAD_SESSION_NOT_PENDING` — the session was already finalized, failed, aborted or expired.\n\n**Required scopes:** `write:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"uploadSessionId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Aborted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_UPLOAD_SESSION_NOT_PENDING` — already finalized, failed, aborted or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/finalize":{"post":{"operationId":"media_finalizeUploadSession","summary":"Complete an upload session","description":"Finalizes an upload session into a media asset.\n\nThe call is idempotent. Repeating it for a session that is already finalized answers `200`, with `replayed` set,\ninstead of `201`.\n\n**Required scopes:** `write:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"uploadSessionId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Replayed — the session was already finalized.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizedUpload"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizeUploadRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/parts":{"post":{"operationId":"media_signUploadParts","summary":"Generate upload part URLs","description":"Returns presigned PUT URLs for parts of a multipart upload session, a bounded batch per request.\n\n**When to use it**\n\nOnly for a session whose create answered `upload.method: MULTIPART`. That happens when you sent\n`supportsResumable: true` and the file is at or above the deployment's multipart threshold.\n\n**Uploading the parts**\n\n- Name the parts you want by number in `partNumbers`. The storage key and the provider's upload id never leave\n  EVVA.\n- PUT each part to its URL with no extra headers. Every part except the last must be exactly `partSizeBytes`.\n- To retry a part, sign it again and re-send it. At finalize, only the storage provider's record of the parts that\n  arrived counts. You never report ETags.\n\n**Errors**\n\n- `400 MEDIA_UPLOAD_PART_OUT_OF_RANGE` — a part number is outside 1 to `partCount`.\n- `400 MEDIA_UPLOAD_TOO_MANY_PARTS` — the request names more parts than one batch allows.\n- `409 MEDIA_UPLOAD_NOT_RESUMABLE` — a one-part session: its single URL is never signed again.\n- `409 MEDIA_UPLOAD_SESSION_EXPIRED` — the session expired.\n- `409 MEDIA_UPLOAD_SESSION_NOT_PENDING` — the session is no longer pending.\n\n**Required scopes:** `write:media`.","tags":["media"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"uploadSessionId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Part URLs, each valid for `expiresInSec`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedUploadParts"}}}},"400":{"description":"`INVALID_REQUEST`, `MEDIA_UPLOAD_PART_OUT_OF_RANGE` (outside 1..partCount), `MEDIA_UPLOAD_TOO_MANY_PARTS`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_UPLOAD_SESSION_EXPIRED`, `MEDIA_UPLOAD_SESSION_NOT_PENDING`, `MEDIA_UPLOAD_NOT_RESUMABLE` (a one-part session — its single URL is never re-signed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUploadPartsRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/albums":{"get":{"operationId":"mediaVault_listMediaAlbums","summary":"List albums","description":"Lists the creator's albums, optionally filtered by a name prefix.\n\nPages use an opaque cursor ([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"q","in":"query","description":"Returns only albums whose name starts with this text.","required":false,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","description":"The page size.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, to read the next page.","required":false,"schema":{"type":"string","maxLength":512}},{"name":"archived","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMediaAlbumsGetParametersArchived"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbumPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"mediaVault_createMediaAlbum","summary":"Create an album","description":"Creates an album in the creator's vault.\n\n**Errors**\n\n- `409 MEDIA_ALBUM_NAME_CONFLICT` — the name conflicts with another album.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbum"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_ALBUM_NAME_CONFLICT`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaAlbumRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/albums/{albumId}":{"get":{"operationId":"mediaVault_getMediaAlbum","summary":"Get an album","description":"Returns one album with its live asset count.\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbum"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"mediaVault_deleteMediaAlbum","summary":"Delete an album","description":"Deletes an album's metadata only. The assets in it stay.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Done.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"mediaVault_updateMediaAlbum","summary":"Update an album","description":"Renames an album or edits its description.\n\n**Errors**\n\n- `409 MEDIA_ALBUM_NAME_CONFLICT` — the new name conflicts with another album.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbum"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_ALBUM_NAME_CONFLICT`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMediaAlbumRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/albums/{albumId}/archive":{"post":{"operationId":"mediaVault_archiveMediaAlbum","summary":"Archive an album","description":"Archives an album. The call is idempotent.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbumLifecycle"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/albums/{albumId}/assets":{"get":{"operationId":"mediaVault_listMediaAlbumAssets","summary":"List an album's assets","description":"Lists the assets in an album, ordered by when they were added.\n\nPages use an opaque cursor ([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The page size.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, to read the next page.","required":false,"schema":{"type":"string","maxLength":512}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbumAssetPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/albums/{albumId}/assets/{mediaAssetId}":{"put":{"operationId":"mediaVault_addMediaAlbumAsset","summary":"Add an asset to an album","description":"Adds an asset to an album. The call is idempotent.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbumMembership"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"mediaVault_removeMediaAlbumAsset","summary":"Remove an asset from an album","description":"Removes an asset from an album. The call is idempotent.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Done.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/albums/{albumId}/restore":{"post":{"operationId":"mediaVault_restoreMediaAlbum","summary":"Restore an album","description":"Restores an archived album. The call is idempotent.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"albumId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAlbumLifecycle"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/asking-price":{"put":{"operationId":"mediaVault_setMediaAssetAskingPrice","summary":"Set an asset's asking price","description":"Sets or clears an asset's asking price, the composer's default price for it. Setting it sells nothing.\n\nThe price stays on the asset until you change or clear it.\n\n**Access**\n\nThe creator's link must carry `money:media`, which no default consent includes. Your application needs\n`write:media` and `money:media`, and the call runs through [action approval](/approvals):\n\n- **Automatic:** the amount is the new price in USD minor units, compared with the agency's own per-action and\n  daily limits. There is no platform ceiling.\n- **By a person:** a person approves this creator, asset and price. Until then you receive `202` with an\n  `ApprovalRequired` body.\n- Clearing the price carries no amount.\n\n**Price bounds**\n\nThe creator's own bounds apply. A price outside them is refused with `400` before any approval is asked, and the\nbounds are checked again on every path.\n\n**Required scopes:** `write:media`, `money:media`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetAskingPrice"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetAskingPriceRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/maturity":{"get":{"operationId":"mediaVault_getMediaAssetMaturity","summary":"Get an asset's maturity","description":"Returns an asset's current maturity classification.\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetMaturity"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/tags":{"get":{"operationId":"mediaVault_listMediaAssetTags","summary":"List an asset's tags","description":"Lists the tags on a vault asset.\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagItems"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/tags/{tagId}":{"put":{"operationId":"mediaVault_assignMediaAssetTag","summary":"Tag an asset","description":"Assigns a tag to an asset. The call is idempotent.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagAssignment"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"mediaVault_unassignMediaAssetTag","summary":"Remove a tag from an asset","description":"Removes a tag from an asset. The call is idempotent.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Done.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/usage":{"get":{"operationId":"mediaVault_listMediaAssetUsage","summary":"List an asset's usage","description":"Lists where an asset is used, one reference kind per page.\n\nChoose the reference kind with `kind`. Pages use an opaque cursor ([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"kind","in":"query","description":"The reference kind to list. Each page holds references of this kind only.","required":true,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMediaAssetsMediaAssetIdUsageGetParametersKind"}},{"name":"limit","in":"query","description":"The page size.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, to read the next page.","required":false,"schema":{"type":"string","maxLength":512}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetUsagePage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/assets/status":{"get":{"operationId":"mediaVault_getMediaAssetStatuses","summary":"Get media asset statuses","description":"Returns the processing status of several vault assets at once: `ready`, `processing`, `failed` or `unavailable`.\n\nEVVA reads the statuses as the creator would, over this creator's vault only. Any other id answers `unavailable`,\nso the answer never reveals whether an asset exists elsewhere.\n\n**Errors**\n\n- `400 TOO_MANY_IDS` — `ids` names more assets than one request allows.\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"ids","in":"query","description":"Comma-separated media asset ids.","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetStatuses"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/storage":{"get":{"operationId":"mediaVault_getMediaStorage","summary":"Get vault storage","description":"Returns the creator's vault storage: live files, bytes used and the creator's limit.\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaStorage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/tags":{"get":{"operationId":"mediaVault_listMediaTags","summary":"List tags","description":"Lists the creator's tags, optionally filtered by a name prefix.\n\nPages use an opaque cursor ([pagination](/conventions/pagination)).\n\n**Required scopes:** `read:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"q","in":"query","description":"Returns only tags whose name starts with this text.","required":false,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","description":"The page size.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, to read the next page.","required":false,"schema":{"type":"string","maxLength":512}},{"name":"archived","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMediaTagsGetParametersArchived"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"mediaVault_createMediaTag","summary":"Create a tag","description":"Creates a tag, or returns the existing tag with the same name instead of a duplicate.\n\nA new tag answers `201`; an existing one answers `200`.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The existing tag of that name (no duplicate).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTag"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagNameRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/media/tags/{tagId}":{"delete":{"operationId":"mediaVault_deleteMediaTag","summary":"Delete a tag","description":"Deletes a tag that is not assigned to any asset.\n\n**Errors**\n\n- `409 MEDIA_TAG_IN_USE` — the tag is still assigned.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Done.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_TAG_IN_USE`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"mediaVault_renameMediaTag","summary":"Rename a tag","description":"Renames a tag. A name that collides with another tag is refused, and tags are never merged.\n\n**Errors**\n\n- `409 MEDIA_TAG_NAME_CONFLICT` — another tag already has this name.\n\n**Required scopes:** `write:media`.","tags":["mediaVault"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"tagId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTag"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`MEDIA_TAG_NAME_CONFLICT`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaTagNameRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/comments/{commentId}":{"delete":{"operationId":"content_deleteOwnContentComment","summary":"Withdraw the creator's own comment","description":"Withdraws a comment the creator wrote on one of their own posts.\n\nWithdrawing is safe to repeat: an already withdrawn comment answers `changed: false`.\n\n**Errors**\n\n- `404` — the comment is a fan's, is on another creator's post, or does not exist. All three answer the same `404`.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Withdrawn. A comment that was already withdrawn answers `changed: false`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_deleteOwnContentComment_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content":{"get":{"operationId":"content_listContent","summary":"List content items","description":"Lists the creator's content items, one page at a time.\n\nFilter by `status`, by `review` state, or with `scheduled=true` for scheduled drafts only. Pages use `skip` and `take`; see [pagination](/conventions/pagination).\n\n**Required scopes:** `read:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","description":"How many content items to return, from 1 to 100.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"status","in":"query","description":"Only content items with this status.","required":false,"schema":{"$ref":"#/components/schemas/ContentStatus"}},{"name":"scheduled","in":"query","description":"`true` lists only scheduled drafts, soonest first. Combined with a `status` other than `DRAFT`, it is a `400`.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdContentGetParametersScheduled"}},{"name":"review","in":"query","description":"Filters by pre-publication review state, with the values the creator's studio uses.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdContentGetParametersReview"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of content.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"content_createContent","summary":"Create a content item","description":"Creates a content item for the creator, either as a draft or published.\n\n**Price and gating**\n\nA post that sets a price, gating or a currency goes through [action approval](/approvals). The amount checked against the agency's limits is `priceCents`, in the post's currency. Send an `Idempotency-Key` with such a post. When it needs a person, you get `202 APPROVAL_REQUIRED`: re-send the same request with `Partner-Approval-Id` once it is approved.\n\nA free, ungated post is an ordinary call.\n\n**Errors**\n\n- `403 CREATOR_SUSPENDED` — the post asks for a `status` other than `DRAFT` while restrictions on the creator's account block publishing (`CONTENT_PUBLISH`).\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:content`.\n\n**Approval:** setting or changing `priceCents`, `isGated`, `currency` runs through [action approval](/approvals).","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request. It is required when the request sets or changes one of the operation's `conditionalFields`: without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` and nothing is done. The same key re-sent with its `Partner-Approval-Id` is that request again; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCreated"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks publishing (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContentRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}":{"get":{"operationId":"content_getContent","summary":"Get a content item","description":"Returns one of the creator's own content items with its body, drafts included.\n\n**Errors**\n\n- `404` — the post belongs to another creator, was deleted, or does not exist. All three answer the same `404`.\n\n**Required scopes:** `read:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The post.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentItemEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"content_deleteContent","summary":"Delete a content item","description":"Soft-deletes one of the creator's content items, the same way the creator deletes one.\n\nEVVA sets `deletedAt` and moves the item to `ARCHIVED`. Nothing is removed.\n\n**Consent**\n\nThe creator's link must carry `delete:content`, which is never part of the default consent.\n\n**Action approval**\n\nEvery delete goes through [action approval](/approvals), bound to the creator and the post, under the agency's rule for this operation. When it needs a person, you get `202 APPROVAL_REQUIRED`: re-send with `Partner-Approval-Id` once it is approved. Ownership and existence are checked again when the approved request runs.\n\n**Errors**\n\n- `404` — the item was already deleted. The creator's studio answers a second delete the same way.\n- `409 PAUSED_AWAITING_CREATOR` — the post's schedule was withdrawn when your application lost access; the creator\n  decides what happens to it. Nothing is deleted and no approval is requested.\n\n**Required scopes:** `delete:content`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_deleteContent_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"content_updateContent","summary":"Update a content item","description":"Updates one of the creator's content items.\n\n**Price**\n\nA patch that changes the post's price or currency goes through [action approval](/approvals). The amount is the new price, in the post's currency. When it needs a person, you get `202 APPROVAL_REQUIRED`. Sending back the current price and currency unchanged is an ordinary call.\n\n**Errors**\n\n- `403 CREATOR_SUSPENDED` — the patch sets `status: PUBLISHED` while restrictions on the creator's account block publishing (`CONTENT_PUBLISH`).\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:content`.\n\n**Approval:** setting or changing `priceCents`, `currency` runs through [action approval](/approvals).","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request. It is required when the request sets or changes one of the operation's `conditionalFields`: without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` and nothing is done. The same key re-sent with its `Partner-Approval-Id` is that request again; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentItemEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks publishing (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContentRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}/attachments":{"get":{"operationId":"content_listContentAttachments","summary":"List a content item's attachments","description":"Lists the attachments of one of the creator's content items, in display order.\n\n**Required scopes:** `read:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The attachments, in display order. They carry no storage key and no internal id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_listContentAttachments_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}/attachments/{mediaAssetId}":{"put":{"operationId":"content_attachContentMedia","summary":"Attach a vault asset","description":"Attaches a ready asset from the creator's vault to a content item.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Attached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentAttachmentEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"content_detachContentMedia","summary":"Detach a vault asset","description":"Removes an asset from a content item's attachments.\n\nOnly the reference is removed: the asset itself is untouched. Detaching is idempotent, so an absent or unowned pair is a no-op that still answers `204`.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"mediaAssetId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Detached, or there was nothing to detach.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}/attachments/order":{"put":{"operationId":"content_reorderContentAttachments","summary":"Reorder a content item's attachments","description":"Sets the complete display order of a content item's attachments in one atomic write.\n\nSend the whole permutation of what is attached in `mediaAssetIds`, so a replay is idempotent.\n\n**Errors**\n\n- `409 MEDIA_ATTACHMENT_SET_MISMATCH` — the list is stale or partial. `details.attached` holds the set actually attached, and nothing is written.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The new order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_reorderContentAttachments_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"mediaAssetIds":{"type":"array","items":{"type":"string","minLength":1}}},"required":["mediaAssetIds"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}/comments":{"get":{"operationId":"content_listContentComments","summary":"List comments on a post","description":"Lists the comments on one of the creator's own posts, newest first, one page at a time.\n\nOnly the creator's own posts can be read: an agency acts for the creator's business, not for their personal side as a fan. Each author is shown as the creator sees them, minus the global `profileSlug`. A fan author is named by `authorBuyerRef`, your application's [buyer pseudonym](/buyer-pseudonyms) for that fan.\n\nPass the previous page's `nextCursor` as `cursor` to read on; see [pagination](/conventions/pagination).\n\n**Errors**\n\n- `404` — the post belongs to another creator. It answers the same `404` as an unknown post.\n\n**Required scopes:** `read:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":256}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of comments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_listContentComments_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"content_replyToContentComment","summary":"Create a comment as the creator","description":"Writes a comment in the creator's name on one of the creator's own posts.\n\nIt is an ordinary comment of the creator, with no AI label.\n\n**Idempotency**\n\nThe `Idempotency-Key` header is optional. A first write answers `201`. A retry with the same key answers `200` with `changed: false` and the same comment.\n\n**Errors**\n\n- `409 IDEMPOTENCY_KEY_CONFLICT` — the key was already used for a different text.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional key for a reply to a comment; blank means no key. Otherwise 1..128 characters of `[A-Za-z0-9_-]`, or `400 INVALID_REQUEST` before anything is written. The same key with the same text answers `200` with `changed: false` and the same comment; with a different text it is `409 IDEMPOTENCY_KEY_CONFLICT`.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the comment already written, with `changed: false`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCommentWritten"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1}},"required":["body"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}/comments/{commentId}":{"delete":{"operationId":"content_removeContentComment","summary":"Remove a comment from a post","description":"Removes any comment on one of the creator's posts, including a fan's.\n\n**Consent**\n\nThe creator's link must carry `delete:comments`, which is never part of the default consent.\n\n**Action approval**\n\nOn top of `delete:comments`, every removal goes through [action approval](/approvals), bound to the creator, the post and the comment. When it needs a person, you get `202 APPROVAL_REQUIRED`. If the scope, the grant or the creator's consent is revoked, even an approved re-send is refused.\n\n**Repeats**\n\nRemoving an already removed comment answers `changed: false` and emits nothing. However often a comment is removed, there is one `comment.deleted` event and one webhook.\n\n**Errors**\n\n- `404` — the post belongs to another creator, the comment is on a different post, or the id is unknown. All three answer the same `404`.\n\n**Required scopes:** `delete:comments`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Removed. A comment that was already removed answers `changed: false`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_removeContentComment_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/content/{contentId}/schedule":{"put":{"operationId":"content_scheduleContent","summary":"Schedule or reschedule a draft","description":"Schedules one of the creator's drafts for publication, or moves its existing schedule.\n\n`scheduledAt` must carry an explicit time-zone offset.\n\nA post your application schedules publishes only if your application still has access to the creator\n(`write:content`) when it comes due. If that access ends first — your application is disabled or revoked, its\ngrant or the creator's consent is withdrawn, or the agency is suspended — the schedule is withdrawn and the post\nstays an unpublished draft until the creator schedules it again; restoring your access does not publish it.\n\n**Errors**\n\n- `403 CREATOR_SUSPENDED` — restrictions on the creator's account block publishing (`CONTENT_PUBLISH`).\n- `409 PAUSED_AWAITING_CREATOR` — this post's schedule was withdrawn when your application lost access; only the\n  creator can schedule it again.\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Scheduled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content_scheduleContent_Response_200"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks publishing (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"scheduledAt":{"type":"string","format":"date-time"}},"required":["scheduledAt"]}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"content_unscheduleContent","summary":"Cancel a draft's schedule","description":"Cancels the schedule of one of the creator's drafts.\n\nCancelling is idempotent and always available: no feature switch and no restriction on the creator's account blocks it, because it is the way out of a schedule.\n\n**Required scopes:** `write:content`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"contentId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"No schedule remains.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/profile":{"get":{"operationId":"content_getAccountProfile","summary":"Get the creator's profile","description":"Returns the creator's profile and counters.\n\n**Revenue**\n\nThe revenue counters (`paidOrderCount`, `grossRevenueCents`, `creatorEarningsCents`, `otherCurrencyOrders`) are\n`null` unless your application's effective access covers `read:revenue` ([scopes and grants](/authentication/scopes)).\nA withheld counter is always `null`, never `0`.\n\n**Avatar**\n\nWhen the creator's picture comes from their media library, `avatarUrl` is `null` and `avatarMediaAssetId` names the\npicture. Fetch its bytes with `POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant`, which\nneeds `read:media`. A picture set as a plain URL is returned as that URL.\n\n**Required scopes:** `read:profile`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"content_updateAccountProfile","summary":"Update the creator's profile","description":"Updates the creator's display name, bio, handle, avatar or other delegable public fields.\n\n**Required scopes:** `write:profile`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Updated profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/storefront":{"get":{"operationId":"content_getStorefront","summary":"Get the storefront","description":"Returns the creator's storefront.\n\n**Required scopes:** `read:profile`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The storefront.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"content_updateStorefront","summary":"Update the storefront","description":"Updates the creator's storefront: whether it is published, its support copy and its support amounts.\n\nThe patch passes the same schema and merged-config validation as the creator's own changes. Unless the patch only unpublishes the storefront, the creator's account must allow monetization (`MONETIZATION_SURFACE`).\n\n**Price fields**\n\nA field that sets or changes an amount (`defaultAmountCents`, `suggestedAmountsCents`, `minAmountCents`, `maxAmountCents` or `currency`) needs all of these:\n\n- the creator's `money:storefront`, which is off by default;\n- your application's own effective `money:storefront`;\n- [action approval](/approvals), where the amount is the largest amount the patch sets. When it needs a person, you get `202 APPROVAL_REQUIRED`.\n\nA patch without price fields is an ordinary call.\n\n**Errors**\n\n- `403 PRICE_NOT_PERMITTED` — a price field without the creator's `money:storefront`.\n- `403 CREATOR_SUSPENDED` — the creator's account does not allow monetization, and the patch is not a pure unpublish.\n- `503` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:profile`.\n\n**Approval:** setting or changing `defaultAmountCents`, `suggestedAmountsCents`, `minAmountCents`, `maxAmountCents`, `currency` runs through [action approval](/approvals).","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request. It is required when the request sets or changes one of the operation's `conditionalFields`: without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` and nothing is done. The same key re-sent with its `Partner-Approval-Id` is that request again; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/storefront/rotate-link":{"post":{"operationId":"content_rotateStorefrontLink","summary":"Rotate the storefront link","description":"Issues a new direct link for the creator's storefront; the old link stops working.\n\nThe creator's account must allow public discovery (`PUBLIC_DISCOVERY`).\n\n**Action approval**\n\nEvery rotation goes through [action approval](/approvals), under the agency's rule for this operation. When it needs a person, you get `202 APPROVAL_REQUIRED`: re-send with `Partner-Approval-Id` once it is approved. The account restrictions are checked again when the approved request runs.\n\n**Required scopes:** `delete:storefront_link`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/subscription-plan":{"get":{"operationId":"content_getSubscriptionPlan","summary":"Get the subscription plan","description":"Returns the creator's subscription plan and its current terms: price, discount, trial days and introductory price.\n\nPromotions, trials and discounts are terms of the plan version (`discountMinor`, `trialDays`, `introPriceMinor`). Money amounts are exact decimal strings.\n\n**Errors**\n\n- `404` — the creator has no plan.\n\n**Required scopes:** `read:profile`.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/subscription-plan/versions":{"post":{"operationId":"content_createSubscriptionPlanVersion","summary":"Create a subscription price version","description":"Adds a new price version to the creator's subscription plan; existing subscribers keep their version.\n\n**Request**\n\nThe same body as the creator's own reprice: `planRef`, `priceMinor`, `currency`, `periodMonths`, `discountMinor`, `trialDays` and `introPriceMinor`. The trial, the introductory price and the discount are terms of the version.\n\nThe creator's link must carry `money:subscription`, which is off by default. The creator's account must allow monetization (`MONETIZATION_SURFACE`).\n\n**Action approval**\n\nEvery new version goes through [action approval](/approvals), bound to every term, under the agency's rule for this operation. The amount is the new `priceMinor`. When it needs a person, you get `202 APPROVAL_REQUIRED`.\n\nThe plan-version rules and the account restrictions are checked again when the approved request runs:\n\n- the price must be positive;\n- the discount must be below the price;\n- an introductory price needs introductory days.\n\n**Idempotency**\n\nYour application must send an `Idempotency-Key`, as every request that goes through action approval must. A first append answers `201`. With a key, the append happens exactly once:\n\n- a retry answers the first append;\n- concurrent requests with the same key answer the first append (`200`);\n- a retry after a failure between the append and its record answers the version already appended (`200`) instead of appending another.\n\n**Errors**\n\n- `409` — a conflict, such as `IDEMPOTENCY_KEY_CONFLICT` when the key was already used for different terms.\n\n**Required scopes:** `money:subscription`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["content"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required, because the operation may need approval: action approval claims an approval, or reserves the agency's automatic budget, under this key. Without it the request is `400 IDEMPOTENCY_KEY_REQUIRED`, and nothing is asked or reserved. With a key the new version is appended exactly once: concurrent requests and a retry after a failure answer `200` with the version the first one appended. The same key with different terms is `409 IDEMPOTENCY_KEY_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A replay: the version this Idempotency-Key already appended (nothing is appended again).","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"planRef":{"type":"string","minLength":1,"maxLength":200},"priceMinor":{"type":"string","pattern":"^[0-9]{1,19}$","description":"The price in minor units, as digits."},"currency":{"type":"string","minLength":3,"maxLength":3},"periodMonths":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdSubscriptionPlanVersionsPostRequestBodyContentApplicationJsonSchemaPeriodMonths"},"discountMinor":{"type":"string","pattern":"^[0-9]{1,19}$"},"trialDays":{"type":"integer","minimum":0,"maximum":365},"introPriceMinor":{"type":"string","pattern":"^[0-9]{1,19}$"}},"required":["planRef","priceMinor","currency","periodMonths"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/account-health":{"get":{"operationId":"analytics_getAccountHealth","summary":"Get account health","description":"Returns the creator's minimal account health: the account's current status, with its state, reason code, since and\nuntil.\n\nIt never covers identity verification (KYC).\n\n**Required scopes:** `read:analytics`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/earnings-goal":{"get":{"operationId":"analytics_getEarningsGoal","summary":"Get the earnings goal","description":"Returns the creator's current earnings goal and its progress.\n\n**Required scopes:** `read:revenue`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"analytics_setEarningsGoal","summary":"Set the earnings goal","description":"Sets the creator's earnings goal, replacing the current one.\n\nThe goal is validated and built exactly as when the creator sets it.\n\n**Response**\n\nThe answer is `{ goal }`: the goal's terms as set (`goalRef`, `targetMinor`, `currency`, `periodStart`,\n`periodEnd`, `label`) and its progress (`earnedMinor`, `otherCurrencies`).\n\nThe progress is money. It is filled only when your application also passes the revenue check of\n`GET /partner/v1/accounts/{creatorId}/earnings-goal`: its effective access covers `read:revenue`. Otherwise both\nfields are `null`. `write:goals` alone sets a goal but never reads the creator's earnings.\n\n**Errors**\n\n- `409 GOAL_CHANGED` — another change to the goal won a race with this request.\n\n**Required scopes:** `write:goals`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"targetMinor":{"type":"string","pattern":"^[0-9]{1,15}$","description":"The target in minor units, as digits."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"periodStart":{"type":"string","format":"date-time","description":"An instant with an offset."},"periodEnd":{"type":"string","format":"date-time"},"label":{"type":["string","null"],"minLength":1,"maxLength":60}},"required":["targetMinor","currency","periodStart","periodEnd"]}}}},"security":[{"applicationOAuth":[]}]},"delete":{"operationId":"analytics_resetEarningsGoal","summary":"Remove the earnings goal","description":"Clears the creator's earnings goal. The call is idempotent: when no goal is set, it answers with `changed` set to\n`false`.\n\n**Required scopes:** `write:goals`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/economics-terms":{"get":{"operationId":"analytics_getEconomicsTerms","summary":"Get economics terms","description":"Returns what the platform takes per attribution class, under the policy currently in force.\n\n**Required scopes:** `read:revenue`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/insights":{"get":{"operationId":"analytics_getInsights","summary":"Get earnings insights","description":"Returns the creator's earnings insights: settled net, a daily series, the split by income source and kind, top\ncontent and the subscriber cohort.\n\nThe figures are the creator's own read and are net. Payouts are excluded, so this is never a payout balance.\n`measured` states what is not measured.\n\n**Required scopes:** `read:revenue`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"range","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdInsightsGetParametersRange"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/insights/feed":{"get":{"operationId":"analytics_listInsightsFeed","summary":"Get feed impressions","description":"Returns feed impressions of the creator's items, by day and hour. It contains no money figures.\n\n**Required scopes:** `read:analytics`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"range","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdInsightsFeedGetParametersRange"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/sales-summary":{"get":{"operationId":"analytics_getSalesSummary","summary":"Get the sales summary","description":"Returns the creator's settled sales: totals, the platform fee and the creator's share, split by income source and\nstatus.\n\n**Required scopes:** `read:revenue`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/subscriber-count":{"get":{"operationId":"analytics_getSubscriberCount","summary":"Get the subscriber count","description":"Returns the number of the creator's current subscribers.\n\n**Required scopes:** `read:analytics`.","tags":["analytics"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/links":{"get":{"operationId":"links_listMarketingLinks","summary":"List marketing links","description":"Lists the creator's marketing links, newest first, one page at a time.\n\n**Pagination**\n\nSend `limit` for the page size: 1 to 100, default 25. For the next page, send the previous page's `nextBefore` as `before`. Stop when `nextBefore` is `null`. A full last page still returns a `nextBefore`, and the page after it is empty. See [pagination](/conventions/pagination).\n\n**Revenue**\n\n`outcomes.revenue` is `null` on every link unless your application's effective access to the creator covers `read:revenue`.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — `limit` or `before` is out of range, or the query has a parameter this operation does not take.\n- `403 CREATOR_INACTIVE` — the creator's account is not active.\n\n**Required scopes:** `read:links`.","tags":["links"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The maximum number of links on the page: 1 to 100, default 25.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"before","in":"query","description":"The previous page's `nextBefore`. Omit it for the first page. A value that names no link returns an empty page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingLinkPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"links_createMarketingLink","summary":"Create a marketing link","description":"Creates a tracked marketing link for the creator, through the same authoring the creator uses.\n\nEVVA generates the link's URL, context and traffic capability, so no request field can forge attribution. `outcomes.revenue` is null unless the creator's consent covers `read:revenue`.\n\n**Idempotency**\n\nThe `Idempotency-Key` header is required. The first request returns `201`; a retry with the same key returns `200` with the link the first request created. See [idempotency](/conventions/idempotency).\n\n**Errors**\n\n- `409 IDEMPOTENCY_KEY_CONFLICT` — the key was already used for a different link.\n- `409 IDEMPOTENT_REQUEST_IN_FLIGHT` — the first request with this key is still running.\n- `422 CAMPAIGN_UNAVAILABLE` — the campaign cannot take the link.\n\n**Required scopes:** `write:links`.","tags":["links"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required when creating a marketing link; missing or blank is `400 IDEMPOTENCY_KEY_REQUIRED`. A retry with the same key answers `200` with the link the first request created. The same key for a different link is `409 IDEMPOTENCY_KEY_CONFLICT`, and while the first request is still running it is `409 IDEMPOTENT_REQUEST_IN_FLIGHT`.","required":true,"schema":{"type":"string","minLength":1}}],"responses":{"201":{"description":"Authored (a replay answers 200).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingLinkEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The campaign named by `campaignRef` is not available to this creator (`CAMPAIGN_UNAVAILABLE`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"destination":{"type":"string","minLength":1,"maxLength":2048,"description":"An absolute http(s) URL."},"declaredChannel":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdLinksPostRequestBodyContentApplicationJsonSchemaDeclaredChannel"},"campaignRef":{"type":["string","null"],"minLength":1,"maxLength":200},"utm":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdLinksPostRequestBodyContentApplicationJsonSchemaUtm"},"creativeName":{"type":["string","null"],"minLength":1,"maxLength":120}},"required":["name","destination"]}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/links/{ref}":{"get":{"operationId":"links_getMarketingLink","summary":"Get a marketing link","description":"Returns one of the creator's marketing links.\n\nA link that is not yours and a link that does not exist both answer `404`.\n\n**Required scopes:** `read:links`.","tags":["links"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingLinkEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"patch":{"operationId":"links_updateMarketingLink","summary":"Update a marketing link","description":"Renames a marketing link or changes its channel, moves it to another lifecycle state, or does both.\n\nThe name and channel change is applied first, then the state move. A refused state move leaves the rename applied.\n\n**Errors**\n\n- `409 STATE_CHANGE_REFUSED` — the link cannot make the requested state move.\n\n**Required scopes:** `write:links`.","tags":["links"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingLinkEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"declaredChannel":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdLinksRefPatchRequestBodyContentApplicationJsonSchemaDeclaredChannel"},"creativeName":{"type":["string","null"],"minLength":1,"maxLength":120},"state":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdLinksRefPatchRequestBodyContentApplicationJsonSchemaState"}}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/order-conversations":{"get":{"operationId":"orders_listCreatorOrderConversations","summary":"List order conversations","description":"Lists the creator's order conversations from the seller's side, as inbox rows.\n\nEach row carries an opaque member reference, never the buyer's identity. To name the buyers by [pseudonym](/buyer-pseudonyms), pass the rows' `orderRef` values to `GET /partner/v1/accounts/{creatorId}/order-conversations/counterparts`.\n\nPages use `skip` and `take`; see [pagination](/conventions/pagination).\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","description":"How many rows to skip. Defaults to 0.","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","description":"How many rows to return, from 1 to 200. Defaults to 50.","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of order threads.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderConversationPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/order-conversations/{conversationId}/read":{"post":{"operationId":"orders_markCreatorOrderConversationRead","summary":"Mark an order conversation read","description":"Marks one of the creator's order conversations read, on the creator's side only.\n\nIt moves the creator's unread watermark on the conversation of an order the creator sold. It never moves the account's buyer side, and no read receipt reaches the buyer.\n\nThe `Idempotency-Key` header is optional.\n\n**Errors**\n\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different request.\n\n**Required scopes:** `write:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"conversationId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional on the other order writes: the same semantics as `RefundIdempotencyKey` when present; blank means no key.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"Marked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OkResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`IDEMPOTENCY_KEY_REUSED`: the key was already used for a different request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/order-conversations/counterparts":{"get":{"operationId":"orders_listCreatorOrderCounterparts","summary":"List the buyers in order conversations","description":"Returns who is on the other side of a page of the creator's order conversations, in the creator's own view.\n\nIt never shows more than the creator sees. Each item adds `buyerRef`, your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) for the order's buyer. `avatar` and `displayName` are `null`: a platform-wide picture reference would be a key that joins a buyer across applications.\n\nName the orders in `orders`, at most 200.\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orders","in":"query","description":"Comma-separated order references, at most 200.","required":true,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The counterparts EVVA can answer for. An order without an item has no answerable counterpart.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCounterparts"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders":{"get":{"operationId":"orders_listCreatorOrders","summary":"List orders","description":"Lists the creator's sales, newest first, as the creator's own order list shows them.\n\nThe rows carry no buyer object. Pages use `skip` and `take`; see [pagination](/conventions/pagination).\n\n**Errors**\n\n- `403 FORBIDDEN` — the creator's account no longer has the `CREATOR` capability. The creator's own routes apply the same check.\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"skip","in":"query","description":"How many orders to skip. Defaults to 0.","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"take","in":"query","description":"How many orders to return, from 1 to 100. Defaults to 20.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of the creator's orders.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellerOrderPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders/{orderId}":{"get":{"operationId":"orders_getCreatorOrder","summary":"Get an order","description":"Returns one of the creator's sales, as its seller sees it.\n\n`perspective` is always `CREATOR`.\n\n**Errors**\n\n- `404` — the order belongs to another creator, was bought by the creator's account, or does not exist. All three answer the same `404`.\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The order, as its seller sees it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellerOrder"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders/{orderId}/acknowledgement":{"post":{"operationId":"orders_acknowledgeCreatorOrder","summary":"Acknowledge an order","description":"Confirms one of the creator's orders: the seller has seen it and started work.\n\nThe first acknowledgement answers `201`; every later one answers `200`.\n\n**Action approval**\n\nThe call needs `write:orders:fulfilment` and goes through [action approval](/approvals). The approval carries no amount and is bound to the creator and the order. When it needs a person, you get `202 APPROVAL_REQUIRED`: re-send with `Partner-Approval-Id` once it is approved.\n\n**Errors**\n\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different request.\n\n**Required scopes:** `write:orders:fulfilment`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Already acknowledged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgedResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`IDEMPOTENCY_KEY_REUSED`: the key was already used for a different request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders/{orderId}/claims":{"get":{"operationId":"orders_getCreatorOrderClaims","summary":"Get an order's claims","description":"Returns the claims on one of the creator's sales: what stands now, what stood before and what is left.\n\nThe claims view names no buyer identity.\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The claims view.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderClaimsView"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders/{orderId}/claims/{claimRef}/response":{"post":{"operationId":"orders_respondToCreatorOrderClaim","summary":"Reply to a buyer's claim","description":"Answers a buyer's claim on one of the creator's sales as the seller; the case stays open for EVVA to decide.\n\n**Idempotency**\n\nThe `Idempotency-Key` header is optional. A retry with the same key replays the recorded answer. Keys live in your application's own key space (`app.<applicationId>`).\n\n**Errors**\n\n- `409 CLAIM_DECISION_IN_PROGRESS` — a refund decision holds the claim.\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different request.\n\n**Required scopes:** `write:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"claimRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional on the other order writes: the same semantics as `RefundIdempotencyKey` when present; blank means no key.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"201":{"description":"Recorded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordedResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`CLAIM_DECISION_IN_PROGRESS`: a refund decision holds the claim. `IDEMPOTENCY_KEY_REUSED`: the key was already used for a different request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimResponseRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders/{orderId}/delivery":{"post":{"operationId":"orders_deliverCreatorOrder","summary":"Deliver an order","description":"Delivers the work on one of the creator's sales and marks the order delivered.\n\nThe files you name must be the creator's own. The buyer is granted exactly the delivery's stored manifest. Delivering starts the order's acceptance window.\n\nA delivery answers `201`, and a replay of one answers `200`.\n\n**Idempotency**\n\nThe `Idempotency-Key` header is optional. Keys live in your application's own key space (`app.<applicationId>`).\n\n**Errors**\n\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different request.\n\n**Required scopes:** `write:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional on the other order writes: the same semantics as `RefundIdempotencyKey` when present; blank means no key.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"200":{"description":"Already delivered: a replay that answers the delivery already recorded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`IDEMPOTENCY_KEY_REUSED`: the key was already used for a different request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/orders/{orderId}/messages":{"get":{"operationId":"orders_getCreatorOrderThread","summary":"Get an order's conversation","description":"Returns one of the creator's order conversations, with the order's summary (`order`) beside it.\n\nMessages carry a sender role, never a sender id. `actorRef` and `operatorRef` appear only on your agency's own messages.\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The thread.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerOrderThread"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"orders_sendCreatorOrderMessage","summary":"Send an order message","description":"Writes a text message in one of the creator's order conversations, as the creator.\n\n**What the buyer sees**\n\nThe message is stored as the creator's (`senderRole: CREATOR`), with a `source` and `authorship` decided by EVVA. The buyer sees an ordinary creator message: no source, authorship or id reaches the buyer. Only text can be sent.\n\n**Authorship**\n\nThe request must declare `authorship` (see [message authorship](/message-authorship)):\n\n- `AI_AUTOMATED` needs `write:messages:automated`, and the creator's account must allow `BULK_MESSAGING`.\n- `HUMAN_AUTHORED` or `AI_DRAFTED_HUMAN_SENT` needs `operatorRef` and `write:messages:operator`, for a live operator in the agency's CRM.\n\n**Idempotency**\n\nThe `Idempotency-Key` header is optional. A retry with the same key replays the stored message. When the send limits refuse a message, nothing is written and a keyed request records nothing, so its retry is a fresh send. See [rate limits](/authentication/rate-limits).\n\n**Errors**\n\n- `400 AUTHORSHIP_REQUIRED` — `authorship` is missing.\n- `400 AUTHORSHIP_INVALID` — the value is not one your application may declare.\n- `403 AUTHORSHIP_NOT_PERMITTED` — the creator's consent does not cover the declared authorship.\n- `403 CREATOR_SUSPENDED` — an automated message for a creator whose account does not allow `BULK_MESSAGING`.\n- `409 IDEMPOTENCY_KEY_REUSED` — the key was already used for a different request.\n- `429 TOO_MANY_MESSAGES` — a send limit is full. Nothing was written; wait `Retry-After`.\n\n**Required scopes:** `write:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderId","in":"path","description":"The order reference. Another creator's order, or one the creator's account bought, answers 404.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Optional on the other order writes: the same semantics as `RefundIdempotencyKey` when present; blank means no key.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]*$","maxLength":128}}],"responses":{"201":{"description":"Sent, or a replay of the stored message for the same `Idempotency-Key`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerOrderMessageEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"One of three refusals. Creator access was refused (see `CreatorForbidden`); the creator's consent does not cover your declared authorship (`AUTHORSHIP_NOT_PERMITTED`); or the message is automated and the creator's account does not allow `BULK_MESSAGING` (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`IDEMPOTENCY_KEY_REUSED`: the key was already used for a different request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many messages (`TOO_MANY_MESSAGES`, `details.level` names the limit) or rate limited (`RATE_LIMIT_EXCEEDED`). Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerOrderMessageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/refund-requests":{"get":{"operationId":"orders_listCreatorRefundRequests","summary":"List refund requests","description":"Lists the buyers' refund requests on the creator's sales, undecided requests first.\n\n`approvalAvailable` says whether approving a request can send a refund on this deployment. It is `false` while claim refunds are switched off.\n\n**Errors**\n\n- `404` — this deployment has no refund capability.\n\n**Required scopes:** `read:orders`.","tags":["orders"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The queue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRequestQueue"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/deals":{"get":{"operationId":"marketplace_listMarketplaceDeals","summary":"List deals","description":"Lists the creator's deals, the agreements in which the creator is the seller, newest first, one page at a time.\n\n**Pagination**\n\nSend `limit` for the page size: default 25, at most 100. For the next page, send the previous page's `nextCursor` as `cursor`. A page may hold fewer items than `limit`, even none, while more follow, so stop only when `nextCursor` is `null`. See [pagination](/conventions/pagination).\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator as the `creatorId` in `creatorRef`.\n\n**Errors**\n\n- `400 INVALID_CURSOR` — `cursor` is malformed or came from another list.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The maximum number of deals on a page, default 25. A value above 100 counts as 100. A page may hold fewer, even none, while `nextCursor` is set.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, exactly as you received it. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDealPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"marketplace_recordMarketplaceDeal","summary":"Record a deal","description":"Records the agreement of an accepted negotiation as a deal.\n\nName the accepted negotiation in `proposalRef`. EVVA also records the deal by itself, so it may already exist. You then receive `200` with the existing deal, as for a retry with the same `Idempotency-Key` and request.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nThe amount compared with the limits is the price of the negotiation's accepted offer, which is the deal's value. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"The deal already exists: a retry with the same `Idempotency-Key` and request, or a deal that was already recorded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordMarketplaceDealRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/deals/{dealRef}":{"get":{"operationId":"marketplace_getMarketplaceDeal","summary":"Get a deal","description":"Returns one deal in which the creator is the seller.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"dealRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDeal"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/deals/{dealRef}/order":{"get":{"operationId":"marketplace_getMarketplaceDealOrder","summary":"Get a deal's order","description":"Returns the order a deal became, pending or ready, with its payment state.\n\nThe answer holds the order's status, its reference and its payment state, and names no buyer. Seller side only: it covers deals in which the creator is the seller.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"dealRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings":{"get":{"operationId":"marketplace_listMarketplaceListings","summary":"List listings","description":"Lists the creator's own listings, one page at a time.\n\nPages use `cursor` and `limit`; see [pagination](/conventions/pagination). Each listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The maximum number of listings on a page.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"state","in":"query","description":"Optional. Returns only the listings in this state.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMarketplaceListingsGetParametersState"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListingPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"marketplace_createMarketplaceListing","summary":"Create a listing","description":"Creates a listing for the creator in the `DRAFT` state, with its terms and price.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nThe amount compared with the limits is the listing price, `terms.price`, in its currency. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Errors**\n\n- `403 CREATOR_SUSPENDED` — the creator's account does not currently allow marketplace offers (`MARKETPLACE_OFFER`).\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"The listing already exists: a retry with the same `Idempotency-Key` and request, or a listing that was already created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks marketplace offers (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMarketplaceListingRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}":{"get":{"operationId":"marketplace_getMarketplaceListing","summary":"Get a listing","description":"Returns one of the creator's own listings.\n\nThe listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Errors**\n\n- `404` — the listing belongs to another creator or does not exist. Both answer the same way.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/archive":{"post":{"operationId":"marketplace_archiveMarketplaceListing","summary":"Archive a listing","description":"Archives one of the creator's listings. Archiving is final, and there is no delete.\n\nA suspended creator's listing can be archived too. The listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceVersionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/cover":{"put":{"operationId":"marketplace_setMarketplaceListingCover","summary":"Set a listing's cover image","description":"Sets or clears the cover image of one of the creator's listings.\n\nThe cover must be the creator's own ready image. `coverMediaAssetRef: null` clears it. The listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Errors**\n\n- `409 COVER_ASSET_UNUSABLE` — the asset is not the creator's own ready image.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetMarketplaceListingCoverRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/offer":{"get":{"operationId":"marketplace_getMarketplaceListingOffer","summary":"Get a listing's tiers and add-ons","description":"Returns the tiers and add-ons of one of the creator's listings.\n\nThe listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"marketplace_replaceMarketplaceListingOffer","summary":"Replace a listing's tiers and add-ons","description":"Replaces the tiers and add-ons of one of the creator's listings, prices included.\n\n**Request**\n\nSend the listing's current `version` as `expectedVersion`, because the write is compare-and-set. The answer is `{ listing, offer }`.\n\n**Prices**\n\nA request that sets no price and changes none is an ordinary call. A request that sets or changes a price, compared with the version it names, also needs your application's `money:marketplace` consent.\n\nSuch a request goes through [action approval](/approvals): it runs within the agency's rule and its own automatic limits, with no platform ceiling, or waits for a person's approval (`202 APPROVAL_REQUIRED`). Once it is approved, re-send it with `Partner-Approval-Id`. The amount compared is the highest new or changed price in the request.\n\n**Errors**\n\n- `403 PRICE_NOT_PERMITTED` — the request sets or changes a price without the `money:marketplace` consent. `details.requiredScope` names the scope.\n- `403 CREATOR_SUSPENDED` — the creator's account does not currently allow marketplace offers (`MARKETPLACE_OFFER`).\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:marketplace`.\n\n**Approval:** setting or changing `packages[].price`, `addons[].price` runs through [action approval](/approvals).","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks marketplace offers (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceMarketplaceListingOfferRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/pause":{"post":{"operationId":"marketplace_pauseMarketplaceListing","summary":"Pause a listing","description":"Pauses one of the creator's listings. Pausing is reversible: `POST /partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/publish` resumes the listing.\n\nA suspended creator's listing can be paused too, because a suspension never stops a listing being taken down.\n\nThe listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceVersionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/presentation":{"patch":{"operationId":"marketplace_updateMarketplaceListingPresentation","summary":"Replace a listing's presentation","description":"Replaces the title, description and buyer instructions of one of the creator's listings.\n\nThe listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMarketplaceListingPresentationRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/publish":{"post":{"operationId":"marketplace_publishMarketplaceListing","summary":"Publish a listing","description":"Publishes one of the creator's listings, or resumes a paused one.\n\nThe creator's account must allow marketplace offers (`MARKETPLACE_OFFER`). An archived listing cannot be published. The listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Errors**\n\n- `409 INVALID_TRANSITION` — the listing is archived.\n- `403 CREATOR_SUSPENDED` — the creator's account does not currently allow marketplace offers.\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Creator access was refused (see `CreatorForbidden`), or the creator's account status blocks the marketplace action. `CREATOR_SUSPENDED` means the account status blocks `MARKETPLACE_OFFER`, exactly as on the creator's own route, with `details.action`, `details.reasonCode` and `details.until`. If the account status cannot be read, the answer is `503 CREATOR_STANDING_UNAVAILABLE`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceVersionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/samples":{"get":{"operationId":"marketplace_getMarketplaceListingSamples","summary":"Get a listing's samples","description":"Returns the sample strip of one of the creator's listings: its media asset references, in order.\n\nThe listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"put":{"operationId":"marketplace_replaceMarketplaceListingSamples","summary":"Replace a listing's samples","description":"Replaces the sample strip of one of the creator's listings with the creator's own ready images.\n\nEvery asset must be the creator's own ready image. The listing's `creatorRef` is the creator's `creatorId`, the same value as in the path.\n\n**Errors**\n\n- `409 SAMPLE_ASSET_UNUSABLE` — an asset is not the creator's own ready image.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceMarketplaceListingSamplesRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/listings/{listingRef}/terms":{"patch":{"operationId":"marketplace_updateMarketplaceListingTerms","summary":"Replace a listing's terms","description":"Replaces the terms of one of the creator's listings, price included.\n\n**Price**\n\nA request that sets no price and changes none is an ordinary call. A request that sets or changes the price, compared with the version it names in `expectedVersion`, also needs your application's `money:marketplace` consent.\n\nSuch a request goes through [action approval](/approvals): it runs within the agency's rule and its own automatic limits, with no platform ceiling, or waits for a person's approval (`202 APPROVAL_REQUIRED`). Once it is approved, re-send it with `Partner-Approval-Id`. The amount compared is the highest new or changed price in the request.\n\n**Errors**\n\n- `403 PRICE_NOT_PERMITTED` — the request sets or changes the price without the `money:marketplace` consent. `details.requiredScope` names the scope.\n- `403 CREATOR_SUSPENDED` — the creator's account does not currently allow marketplace offers (`MARKETPLACE_OFFER`).\n- `503 CREATOR_STANDING_UNAVAILABLE` — the creator's account status cannot be read right now.\n\n**Required scopes:** `write:marketplace`.\n\n**Approval:** setting or changing `terms.price` runs through [action approval](/approvals).","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"listingRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceListing"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator (`GRANT_REVOKED`, `INSUFFICIENT_SCOPE`, …), or the creator's account status blocks marketplace offers (`CREATOR_SUSPENDED`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMarketplaceListingTermsRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/negotiation-summaries":{"get":{"operationId":"marketplace_listMarketplaceNegotiationSummaries","summary":"List negotiation summaries","description":"Lists the title and current price of up to 50 negotiations you name in `proposals`.\n\nNegotiations in which the creator is the buyer are left out, like missing ones. Wherever the answer names the creator in a `creatorRef`, the value is the creator's `creatorId`, the same as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposals","in":"query","description":"Comma-separated negotiation references, 1 to 50.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/orders/{orderRef}/delivery":{"get":{"operationId":"marketplace_getMarketplaceSellerDelivery","summary":"Get an order's delivery","description":"Returns what the creator delivered on one of their marketplace orders.\n\nWherever the answer names the creator in a `creatorRef`, the value is the creator's `creatorId`, the same as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"orderRef","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals":{"get":{"operationId":"marketplace_listMarketplaceNegotiations","summary":"List negotiations","description":"Lists the negotiations in which the creator is the seller, newest first, one page at a time.\n\n**Pagination**\n\nSend `limit` for the page size: default 25, at most 100. For the next page, send the previous page's `nextCursor` as `cursor`. A page may hold fewer items than `limit`, even none, while more follow, so stop only when `nextCursor` is `null`. See [pagination](/conventions/pagination).\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator as the `creatorId` in `creatorRef`.\n\n**Errors**\n\n- `400 INVALID_CURSOR` — `cursor` is malformed or came from another list.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The maximum number of negotiations on a page, default 25. A value above 100 counts as 100. A page may hold fewer, even none, while `nextCursor` is set.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, exactly as you received it. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"state","in":"query","description":"Optional. Returns only the negotiations in this state.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMarketplaceProposalsGetParametersState"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceNegotiationPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"marketplace_openMarketplaceNegotiation","summary":"Open a negotiation","description":"Opens a negotiation on a custom request sent to the creator, with the creator's opening offer.\n\nSeller side only: `subject.kind` is `CUSTOM_REQUEST`. A negotiation on a listing is opened by a buyer, so it is refused here.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nThe amount compared with the limits is the opening offer's price, `terms.price`. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"The negotiation already exists: a retry with the same `Idempotency-Key` and request, or a negotiation that was already opened.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenMarketplaceNegotiationRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}":{"get":{"operationId":"marketplace_getMarketplaceNegotiation","summary":"Get a negotiation","description":"Returns one negotiation in which the creator is the seller.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Errors**\n\n- `404` — the creator is the buyer in this negotiation, or it does not exist. Both answer the same way.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceNegotiation"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}/accept":{"post":{"operationId":"marketplace_acceptMarketplaceNegotiation","summary":"Accept a negotiation offer","description":"Accepts the current offer in one of the creator's negotiations.\n\nAccepting is a financial commitment. Name the offer you accept in `expectedStandingOffer`.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nThe amount compared with the limits is the price of the offer accepted (`expectedStandingOffer`), as the seller side reads it. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceNegotiationTransitionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}/counter":{"post":{"operationId":"marketplace_counterMarketplaceNegotiation","summary":"Send a counter-offer","description":"Counters the current offer in one of the creator's negotiations with new terms.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nThe amount compared with the limits is the counter-offer's price, `terms.price`. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounterMarketplaceNegotiationRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}/decline":{"post":{"operationId":"marketplace_declineMarketplaceNegotiation","summary":"Decline a negotiation offer","description":"Declines the current offer in one of the creator's negotiations.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceNegotiationTransitionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}/offers":{"get":{"operationId":"marketplace_listMarketplaceNegotiationOffers","summary":"List a negotiation's offers","description":"Lists the complete offer chain of one of the creator's negotiations.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}/withdraw":{"post":{"operationId":"marketplace_withdrawMarketplaceNegotiation","summary":"Withdraw a negotiation offer","description":"Withdraws the creator's own current offer in a negotiation.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nNo amount is compared: withdrawing only takes the creator's own offer off the table. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceNegotiationTransitionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/inbox":{"get":{"operationId":"marketplace_listMarketplaceInboxRequests","summary":"List custom requests","description":"Lists the custom requests buyers sent to the creator, newest first, one page at a time.\n\nOnly sent requests are listed: a buyer's draft never appears.\n\n**Pagination**\n\nSend `limit` for the page size: default 25, at most 100. For the next page, send the previous page's `nextCursor` as `cursor`. Stop when `nextCursor` is `null`. See [pagination](/conventions/pagination).\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator as the `creatorId` in `target.creator`.\n\n**Errors**\n\n- `400 INVALID_CURSOR` — `cursor` is malformed or came from another list.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The maximum number of requests on a page, default 25. A value above 100 counts as 100.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"cursor","in":"query","description":"The previous page's `nextCursor`, exactly as you received it. Omit it for the first page.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"state","in":"query","description":"Optional. Returns only the requests in this state.","required":false,"schema":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdMarketplaceRequestsInboxGetParametersState"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceCustomRequestPage"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/inbox/{requestRef}":{"get":{"operationId":"marketplace_getMarketplaceInboxRequest","summary":"Get a custom request","description":"Returns one custom request sent to the creator.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"requestRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceInboxRequest"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/inbox/{requestRef}/decline":{"post":{"operationId":"marketplace_declineMarketplaceInboxRequest","summary":"Decline a custom request","description":"Declines a custom request sent to the creator.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"requestRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceVersionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/matches":{"get":{"operationId":"marketplace_listMarketplaceMatches","summary":"List invitations","description":"Lists the invitations offered to the creator.\n\nAn invitation is a request match: a match between a request and the creator. Wherever the answer names the creator in a `creatorRef`, the value is the creator's `creatorId`, the same as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"limit","in":"query","description":"The maximum number of invitations to return, at most 100.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/matches/{matchRef}":{"get":{"operationId":"marketplace_getMarketplaceMatch","summary":"Get an invitation","description":"Returns one invitation offered to the creator.\n\nWherever the answer names the creator in a `creatorRef`, the value is the creator's `creatorId`, the same as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"matchRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/matches/{matchRef}/accept":{"post":{"operationId":"marketplace_acceptMarketplaceMatch","summary":"Accept an invitation","description":"Accepts an invitation offered to the creator.\n\nThe checks of the creator's own marketplace apply, including the eligible-pair and withheld-seller checks.\n\n**Action approval**\n\nYour application can run this operation only through [action approval](/approvals): within the agency's rule and its own automatic limits, or with a person's approval. There is no platform ceiling. When a person must approve, you receive `202 APPROVAL_REQUIRED`; once it is approved, re-send the same request with `Partner-Approval-Id`.\n\nNo amount is compared, because answering an invitation agrees no price: only the daily count of actions applies. The creator's own marketplace rules apply on every path, an approved request included.\n\n**Required scopes:** `money:marketplace`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"matchRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"`MATCH_EXPIRED` — the invitation's answer deadline passed; `details` carries the invitation as it stands.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceEmptyRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/requests/matches/{matchRef}/decline":{"post":{"operationId":"marketplace_declineMarketplaceMatch","summary":"Decline an invitation","description":"Declines an invitation offered to the creator.\n\nWherever the answer names the creator in a `creatorRef`, the value is the creator's `creatorId`, the same as in the path.\n\n**Required scopes:** `write:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"matchRef","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every marketplace write: 1..200 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. The same key with the same request answers the first outcome again (`200`); with a different request it is `409 DIGEST_CONFLICT`.","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"`MATCH_EXPIRED` — the invitation's answer deadline passed; `details` carries the invitation as it stands.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceEmptyRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/workspace":{"get":{"operationId":"marketplace_getMarketplaceWorkspace","summary":"Get the marketplace workspace","description":"Returns the creator's marketplace workspace: orders, disputes, escrow, best sellers and slots.\n\n**Money**\n\nUnless the creator's consent covers `read:revenue`, the aggregated money is `null`: every order's `share`, every escrow line's `amount` and every best seller's `revenue`. An order's `price` is returned either way.\n\n**Identifiers**\n\nThe answer contains no platform account id. A buyer appears as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms) in `buyerRef`, and the creator's account as `creatorId`.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"states","in":"query","description":"Optional. Works as in the creator's own workspace, for example `?states=contested`.","required":false,"schema":{"type":"string"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/marketplace/workspace/counts":{"get":{"operationId":"marketplace_getMarketplaceWorkspaceCounts","summary":"Get the workspace counts","description":"Returns the marketplace workspace badge, which counts the creator's new paid orders.\n\nWherever the answer names the creator in a `creatorRef`, the value is the creator's `creatorId`, the same as in the path.\n\n**Required scopes:** `read:marketplace`.","tags":["marketplace"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketplaceDocument"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations":{"get":{"operationId":"ai_listAiAutomations","summary":"List AI automations","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nLists the creator's AI automations.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's automations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiItems"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"ai_createAiAutomation","summary":"Create an AI automation","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nCreates an AI automation for the creator.\n\nThe new automation is not approved: it waits for the creator. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `write:ai`, `write:automations`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"201":{"description":"Created. The automation is not approved yet: it waits for the creator.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomationCreateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/{automationRef}":{"get":{"operationId":"ai_getAiAutomation","summary":"Get an AI automation","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nReturns one AI automation at its live revision.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One automation at its live revision.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomation"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/{automationRef}/events":{"get":{"operationId":"ai_listAiAutomationEvents","summary":"List an automation's changes","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nLists who changed an AI automation, and when.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Who changed this automation, and when.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiItems"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/{automationRef}/projection":{"get":{"operationId":"ai_getAiAutomationProjection","summary":"Preview an automation run","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nReturns what a run of the AI automation would do, computed read-only.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"What a run would do, computed read-only.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiOpaqueObject"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/{automationRef}/revisions":{"post":{"operationId":"ai_publishAiAutomationRevision","summary":"Publish an AI automation edit","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nPublishes an edit of an AI automation as a new revision.\n\nThe automation's earlier approval does not carry over: the new revision waits until the creator approves it. Sending `approve: true` also needs `write:automations:enable`, which is not in a creator's default consent ([scopes and grants](/authentication/scopes)).\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `write:ai`, `write:automations`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"201":{"description":"Published. The automation's earlier approval stays behind until the creator approves this revision.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomationRevisionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/{automationRef}/runs":{"get":{"operationId":"ai_listAiAutomationRunsFor","summary":"List an automation's runs","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nLists the recent runs of one AI automation.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"That automation's recent runs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiItems"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"ai_runAiAutomationNow","summary":"Run an AI automation now","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nStarts a run of an AI automation now, or rehearses it.\n\nA rehearsal (`dryRun: true`) decides everything and contacts nobody. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `write:ai`, `write:automations`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the run it started, not a new one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiOpaqueObject"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomationRunRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/{automationRef}/state":{"post":{"operationId":"ai_setAiAutomationState","summary":"Change an AI automation's state","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nDisables, pauses or resumes an AI automation, or enables it.\n\nDisabling, pausing and resuming need only `write:ai` and `write:automations`. Enabling (`enabled: true`) approves the automation and also needs `write:automations:enable`, which is not in a creator's default consent.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `write:ai`, `write:automations`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"automationRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"The automation after the change.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomation"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomationStateRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/capabilities":{"get":{"operationId":"ai_getAiAutomationCapabilities","summary":"Get AI automation vocabularies","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nReturns the vocabularies an AI automation form needs.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The vocabularies an automation form needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAutomationCapabilities"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/runs":{"get":{"operationId":"ai_listAiAutomationRuns","summary":"List recent AI automation runs","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nLists recent runs across all of the creator's AI automations.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recent runs across the creator's automations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiItems"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/runs/{runRef}":{"get":{"operationId":"ai_getAiAutomationRun","summary":"Get an AI automation run","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nReturns one AI automation run, its recipients and what happened to each.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"runRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One run, its recipients and what happened to each.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiOpaqueObject"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/automations/runs/{runRef}/cancel":{"post":{"operationId":"ai_cancelAiAutomationRun","summary":"Stop an AI automation run","description":"Not yet available: AI automations are switched off, and this operation answers `404 NOT_FOUND` until EVVA turns them on.\n\nStops a live AI automation run.\n\nA run that has already settled also answers `200`. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `404 NOT_FOUND` — also the answer while the platform's AI automations are switched off. Every automation operation then answers it once your application's authorization passes, exactly as for the creator's own requests.\n\n**Required scopes:** `write:ai`, `write:automations`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"runRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Stopped, or the run had already settled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiOpaqueObject"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/copilot/proposals/{proposalRef}/approve":{"post":{"operationId":"ai_approveAiCopilotProposal","summary":"Approve a copilot proposal","description":"Approves an action the Copilot, EVA, proposed for the creator.\n\nEVVA first checks your application's own rights against the action the proposal actually carries out:\n\n- `send_fan_message` needs `write:messages` and `write:messages:automated`.\n- `generate_voice` and `generate_image` need `write:ai` and `write:ai:voice`.\n- `read_creator_overview`, `read_content_engagement` and `read_link_traffic` need `read:analytics`.\n- `draft_post` and `draft_fan_message` need nothing more.\n- `read_account_balance` is never available to an application. It is refused with `403 FORBIDDEN`, and so is any\n  action EVVA cannot classify.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Sending a message**\n\nApproving a `send_fan_message` proposal sends a message, so the request body declares its `authorship` exactly as a send does (`AI_AUTOMATED`, or a person's authorship with `operatorRef`). The send limits of every message your application sends\napply ([rate limits](/authentication/rate-limits)). Over a limit, you receive `429 TOO_MANY_MESSAGES`; if EVVA cannot\ncheck the limits, `503 SERVICE_UNAVAILABLE`. Both come with `Retry-After`, and the proposal stays undecided.\n\nThe message is coordinated like any send, but this call carries no `fencingToken`. If coordination refuses it, for\nexample because a lease on the conversation is live, you receive `422 TOOL_REFUSED` and the proposal is recorded as\nfailed ([conversation leases](/conversation-leases)).\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `400 AUTHORSHIP_REQUIRED` / `AUTHORSHIP_INVALID` / `OPERATOR_REF_REQUIRED` — a `send_fan_message` approval whose body does not declare the message's `authorship` (with `operatorRef` for a person's authorship). Nothing is sent.\n- `403 FORBIDDEN` — the action is `read_account_balance`, or EVVA cannot classify it.\n- `422 TOOL_REFUSED` — the proposed message could not be sent. The proposal is recorded as failed.\n- `429 TOO_MANY_MESSAGES` — a send limit is full. `details.level` names the level that refused.\n- `503 SERVICE_UNAVAILABLE` — the send limits cannot be checked. Nothing was sent.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Decided. A proposal that was already decided also answers `200`, with `alreadyDecided: true`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCopilotProposalDecision"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The creator's AI settings refused the act — the same answer the creator gets: `POLICY_REFUSED`, `CONSENT_REFUSED`, `ALLOWANCE_EXHAUSTED`, `PROVIDER_UNAVAILABLE`, `SEND_REFUSED`, … The message is EVVA's own wording.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCopilotProposalApproveRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/copilot/proposals/{proposalRef}/reject":{"post":{"operationId":"ai_rejectAiCopilotProposal","summary":"Reject a copilot proposal","description":"Rejects an action the Copilot, EVA, proposed for the creator.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"proposalRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"Decided. A proposal that was already decided also answers `200`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCopilotProposalDecision"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/copilot/turns":{"post":{"operationId":"ai_submitAiCopilotTurn","summary":"Submit a copilot turn","description":"Sends a prompt to the Copilot, EVA, on the creator's behalf.\n\nThe answer arrives asynchronously. A turn produces an answer, actions the Copilot ran automatically, and proposals that wait for a decision. A refused step is recorded as `TOOL_NOT_PERMITTED`. The creator's own AI permissions and consents still decide every step.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it accepts a turn, so tell the two answers apart by `code`.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the turn it submitted, not a new one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCopilotTurnEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The creator's AI settings refused the act — the same answer the creator gets: `POLICY_REFUSED`, `CONSENT_REFUSED`, `ALLOWANCE_EXHAUSTED`, `PROVIDER_UNAVAILABLE`, `SEND_REFUSED`, … The message is EVVA's own wording.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCopilotTurnRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/copilot/turns/{turnRef}":{"get":{"operationId":"ai_getAiCopilotTurn","summary":"Get a copilot turn","description":"Returns a Copilot turn as the creator reads it: the answer, the automatic actions and the proposals waiting.\n\nYour application reads only its own turns. The creator's personal assistant conversation may quote fan data, so it is never an application's to read.\n\nSubmitting turns and acting on proposals go through [action approval](/approvals).\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"turnRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The turn: answer, automatic actions, proposals waiting.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCopilotTurnEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/copilot/voice":{"post":{"operationId":"ai_submitAiVoice","summary":"Generate speech","description":"Generates speech for the creator, only where the creator's own voice permission and live consent allow it.\n\nEVVA reads the permission and the consent again for every request. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it accepts the request, so tell the two answers apart by `code`.\n\n**Errors**\n\n- `403 AI_IDENTITY_CREATOR_ONLY` — `intent: CLONE`. It builds a durable voice model, which is an identity, and only the creator may do that.\n\n**Required scopes:** `write:ai`, `write:ai:voice`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the first request's answer, not a new generation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiVoiceAccepted"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The creator's AI settings refused the act — the same answer the creator gets: `POLICY_REFUSED`, `CONSENT_REFUSED`, `ALLOWANCE_EXHAUSTED`, `PROVIDER_UNAVAILABLE`, `SEND_REFUSED`, … The message is EVVA's own wording.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiVoiceRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/fan-replies/sends":{"post":{"operationId":"ai_sendAiFanReply","summary":"Send an AI-assisted fan reply","description":"Sends an AI-assisted reply to a fan as an ordinary message from the creator.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Authorship**\n\nYour application declares `authorship` within the creator's consent, with `operatorRef` for a person's authorship. See [message authorship](/message-authorship).\n\n**Coordination**\n\nThe reply is coordinated like a plain send, `POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages`: the conversation lease and its `fencingToken`, the pause\nafter a person's reply, handoffs, and `expectedLastMessageId` ([conversation leases](/conversation-leases)).\n\nOnly the answer differs. Where a plain send is refused with `409 LEASE_HELD`, `409 STALE_FENCING_TOKEN`,\n`409 AUTOMATION_PAUSED` or `409 CONVERSATION_ADVANCED`, this operation answers `422 SEND_REFUSED` without\n`Retry-After`, and nothing is sent. Read the conversation's coordination state with\n`GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/lease` before you try again.\n\n`takeover` is for people on the agency's team only. If your application sends `takeover: true`, the request is\nrefused with `400 INVALID_REQUEST`.\n\n**Limits**\n\nThe reply counts against the same send limits as every message your application sends\n([rate limits](/authentication/rate-limits)). Over a limit, you receive `429 TOO_MANY_MESSAGES`. If EVVA cannot\ncheck the limits, you receive `503 SERVICE_UNAVAILABLE`. Both come with `Retry-After`, and nothing is written. A\nretry of a reply that was already sent, with the same `Idempotency-Key`, costs nothing.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `400 INVALID_REQUEST` — `takeover: true` from your application, or a malformed `fencingToken` or\n  `expectedLastMessageId`.\n- `422 SEND_REFUSED` — the message was not delivered. Every coordination refusal answers this code. Nothing was sent.\n- `429 TOO_MANY_MESSAGES` — a send limit is full. `Retry-After` says when to retry: `details.retryAfterSec` gives the\n  same wait, and `details.level` names the level that refused.\n- `503 SERVICE_UNAVAILABLE` — the send limits cannot be checked, and nothing was written. Retry after `Retry-After`.\n\n**Required scopes:** `write:ai`, `write:messages`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the same message, not a second one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiFanReplySent"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The creator's AI settings refused the act — the same answer the creator gets: `POLICY_REFUSED`, `CONSENT_REFUSED`, `ALLOWANCE_EXHAUSTED`, `PROVIDER_UNAVAILABLE`, `SEND_REFUSED`, … The message is EVVA's own wording.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many messages (`TOO_MANY_MESSAGES`, `details.level` names the limit) or rate limited (`RATE_LIMIT_EXCEEDED`). Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiFanReplySendRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/fan-replies/suggestions":{"post":{"operationId":"ai_createAiFanReplySuggestion","summary":"Draft a reply to a fan","description":"Starts an AI draft of a reply to a fan, which you read back by its `generationRef`.\n\nRead the draft with `GET /partner/v1/accounts/{creatorId}/ai/fan-replies/suggestions/{suggestionRef}`. The call also needs `read:messages`, because a draft reads the conversation.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it accepts a draft, so tell the two answers apart by `code`.\n\n**Required scopes:** `write:ai`, `read:messages`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the draft it started, not a new one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiFanReplySuggestionAccepted"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The creator's AI settings refused the act — the same answer the creator gets: `POLICY_REFUSED`, `CONSENT_REFUSED`, `ALLOWANCE_EXHAUSTED`, `PROVIDER_UNAVAILABLE`, `SEND_REFUSED`, … The message is EVVA's own wording.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiFanReplySuggestionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/fan-replies/suggestions/{suggestionRef}":{"get":{"operationId":"ai_getAiFanReplySuggestion","summary":"Get a drafted reply","description":"Returns a drafted reply to a fan: `PENDING`, `READY` with its text, or `FAILED`.\n\n**Required scopes:** `read:ai`, `read:messages`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"suggestionRef","in":"path","description":"The `generationRef` a suggestion request answered.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The draft's state: `PENDING`, `READY` with the text, or `FAILED`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiFanReplySuggestion"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/identity":{"get":{"operationId":"ai_getAiIdentityMinimal","summary":"Get the creator's AI identity","description":"Returns which of the creator's AI permissions are on, and whether a live consent covers likeness and voice.\n\nIt never returns the persona, identity media or consent references. Nothing in the Partner API writes the creator's AI identity, permissions or consents.\n\n**Errors**\n\n- `404` — also the answer while the creator AI identity features are switched off.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The minimal AI-identity read.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiIdentityMinimalEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/images":{"post":{"operationId":"ai_createAiStudioImage","summary":"Generate an AI image","description":"Starts an AI Studio image generation for the creator.\n\nThe generation is accepted durably and finishes later. Read it with `GET /partner/v1/accounts/{creatorId}/ai/studio/images/{generationRef}`.\n\nA picture of the creator (`options.subject: CREATOR`) needs `write:ai:voice` on top of `write:ai`. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it accepts a generation, so tell the two answers apart by `code`.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`, or a generation that was refused or failed at submit. Its record says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenerationEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiStudioImageRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/images/{generationRef}":{"get":{"operationId":"ai_getAiStudioImage","summary":"Get an image generation","description":"Returns an AI Studio image generation's status and canonical results.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"generationRef","in":"path","description":"A generation reference; a malformed one, or another creator's, answers 404.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status and canonical results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenerationEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/images/{generationRef}/cancel":{"post":{"operationId":"ai_cancelAiStudioImage","summary":"Cancel an image generation","description":"Cancels an AI Studio image generation.\n\nThe cancel itself takes no `Idempotency-Key`, as for the creator: cancelling twice is one act. Your application still sends one, because [action approval](/approvals) requires it. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"generationRef","in":"path","description":"A generation reference; a malformed one, or another creator's, answers 404.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Your key for this request, required because the operation may need approval. Action approval claims an approval, or reserves the agency's automatic budget, under this key; without it the request is `400 IDEMPOTENCY_KEY_REQUIRED` before anything is asked, reserved or done.\n\n- The same request re-sent with the same key, with its `Partner-Approval-Id` or after an automatic pass, is that request again. It never has a second effect, also when copies arrive at the same time.\n- Where the operation stores its result under the key, you get that result again. Otherwise the answer is `409` with `details.replay: true`: `APPROVAL_CONSUMED` after an approval, `IDEMPOTENCY_KEY_REUSED` after an automatic pass. Read the resource to see the result.\n- The same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`, without `details.replay`.\n- An approval already spent under another key is `409 APPROVAL_CONSUMED`.\n\nThe key is scoped to your application. See [action approval](/approvals).","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"The outcome: `CANCELLED` when the work will not happen, or `CANCELLATION_REQUESTED` when a provider already has it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiStudioCancelResult"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/images/{generationRef}/family":{"get":{"operationId":"ai_getAiStudioImageFamily","summary":"List an image generation's family","description":"Lists every attempt at the same idea as this image generation.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"generationRef","in":"path","description":"A generation reference; a malformed one, or another creator's, answers 404.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Every attempt at one idea.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenerationList"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/images/{generationRef}/rerolls":{"post":{"operationId":"ai_rerollAiStudioImage","summary":"Request an image reroll","description":"Starts a new generation that asks the same thing again, with this generation recorded as its parent.\n\nRerolling a picture of the creator needs `write:ai:voice` on top of `write:ai`. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it accepts the reroll, so tell the two answers apart by `code`.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"generationRef","in":"path","description":"A generation reference; a malformed one, or another creator's, answers 404.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`, or a reroll that was refused or failed at submit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenerationEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/images/{generationRef}/variations":{"post":{"operationId":"ai_varyAiStudioImage","summary":"Request an image variation","description":"Starts a new generation that asks with something changed, with this generation recorded as its parent.\n\nA variation that pictures the creator, whether asked for or inherited, needs `write:ai:voice` on top of `write:ai`. Where the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it accepts the variation, so tell the two answers apart by `code`.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"generationRef","in":"path","description":"A generation reference; a malformed one, or another creator's, answers 404.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`, or a variation that was refused or failed at submit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenerationEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiStudioVariationRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/studio/presets":{"get":{"operationId":"ai_listAiStudioPresets","summary":"List AI image presets","description":"Lists the AI Studio presets, EVVA's provider-neutral Studio vocabulary.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The provider-neutral Studio vocabulary.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiStudioPresets"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows":{"get":{"operationId":"ai_listAiWorkflows","summary":"List workflow recipes","description":"Lists the workflow recipes the creator can read, each with its head revision.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recipes readable by the creator, each with its head revision.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowList"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"ai_createAiWorkflow","summary":"Create a workflow recipe","description":"Creates a workflow recipe for the creator.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `403 AI_IDENTITY_CREATOR_ONLY` — the recipe has a `VOICE_CLONE` step.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowDefinitionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/{workflowRef}":{"get":{"operationId":"ai_getAiWorkflow","summary":"Get a workflow recipe","description":"Returns one workflow recipe at its head revision.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"workflowRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One recipe at its head revision.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/{workflowRef}/revisions":{"post":{"operationId":"ai_publishAiWorkflowRevision","summary":"Publish a new workflow revision","description":"Publishes a new revision of a workflow recipe.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `403 AI_IDENTITY_CREATOR_ONLY` — the definition has a `VOICE_CLONE` step.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"workflowRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"201":{"description":"Published.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowDefinitionRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/{workflowRef}/revisions/{revision}":{"get":{"operationId":"ai_getAiWorkflowRevision","summary":"Get a workflow revision","description":"Returns one revision of a workflow recipe by its number, exactly as a run uses it.\n\nA published revision never changes, and a run stays fixed to the revision it started with. To change a recipe,\npublish a new revision with `POST /partner/v1/accounts/{creatorId}/ai/workflows/{workflowRef}/revisions`.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"workflowRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"revision","in":"path","required":true,"schema":{"type":"integer","minimum":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The revision, exactly as a run that uses it sees it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/remixes":{"post":{"operationId":"ai_remixAiWorkflow","summary":"Create a recipe from a run","description":"Creates a new workflow recipe built on an earlier workflow run.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`.\n\n**Errors**\n\n- `403 AI_IDENTITY_CREATOR_ONLY` — the definition has a `VOICE_CLONE` step.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowRemixRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/runs":{"get":{"operationId":"ai_listAiWorkflowRuns","summary":"List workflow runs","description":"Lists the creator's workflow runs, optionally only those of one recipe.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"workflow","in":"query","description":"A workflow recipe's reference: only that recipe's runs are listed. 1 to 64 letters, digits, `_` or `-`.","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The creator's runs, only one recipe's when `?workflow=` is set.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowRunList"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]},"post":{"operationId":"ai_startAiWorkflowRun","summary":"Start a workflow run","description":"Starts a run of a workflow recipe for the creator.\n\nThe run uses the `revision` you name, or else the recipe's head revision when the run starts. That revision is fixed\nfor the run: a published revision never changes.\n\n**Voice and likeness**\n\nYour application also needs `write:ai:voice` when the revision speaks or pictures the creator, or when a binding is\nan `IDENTITY` binding. A revision speaks when one of its steps produces audio, and pictures the creator when its\ndefault options set `subject` to `CREATOR`. A revision with a `VOICE_CLONE` step is refused: only the creator can\nbuild their own voice.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it starts the run, so tell the two answers apart by `code`.\n\n**Errors**\n\n- `403 AI_IDENTITY_CREATOR_ONLY` — the revision has a `VOICE_CLONE` step.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the same run, not a second one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowRunEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowRunRequest"}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/runs/{runRef}":{"get":{"operationId":"ai_getAiWorkflowRun","summary":"Get a workflow run","description":"Returns one workflow run, its nodes and its outputs.\n\nLike the creator's own poll, reading the run advances it, idempotently. The read continues work that was already started and charged; it never starts new work.\n\n**Required scopes:** `read:ai`.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"runRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One run, its nodes and its outputs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowRunEnvelope"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The AI act was refused for this creator.\n\n- Creator access refused: `CREATOR_CONTEXT_MISMATCH`, `GRANT_REVOKED`, `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING`, `AGENCY_SUSPENDED` or `FORBIDDEN`. This includes a second right the act needs, such as `write:ai` and `write:ai:voice`, or `write:messages`, and a creator account that no longer holds the CREATOR capability.\n- `CREATOR_PROFILE_REQUIRED`.\n- `AI_IDENTITY_CREATOR_ONLY` — enrolling the creator's voice or likeness is the creator's alone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}},"/partner/v1/accounts/{creatorId}/ai/workflows/runs/{runRef}/reruns":{"post":{"operationId":"ai_rerunAiWorkflowRun","summary":"Run a workflow revision again","description":"Starts a new run of the same workflow revision as an earlier run.\n\nThe new run uses the earlier run's revision and the same bindings, never the recipe's current head. So the earlier\nrun decides what the rerun needs, exactly as for a start.\n\n**Voice and likeness**\n\nYour application also needs `write:ai:voice` when the revision speaks or pictures the creator, or when a binding is\nan `IDENTITY` binding. A revision speaks when one of its steps produces audio, and pictures the creator when its\ndefault options set `subject` to `CREATOR`. A revision with a `VOICE_CLONE` step is refused: only the creator can\nbuild their own voice.\n\nWhere the call uses AI, it spends the creator's AI allowance, exactly as the creator's own request does.\n\n**Agency policy**\n\nYour application's call goes through [action approval](/approvals). It runs automatically within the daily count the agency's own rule sets, or once an authorised person approves it. With no rule, you receive `202` with an `ApprovalRequired` body and nothing is done. After approval, send the same request again with `Partner-Approval-Id`. This operation also answers `202` when it starts the run, so tell the two answers apart by `code`.\n\n**Errors**\n\n- `403 AI_IDENTITY_CREATOR_ONLY` — the earlier run's revision has a `VOICE_CLONE` step.\n\n**Required scopes:** `write:ai`.\n\n**Approval:** this operation runs through [action approval](/approvals) for applications.","tags":["ai"],"parameters":[{"name":"creatorId","in":"path","description":"The creator profile id — the ONLY source of the creator a request acts for.","required":true,"schema":{"type":"string","minLength":1}},{"name":"runRef","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},{"name":"X-Creator-Id","in":"header","description":"Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Required on every AI write: 1..128 characters, otherwise `400 IDEMPOTENCY_KEY_REQUIRED`. EVVA never generates a key for you, because a generated key would turn a retry into a second charge. The same key answers the same act (`200`) and never reserves the allowance twice. The key is never echoed.","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"Partner-Approval-Id","in":"header","description":"The `approvalId` a previous `202 APPROVAL_REQUIRED` returned, for an operation your application may run only with approval. Re-send it with the same payload once a person has approved. A blank value is no approval.\n\nThe approval is spent once, for exactly that agency, application, creator, operation and payload digest, the same amount and currency, and at most the units it was given for. It is claimed for the request's `Idempotency-Key` (required) and becomes final when the operation succeeds:\n\n- A refusal before the effect, a `4xx` or `429`, hands it back for your next attempt.\n- A `5xx`, `503` included, keeps it claimed for this key, because the effect may have happened. It is handed back only when EVVA knows nothing was done.\n- The same key re-sent replays the request and never has a second effect. You get the stored result where the operation keeps one, otherwise `409 APPROVAL_CONSUMED` with `details.replay: true`: read the resource to see the result.\n- Another key is `409 APPROVAL_CONSUMED`.\n\nWhen the approval cannot be used, the request is refused with `403` (`APPROVAL_INVALID`, `APPROVAL_MISMATCH` or `APPROVAL_DECLINED`) or `409` (`APPROVAL_PENDING`, `APPROVAL_EXPIRED` or `APPROVAL_CONSUMED`). See [action approval](/approvals).","required":false,"schema":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"}}],"responses":{"200":{"description":"A retry with the same `Idempotency-Key`: the run it started, not a new one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiWorkflowRunEnvelope"}}}},"400":{"description":"Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not your creator, or a right the AI act needs is missing: `GRANT_REVOKED`, `OAUTH_SCOPE_MISSING`, `INSUFFICIENT_SCOPE`, `CREATOR_PROFILE_REQUIRED`, or `AI_IDENTITY_CREATOR_ONLY` (enrolling a voice or likeness is the creator's alone).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such resource, or it belongs to another creator: `NOT_FOUND` or a more specific code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Conflicts with the current state: `IDEMPOTENCY_KEY_REUSED` (the key was used for a different request), an approval that is still pending or already used, or a more specific code of the operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"500":{"description":"Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"applicationOAuth":[]}]}}},"tags":[{"name":"authentication","description":"Access tokens for integration applications (OAuth 2.0 client credentials) and their revocation."},{"name":"application","description":"The application's own description and what it may do right now."},{"name":"accounts","description":"The creators the application may act for, with its effective scopes for each."},{"name":"sandbox","description":"Simulated fan actions on synthetic creators, for sandbox applications only."},{"name":"events","description":"The durable event feed and consumer-group checkpoints."},{"name":"messaging","description":"Conversations and direct messages, acting as the creator."},{"name":"chat","description":"The creator's chat tools — history, search, reactions, pins, triage, saved replies and more."},{"name":"paidMessages","description":"Pay-per-view messages and their price quotes."},{"name":"bulk","description":"Batch operations with per-item results."},{"name":"conversationLeases","description":"Leases with fencing tokens, and handing a conversation to a person."},{"name":"massMessages","description":"Broadcasts to the creator's fans — draft, queue, cancel."},{"name":"automations","description":"The welcome opener and event-triggered message automations."},{"name":"fans","description":"The creator's fans, fan lists and notes."},{"name":"media","description":"The creator's media vault — list, upload, lifecycle."},{"name":"mediaVault","description":"Vault details — storage, processing status, usage, asking price, albums and tags."},{"name":"content","description":"The creator's profile, storefront, posts and comments."},{"name":"analytics","description":"The creator's analytics and revenue."},{"name":"links","description":"The creator's marketing links."},{"name":"orders","description":"The seller side of the creator's orders — delivery, claims, refund requests and the order chat."},{"name":"marketplace","description":"The creator's seller side of the marketplace — listings, requests, proposals and agreements."},{"name":"ai","description":"AI Studio, workflows, Copilot, voice and fan-reply assistance on the creator's own AI allowance."}],"servers":[{"url":"https://api.evvahub.com","description":"Production. Sandbox applications use the same host with `evpa_test_` tokens."}],"webhooks":{"webhooks_onConversationCreated":{"post":{"operationId":"webhooks_onConversationCreated","summary":"conversation.created","description":"A fan's first message opened a new conversation with the creator.\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnConversationCreatedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMessageReceived":{"post":{"operationId":"webhooks_onMessageReceived","summary":"message.received","description":"A fan sent the creator a message.\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMessageReceivedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMessageSent":{"post":{"operationId":"webhooks_onMessageSent","summary":"message.sent","description":"A message was sent as the creator — by the creator, the agency, a mass message, an automation or an application (`authorship` tells which).\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMessageSentPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMessageRead":{"post":{"operationId":"webhooks_onMessageRead","summary":"message.read","description":"The fan read the creator's messages up to an instant (withheld while read receipts are hidden).\n\n**Requires:** `read:receipts`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMessageReadPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMessageDelivered":{"post":{"operationId":"webhooks_onMessageDelivered","summary":"message.delivered","description":"The fan's app acknowledged delivery of the creator's messages up to an instant.\n\n**Requires:** `read:receipts`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMessageDeliveredPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onPpvPurchased":{"post":{"operationId":"webhooks_onPpvPurchased","summary":"ppv.purchased","description":"A fan bought a pay-per-view message.\n\n**Requires:** `read:messages` and `read:revenue`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnPpvPurchasedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onPpvRefunded":{"post":{"operationId":"webhooks_onPpvRefunded","summary":"ppv.refunded","description":"A pay-per-view purchase was refunded in full or in part.\n\n**Requires:** `read:messages` and `read:revenue`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnPpvRefundedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onSubscriberStarted":{"post":{"operationId":"webhooks_onSubscriberStarted","summary":"subscriber.started","description":"A fan subscribed to the creator.\n\n**Requires:** `read:subscribers`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnSubscriberStartedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onSubscriberRenewed":{"post":{"operationId":"webhooks_onSubscriberRenewed","summary":"subscriber.renewed","description":"A fan's subscription renewed.\n\n**Requires:** `read:subscribers`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnSubscriberRenewedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onSubscriberEnded":{"post":{"operationId":"webhooks_onSubscriberEnded","summary":"subscriber.ended","description":"A fan's subscription ended. Its `state` and `reason` are given only with `read:revenue`; without it both are `null` for every ending.\n\n**Requires:** `read:subscribers`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnSubscriberEndedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onTipReceived":{"post":{"operationId":"webhooks_onTipReceived","summary":"tip.received","description":"A fan tipped the creator on a message or a post.\n\n**Requires:** `read:messages` and `read:revenue`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnTipReceivedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderPaid":{"post":{"operationId":"webhooks_onOrderPaid","summary":"order.paid","description":"An order for the creator was paid.\n\n**Requires:** `read:orders` and `read:revenue`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderPaidPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderDelivered":{"post":{"operationId":"webhooks_onOrderDelivered","summary":"order.delivered","description":"The creator delivered an order.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderDeliveredPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderAccepted":{"post":{"operationId":"webhooks_onOrderAccepted","summary":"order.accepted","description":"The buyer accepted the delivery, or it was accepted automatically.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderAcceptedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderClaimOpened":{"post":{"operationId":"webhooks_onOrderClaimOpened","summary":"order.claim_opened","description":"The buyer opened a claim on an order.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderClaimOpenedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderClaimAnswered":{"post":{"operationId":"webhooks_onOrderClaimAnswered","summary":"order.claim_answered","description":"A claim on an order was answered.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderClaimAnsweredPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderClaimResolved":{"post":{"operationId":"webhooks_onOrderClaimResolved","summary":"order.claim_resolved","description":"A claim on an order was resolved.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderClaimResolvedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderRefundRequested":{"post":{"operationId":"webhooks_onOrderRefundRequested","summary":"order.refund_requested","description":"The buyer asked for a refund of an order.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderRefundRequestedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderRefundRequestDeclined":{"post":{"operationId":"webhooks_onOrderRefundRequestDeclined","summary":"order.refund_request_declined","description":"A refund request on an order was declined.\n\n**Requires:** `read:orders`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderRefundRequestDeclinedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onOrderRefunded":{"post":{"operationId":"webhooks_onOrderRefunded","summary":"order.refunded","description":"An order was refunded in full or in part.\n\n**Requires:** `read:orders` and `read:revenue`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnOrderRefundedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMarketplaceRequestChanged":{"post":{"operationId":"webhooks_onMarketplaceRequestChanged","summary":"marketplace.request.changed","description":"A marketplace request the creator takes part in changed state.\n\n**Requires:** `read:marketplace`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMarketplaceRequestChangedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMarketplaceMatchChanged":{"post":{"operationId":"webhooks_onMarketplaceMatchChanged","summary":"marketplace.match.changed","description":"A match between a request and the creator changed state.\n\n**Requires:** `read:marketplace`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMarketplaceMatchChangedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMarketplaceProposalChanged":{"post":{"operationId":"webhooks_onMarketplaceProposalChanged","summary":"marketplace.proposal.changed","description":"A proposal in a marketplace negotiation changed state.\n\n**Requires:** `read:marketplace`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMarketplaceProposalChangedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMarketplaceDealAccepted":{"post":{"operationId":"webhooks_onMarketplaceDealAccepted","summary":"marketplace.deal.accepted","description":"A marketplace deal was agreed.\n\n**Requires:** `read:marketplace`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMarketplaceDealAcceptedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onContentPublished":{"post":{"operationId":"webhooks_onContentPublished","summary":"content.published","description":"A post of the creator was published.\n\n**Requires:** `read:content`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnContentPublishedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onContentRetracted":{"post":{"operationId":"webhooks_onContentRetracted","summary":"content.retracted","description":"A published post was taken back.\n\n**Requires:** `read:content`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnContentRetractedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onContentRemoved":{"post":{"operationId":"webhooks_onContentRemoved","summary":"content.removed","description":"A post was removed.\n\n**Requires:** `read:content`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnContentRemovedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onContentReviewDecided":{"post":{"operationId":"webhooks_onContentReviewDecided","summary":"content.review_decided","description":"A review of a post was decided.\n\n**Requires:** `read:content`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnContentReviewDecidedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onCommentCreated":{"post":{"operationId":"webhooks_onCommentCreated","summary":"comment.created","description":"A comment was written on the creator's post or profile.\n\n**Requires:** `read:content`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnCommentCreatedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onCommentDeleted":{"post":{"operationId":"webhooks_onCommentDeleted","summary":"comment.deleted","description":"A comment was removed.\n\n**Requires:** `read:content`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnCommentDeletedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMediaQuarantined":{"post":{"operationId":"webhooks_onMediaQuarantined","summary":"media.quarantined","description":"A vault asset was put into quarantine.\n\n**Requires:** `read:media`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMediaQuarantinedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMediaReleased":{"post":{"operationId":"webhooks_onMediaReleased","summary":"media.released","description":"A quarantined vault asset was released.\n\n**Requires:** `read:media`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMediaReleasedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMediaBytesLost":{"post":{"operationId":"webhooks_onMediaBytesLost","summary":"media.bytes_lost","description":"The stored file of a vault asset was found missing.\n\n**Requires:** `read:media`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMediaBytesLostPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMassMessageDelivered":{"post":{"operationId":"webhooks_onMassMessageDelivered","summary":"mass_message.delivered","description":"A mass message finished sending to every recipient.\n\n**Requires:** `read:mass_messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMassMessageDeliveredPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onMassMessageFailed":{"post":{"operationId":"webhooks_onMassMessageFailed","summary":"mass_message.failed","description":"A mass message finished with some recipients not reached.\n\n**Requires:** `read:mass_messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnMassMessageFailedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onLeaseLost":{"post":{"operationId":"webhooks_onLeaseLost","summary":"lease.lost","description":"Your application lost its lease on a conversation.\n\n**Requires:** nothing. It is a notice to your application about itself.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/LeaseLostData","description":"The event's type-specific data: references and fixed values only, such as ids, roles and instants. It never carries a message body, an email, an amount or a buyer identity.\n\nEvery creator event (`conversation.*`, `message.*`, `ppv.*`, `subscriber.*`) also carries `data.buyerRef`: the reading application's pairwise [buyer pseudonym](/buyer-pseudonyms), not an identity. It is computed when the event is read and never stored with the shared event. Access events carry none.\n\n`buyerRef` is `null` when the event's buyer has no direct-message conversation with the creator, even where a REST read names that buyer (for example `subscriber.*` of a fan who never wrote). A `null` means \"this event does not name the buyer\", never \"another buyer\"; read the buyer over REST when it matters."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onLeaseAcquired":{"post":{"operationId":"webhooks_onLeaseAcquired","summary":"lease.acquired","description":"Someone took the lease on a conversation.\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/LeaseAcquiredData","description":"The event's type-specific data: references and fixed values only, such as ids, roles and instants. It never carries a message body, an email, an amount or a buyer identity.\n\nEvery creator event (`conversation.*`, `message.*`, `ppv.*`, `subscriber.*`) also carries `data.buyerRef`: the reading application's pairwise [buyer pseudonym](/buyer-pseudonyms), not an identity. It is computed when the event is read and never stored with the shared event. Access events carry none.\n\n`buyerRef` is `null` when the event's buyer has no direct-message conversation with the creator, even where a REST read names that buyer (for example `subscriber.*` of a fan who never wrote). A `null` means \"this event does not name the buyer\", never \"another buyer\"; read the buyer over REST when it matters."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onHandoffRequested":{"post":{"operationId":"webhooks_onHandoffRequested","summary":"handoff.requested","description":"A conversation was asked to be handed over.\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/HandoffRequestedData","description":"The event's type-specific data: references and fixed values only, such as ids, roles and instants. It never carries a message body, an email, an amount or a buyer identity.\n\nEvery creator event (`conversation.*`, `message.*`, `ppv.*`, `subscriber.*`) also carries `data.buyerRef`: the reading application's pairwise [buyer pseudonym](/buyer-pseudonyms), not an identity. It is computed when the event is read and never stored with the shared event. Access events carry none.\n\n`buyerRef` is `null` when the event's buyer has no direct-message conversation with the creator, even where a REST read names that buyer (for example `subscriber.*` of a fan who never wrote). A `null` means \"this event does not name the buyer\", never \"another buyer\"; read the buyer over REST when it matters."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onHandoffCompleted":{"post":{"operationId":"webhooks_onHandoffCompleted","summary":"handoff.completed","description":"A handoff was taken up.\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/HandoffCompletedData","description":"The event's type-specific data: references and fixed values only, such as ids, roles and instants. It never carries a message body, an email, an amount or a buyer identity.\n\nEvery creator event (`conversation.*`, `message.*`, `ppv.*`, `subscriber.*`) also carries `data.buyerRef`: the reading application's pairwise [buyer pseudonym](/buyer-pseudonyms), not an identity. It is computed when the event is read and never stored with the shared event. Access events carry none.\n\n`buyerRef` is `null` when the event's buyer has no direct-message conversation with the creator, even where a REST read names that buyer (for example `subscriber.*` of a fan who never wrote). A `null` means \"this event does not name the buyer\", never \"another buyer\"; read the buyer over REST when it matters."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onAutomationResumed":{"post":{"operationId":"webhooks_onAutomationResumed","summary":"automation.resumed","description":"A person handed the conversation back to automation.\n\n**Requires:** `read:messages`.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/AutomationResumedData","description":"The event's type-specific data: references and fixed values only, such as ids, roles and instants. It never carries a message body, an email, an amount or a buyer identity.\n\nEvery creator event (`conversation.*`, `message.*`, `ppv.*`, `subscriber.*`) also carries `data.buyerRef`: the reading application's pairwise [buyer pseudonym](/buyer-pseudonyms), not an identity. It is computed when the event is read and never stored with the shared event. Access events carry none.\n\n`buyerRef` is `null` when the event's buyer has no direct-message conversation with the creator, even where a REST read names that buyer (for example `subscriber.*` of a fan who never wrote). A `null` means \"this event does not name the buyer\", never \"another buyer\"; read the buyer over REST when it matters."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onGrantChanged":{"post":{"operationId":"webhooks_onGrantChanged","summary":"grant.changed","description":"Your application's access to a creator changed and still stands (`scopes` is the new set).\n\n**Requires:** nothing. It is a notice to your application about itself.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnGrantChangedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onAccessRevoked":{"post":{"operationId":"webhooks_onAccessRevoked","summary":"access.revoked","description":"Your application no longer reaches a creator.\n\n**Requires:** nothing. It is a notice to your application about itself.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnAccessRevokedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onApprovalRequested":{"post":{"operationId":"webhooks_onApprovalRequested","summary":"approval.requested","description":"One of your sensitive requests is waiting for a person in the agency.\n\n**Requires:** nothing. It is a notice to your application about itself.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnApprovalRequestedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onApprovalDecided":{"post":{"operationId":"webhooks_onApprovalDecided","summary":"approval.decided","description":"A person approved or declined your request, or the approval was revoked.\n\n**Requires:** nothing. It is a notice to your application about itself.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhooksOnApprovalDecidedPayloadContentApplicationJsonSchemaData","description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events)."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}},"webhooks_onWebhookEndpointUnreachable":{"post":{"operationId":"webhooks_onWebhookEndpointUnreachable","summary":"webhook.endpoint_unreachable","description":"One of your webhook endpoints has been failing long enough to reach a stage, or recovered.\n\n**Requires:** nothing. It is a notice to your application about itself.\n\nEVVA POSTs the event to the endpoint the agency registered for your application, signed per Standard Webhooks. Verify the signature before you trust the body ([verifying signatures](/webhooks/signatures)), deduplicate on `webhook-id`, and answer quickly — retries, ordering and replay are in [delivery, retries and replay](/webhooks/delivery).","parameters":[{"name":"webhook-id","in":"header","description":"The event's `eventId`. Deduplicate on it.","required":true,"schema":{"type":"string"}},{"name":"webhook-timestamp","in":"header","description":"This attempt's time in Unix seconds. Reject a timestamp more than 5 minutes from now.","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},{"name":"webhook-signature","in":"header","description":"Space-separated `v1,<base64 HMAC-SHA256>` entries, one per usable secret (two while a secret rotation overlaps), each over `<webhook-id>.<webhook-timestamp>.<raw body>`. See [Verifying signatures](/webhooks/signatures).","required":true,"schema":{"type":"string","pattern":"^v1,[A-Za-z0-9+/=]+( v1,[A-Za-z0-9+/=]+)*$"}}],"responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key. It is opaque and per application: the same event keeps it for your application on the feed, in realtime and in webhooks (`webhook-id`), across retries, replays and key rotations. Another application sees an unrelated id. It reveals no position in the event feed and no gaps."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string","description":"The application reading the feed."},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted, exclusive cursor: the position just after this event, which you can store as a checkpoint. It works only for your application, in its agency and environment. A webhook delivery's cursor starts with `whc1.` and is for correlation only; the event feed refuses it with `400 INVALID_CURSOR`."},"data":{"$ref":"#/components/schemas/WebhookEndpointUnreachableData","description":"The event's type-specific data: references and fixed values only, such as ids, roles and instants. It never carries a message body, an email, an amount or a buyer identity.\n\nEvery creator event (`conversation.*`, `message.*`, `ppv.*`, `subscriber.*`) also carries `data.buyerRef`: the reading application's pairwise [buyer pseudonym](/buyer-pseudonyms), not an identity. It is computed when the event is read and never stored with the shared event. Access events carry none.\n\n`buyerRef` is `null` when the event's buyer has no direct-message conversation with the creator, even where a REST read names that buyer (for example `subscriber.*` of a fan who never wrote). A `null` means \"this event does not name the buyer\", never \"another buyer\"; read the buyer over REST when it matters."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"]}}}}}}},"components":{"schemas":{"ApplicationTokenRevocationRequest":{"type":"object","properties":{"token":{"type":"string","minLength":1,"maxLength":4096},"token_type_hint":{"type":"string"},"client_id":{"type":"string"},"client_secret":{"type":"string"},"client_assertion_type":{"type":"string","enum":["urn:ietf:params:oauth:client-assertion-type:jwt-bearer"]},"client_assertion":{"type":"string"}},"required":["token"],"description":"RFC 7009 for an application token: `token` plus exactly one client authentication — HTTP Basic, `client_id` + `client_secret`, or `client_assertion_type` + `client_assertion`. `token_type_hint` is a hint only.","title":"ApplicationTokenRevocationRequest"},"Authentication_revokeToken_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"Authentication_revokeToken_Response_200"},"Error":{"type":"object","properties":{"code":{"type":"string","description":"A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1)."},"error":{"type":"string"},"details":{"description":"Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details."},"requestId":{"type":["string","null"],"description":"The same value as the `X-Request-Id` response header — quote it when reporting a problem."}},"required":["code","error","requestId"],"description":"The common error envelope. Branch on `code`; `error` is human-readable and may change.","title":"Error"},"OAuthTokenErrorError":{"type":"string","enum":["invalid_request","invalid_client","unauthorized_client","unsupported_grant_type","invalid_scope","temporarily_unavailable"],"title":"OAuthTokenErrorError"},"OAuthTokenError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/OAuthTokenErrorError"},"error_description":{"type":"string"}},"required":["error"],"description":"The error body of the token endpoint (`client_credentials`) and of application token revocation (RFC 7009), as defined by RFC 6749, section 5.2. It is not the `Error` envelope.\n\n- `400` — `invalid_request`, `unsupported_grant_type`, `invalid_scope` or `unauthorized_client`.\n- `401` — `invalid_client`: one constant body for every authentication failure, with `WWW-Authenticate: Basic` when HTTP Basic was attempted.\n- `503` — `temporarily_unavailable`, with `Retry-After`: a store the decision needs did not answer, and no token is issued when in doubt. Retry later.","title":"OAuthTokenError"},"RevokeTokenRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/OAuthTokenError"}],"title":"RevokeTokenRequestBadRequestError"},"RevokeTokenRequestUnauthorizedError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/OAuthTokenError"}],"title":"RevokeTokenRequestUnauthorizedError"},"RateLimitErrorCode":{"type":"string","enum":["RATE_LIMIT_EXCEEDED","TOO_MANY_MESSAGES"],"description":"A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).","title":"RateLimitErrorCode"},"RateLimitErrorDetailsLevel":{"type":"string","enum":["conversation","sender","creator","application","agency","platform"],"description":"The DM send limit that refused the message, set only with `TOO_MANY_MESSAGES`. It is never a quota, a count or a key.\n\n- `conversation` — one side of one thread.\n- `sender` — a person's own ceiling; it does not apply to applications.\n- `creator` — everything sent for the creator, studio included.\n- `application` — everything your application sends.\n- `agency` — everything your agency sends.\n- `platform` — the agency's fair share of the platform: its throughput or its concurrency.\n\nSee [rate limits](/authentication/rate-limits).","title":"RateLimitErrorDetailsLevel"},"RateLimitErrorDetails":{"type":"object","properties":{"retryAfterSec":{"type":"integer","minimum":0},"level":{"$ref":"#/components/schemas/RateLimitErrorDetailsLevel","description":"The DM send limit that refused the message, set only with `TOO_MANY_MESSAGES`. It is never a quota, a count or a key.\n\n- `conversation` — one side of one thread.\n- `sender` — a person's own ceiling; it does not apply to applications.\n- `creator` — everything sent for the creator, studio included.\n- `application` — everything your application sends.\n- `agency` — everything your agency sends.\n- `platform` — the agency's fair share of the platform: its throughput or its concurrency.\n\nSee [rate limits](/authentication/rate-limits)."}},"required":["retryAfterSec"],"description":"Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.","title":"RateLimitErrorDetails"},"RateLimitError":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/RateLimitErrorCode","description":"A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1)."},"error":{"type":"string"},"details":{"$ref":"#/components/schemas/RateLimitErrorDetails","description":"Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details."},"requestId":{"type":["string","null"],"description":"The same value as the `X-Request-Id` response header — quote it when reporting a problem."}},"required":["code","error","requestId"],"description":"The common error envelope. Branch on `code`; `error` is human-readable and may change.","title":"RateLimitError"},"RevokeTokenRequestServiceUnavailableError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/OAuthTokenError"}],"title":"RevokeTokenRequestServiceUnavailableError"},"ClientCredentialsTokenRequest":{"type":"object","properties":{"grant_type":{"type":"string","enum":["client_credentials"]},"scope":{"type":"string","description":"Space-separated; a subset of the application's allowed scopes."},"client_id":{"type":"string"},"client_secret":{"type":"string"},"client_assertion_type":{"type":"string","enum":["urn:ietf:params:oauth:client-assertion-type:jwt-bearer"]},"client_assertion":{"type":"string","description":"A JWT signed with RS256 or ES256. Set `iss` and `sub` to your `client_id`, `aud` to the token URL, and `exp` at most 5 minutes ahead; `jti` must be single-use."}},"required":["grant_type"],"description":"Authenticate with exactly one of HTTP Basic, `client_id` + `client_secret` in the body, or `client_assertion` (private_key_jwt). A recognised parameter sent twice, or in the URL query, is `invalid_request`.","title":"ClientCredentialsTokenRequest"},"ApplicationTokenResponse":{"type":"object","properties":{"access_token":{"type":"string","pattern":"^evpa_(live|test)_"},"token_type":{"type":"string","enum":["Bearer"]},"expires_in":{"type":"integer","minimum":60,"maximum":3600,"description":"The token's lifetime in seconds. 900 by default; a deployment may set it between 60 and 3600, so read it rather than assume it."},"scope":{"type":"string"}},"required":["access_token","token_type","expires_in","scope"],"description":"The token response. It never includes a `refresh_token` (RFC 6749, section 4.4.3).","title":"ApplicationTokenResponse"},"IssueTokenRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/OAuthTokenError"}],"title":"IssueTokenRequestBadRequestError"},"IssueTokenRequestUnauthorizedError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/OAuthTokenError"}],"title":"IssueTokenRequestUnauthorizedError"},"IssueTokenRequestServiceUnavailableError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/OAuthTokenError"}],"title":"IssueTokenRequestServiceUnavailableError"},"CapabilityOperationMethod":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"title":"CapabilityOperationMethod"},"ApplicationScope":{"type":"string","enum":["read:profile","write:profile","read:messages","write:messages","read:subscribers","write:subscribers","read:content","write:content","read:analytics","read:mass_messages","write:mass_messages","read:ice_breaker","write:ice_breaker","write:paid_messages","read:ai","write:ai","write:ai:voice","read:automations","write:automations","write:automations:enable","read:revenue","write:messages:automated","read:media","read:buyer_context","read:receipts","read:marketplace","write:marketplace","money:marketplace","read:orders","write:orders","write:orders:fulfilment","write:messages:operator","write:media","delete:media","money:media","write:messages:view_once","write:blocks","write:reports","read:notes","write:notes","read:subscribers:spend","read:presence","read:links","write:links","write:goals","delete:content","money:subscription","money:storefront","delete:storefront_link","delete:comments"],"description":"The scopes an integration application may be allowed and granted. A grant never exceeds the creator's consent link.","title":"ApplicationScope"},"CapabilityOperation":{"type":"object","properties":{"operation":{"type":"string","description":"The OpenAPI operationId."},"method":{"$ref":"#/components/schemas/CapabilityOperationMethod"},"path":{"type":"string","description":"The route pattern, mount included."},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"},"description":"Every application scope the operation requires. For a batch, the scopes of the operation each item performs."},"creatorScoped":{"type":"boolean"},"conditional":{"type":"boolean","description":"`true` when the operation runs for an application only through action approval: within the agency's policy and limits, or after a person approves it (`202` `ApprovalRequired`, then `Partner-Approval-Id`). See [action approval](/approvals)."},"conditionalFields":{"type":"array","items":{"type":"string"},"description":"The body fields that, when set or changed, send that request through action approval, such as a price or a view-once flag. Present only for a field-level conditional operation; a request that leaves these fields unset or unchanged is an ordinary request. See [action approval](/approvals)."}},"required":["operation","method","path","scopes","creatorScoped","conditional"],"title":"CapabilityOperation"},"CapabilitiesCreatorsItems":{"type":"object","properties":{"creatorId":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"}},"operations":{"type":"array","items":{"$ref":"#/components/schemas/CapabilityOperation"}}},"required":["creatorId","scopes","operations"],"title":"CapabilitiesCreatorsItems"},"CapabilitiesDeprecationsItemsMethod":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"title":"CapabilitiesDeprecationsItemsMethod"},"CapabilitiesDeprecationsItems":{"type":"object","properties":{"operation":{"type":["string","null"]},"method":{"$ref":"#/components/schemas/CapabilitiesDeprecationsItemsMethod"},"path":{"type":"string"},"deprecatedAt":{"type":"string","format":"date-time"},"sunsetAt":{"type":["string","null"],"format":"date-time"},"replacement":{"type":["string","null"],"description":"The operationId that replaces it."}},"required":["operation","method","path","deprecatedAt","sunsetAt","replacement"],"title":"CapabilitiesDeprecationsItems"},"CapabilitiesAuthenticationClientAuthMethodsItems":{"type":"string","enum":["client_secret_basic","client_secret_post","private_key_jwt"],"title":"CapabilitiesAuthenticationClientAuthMethodsItems"},"PublicKeyAlgorithm":{"type":"string","enum":["RS256","ES256"],"description":"RS256 or ES256 only. EdDSA is not accepted; the assertion verifier never accepted it.","title":"PublicKeyAlgorithm"},"CapabilitiesAuthentication":{"type":"object","properties":{"tokenEndpoint":{"type":"string","format":"uri"},"grantTypes":{"type":"array","items":{"type":"string","enum":["client_credentials"]}},"clientAuthMethods":{"type":"array","items":{"$ref":"#/components/schemas/CapabilitiesAuthenticationClientAuthMethodsItems"}},"assertionAlgorithms":{"type":"array","items":{"$ref":"#/components/schemas/PublicKeyAlgorithm"}},"accessTokenTtlSeconds":{"type":"integer","minimum":60,"maximum":3600},"refreshTokens":{"type":"boolean","enum":[false]}},"required":["tokenEndpoint","grantTypes","clientAuthMethods","assertionAlgorithms","accessTokenTtlSeconds","refreshTokens"],"title":"CapabilitiesAuthentication"},"ApplicationRateLimits":{"type":"object","properties":{"requestsPerWindow":{"type":"integer"},"windowSeconds":{"type":"integer"},"bucket":{"type":"string","enum":["application"]},"maxScopesPerToken":{"type":"integer"}},"required":["requestsPerWindow","windowSeconds","bucket"],"description":"The partner free-tier window an application is metered against — its own bucket (`app:<applicationId>`).","title":"ApplicationRateLimits"},"Capabilities":{"type":"object","properties":{"apiVersion":{"type":"string","enum":["v1"]},"principal":{"type":"string","enum":["application"]},"operations":{"type":"array","items":{"$ref":"#/components/schemas/CapabilityOperation"}},"creators":{"type":"array","items":{"$ref":"#/components/schemas/CapabilitiesCreatorsItems"}},"deprecations":{"type":"array","items":{"$ref":"#/components/schemas/CapabilitiesDeprecationsItems"},"description":"Deprecated operations an application can call; empty today. See [versioning](/conventions/versioning) for the deprecation policy."},"authentication":{"$ref":"#/components/schemas/CapabilitiesAuthentication"},"limits":{"$ref":"#/components/schemas/ApplicationRateLimits"}},"required":["apiVersion","principal","operations","creators","deprecations","authentication","limits"],"description":"`GET /partner/v1/app/capabilities`.","title":"Capabilities"},"ApplicationStatus":{"type":"string","enum":["PENDING_REVIEW","ACTIVE","DISABLED","REVOKED"],"title":"ApplicationStatus"},"ApplicationEnvironment":{"type":"string","enum":["LIVE","SANDBOX"],"title":"ApplicationEnvironment"},"ApplicationMeApplication":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"clientId":{"type":"string","pattern":"^evpc_(live|test)_[A-Za-z0-9]{24}$"},"status":{"$ref":"#/components/schemas/ApplicationStatus"},"environment":{"$ref":"#/components/schemas/ApplicationEnvironment"},"allowedScopes":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"}},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","name","clientId","status","environment","allowedScopes","createdAt","lastUsedAt"],"title":"ApplicationMeApplication"},"ApplicationMeAgency":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"ApplicationMeAgency"},"ApplicationMe":{"type":"object","properties":{"application":{"$ref":"#/components/schemas/ApplicationMeApplication"},"agency":{"$ref":"#/components/schemas/ApplicationMeAgency"},"environment":{"$ref":"#/components/schemas/ApplicationEnvironment"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationScope"},"description":"The token's scopes, narrowed to the application's allowed scopes as they are now."},"rateLimits":{"$ref":"#/components/schemas/ApplicationRateLimits"}},"required":["application","agency","environment","scopes","rateLimits"],"description":"`GET /partner/v1/app/me`.","title":"ApplicationMe"},"Account":{"type":"object","properties":{"creatorId":{"type":"string","description":"The creator's immutable id — the key to store."},"handle":{"type":"string","description":"Display only: read-only for applications, and it may change."},"displayName":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"},"description":"The scopes your application may use for this creator now, sorted. They are its grants, within its allowed scopes and the creator's consent, narrowed to the scopes of the token you presented. A creator your application may do nothing for is not listed."}},"required":["creatorId","handle","displayName","scopes"],"description":"A creator the application may act for, with the scopes it may exercise for them now.","title":"Account"},"Accounts_listAccounts_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}},"required":["items"],"title":"Accounts_listAccounts_Response_200"},"SandboxSimulateRequest":{"type":"object","properties":{"conversationId":{"type":"string","minLength":1,"maxLength":64},"messageId":{"type":"string","minLength":1,"maxLength":64,"description":"`ppv-unlock` only."},"text":{"type":"string","minLength":1,"maxLength":1000,"description":"`message` only."}},"title":"SandboxSimulateRequest"},"SandboxSimulationKind":{"type":"string","enum":["message","ppv-unlock","tip","subscription","order"],"title":"SandboxSimulationKind"},"SandboxSimulationEventsItems":{"type":"object","properties":{"type":{"type":"string"},"conversationId":{"type":["string","null"]}},"required":["type","conversationId"],"title":"SandboxSimulationEventsItems"},"SandboxSimulation":{"type":"object","properties":{"sandbox":{"type":"boolean","enum":[true]},"kind":{"$ref":"#/components/schemas/SandboxSimulationKind"},"sourceEvents":{"type":"array","items":{"type":"string"},"description":"The platform events a REAL action of this kind emits, resolved by the same resolver — never emitted here."},"events":{"type":"array","items":{"$ref":"#/components/schemas/SandboxSimulationEventsItems"},"description":"The events that were recorded, in order. In the feed, each also carries `data.sandbox = true`."},"conversationId":{"type":["string","null"]},"messageId":{"type":["string","null"]}},"required":["sandbox","kind","sourceEvents","events","conversationId","messageId"],"title":"SandboxSimulation"},"IntegrationEventType":{"type":"string","enum":["conversation.created","message.received","message.sent","message.read","message.delivered","ppv.purchased","ppv.refunded","subscriber.started","subscriber.renewed","subscriber.ended","tip.received","order.paid","order.delivered","order.accepted","order.claim_opened","order.claim_answered","order.claim_resolved","order.refund_requested","order.refund_request_declined","order.refunded","marketplace.request.changed","marketplace.match.changed","marketplace.proposal.changed","marketplace.deal.accepted","content.published","content.retracted","content.removed","content.review_decided","comment.created","comment.deleted","media.quarantined","media.released","media.bytes_lost","mass_message.delivered","mass_message.failed","automation.paused","lease.lost","lease.acquired","handoff.requested","handoff.completed","automation.resumed","grant.changed","access.revoked","approval.requested","approval.decided","webhook.endpoint_unreachable"],"description":"The v1 event types, identical to the OpenAPI document's `IntegrationEventType` and shared by the event feed (`GET /partner/v1/events`), the realtime application channel and webhooks.\n\nSome listed types are reserved and are not published until something produces them. No event is published for:\n\n- media becoming ready or failing: poll `GET /partner/v1/accounts/{creatorId}/media/assets/status` instead;\n- an AI job completing or failing;\n- content being scheduled: only `content.item.changed`, which does not say what changed.\n\n`marketplace.listing.changed` exists but is not published.\n\n**Reserved, not published yet:** `automation.paused`.","title":"IntegrationEventType"},"IntegrationEventData":{"type":"object","properties":{},"description":"On every creator event, `data.buyerRef` is your application's own pairwise [buyer pseudonym](/buyer-pseudonyms), computed for each application when the event is served and never stored with the shared event. Access events carry none.\n\nAn event names a buyer only through the creator's direct-message conversation with them. So `buyerRef` is `null` on the feed, in realtime and in webhooks alike when the buyer has no conversation with the creator, even where a REST read names that buyer: `subscriber.started`, `subscriber.renewed` and `subscriber.ended` of a fan who never wrote, and every `order.*`, marketplace, content, comment, media and mass-message event. A `null` means \"this event does not name the buyer\", never \"another buyer\". When it matters, read the buyer over REST: the subscribers, order and marketplace reads give the same `buyerRef`.","title":"IntegrationEventData"},"IntegrationEvent":{"type":"object","properties":{"eventId":{"type":"string","description":"The deduplication key (and a webhook's `webhook-id`). Opaque and PER APPLICATION: the same event keeps the same id for an application on the feed, realtime and webhooks, across retries, replays and key rotations; another application sees an unrelated id; nothing about other events can be read from it. A webhook test event's id is `evt_test_…`."},"type":{"$ref":"#/components/schemas/IntegrationEventType"},"schemaVersion":{"type":"integer"},"occurredAt":{"type":"string","format":"date-time","description":"When the fact happened at its source. Informational only: it is not the delivery order, because two events can share an instant and the feed has its own order. Never order events by it alone."},"publishedAt":{"type":"string","format":"date-time"},"applicationId":{"type":"string"},"agencyId":{"type":"string"},"creatorId":{"type":["string","null"],"description":"The creator the event is about; `null` for an application's notice about itself (`webhook.endpoint_unreachable`)."},"conversationId":{"type":["string","null"]},"correlationId":{"type":["string","null"]},"cursor":{"type":"string","maxLength":512,"description":"An opaque, encrypted position that only your application, in its agency and environment, can use. On the event feed and in realtime it is the position just after this event: a resume point. It shows neither the position nor whether it moved, and two cursors for one position differ. In a webhook delivery it starts with `whc1.`, names only this event's own partition and keeps the same bytes on every retry and replay. That cursor is for correlation only: `/events` and consumer groups refuse it with `400 INVALID_CURSOR`, and a realtime resume answers `RESUME_REJECTED`. Resume the feed with the feed's own cursors."},"data":{"$ref":"#/components/schemas/IntegrationEventData","description":"On every creator event, `data.buyerRef` is your application's own pairwise [buyer pseudonym](/buyer-pseudonyms), computed for each application when the event is served and never stored with the shared event. Access events carry none.\n\nAn event names a buyer only through the creator's direct-message conversation with them. So `buyerRef` is `null` on the feed, in realtime and in webhooks alike when the buyer has no conversation with the creator, even where a REST read names that buyer: `subscriber.started`, `subscriber.renewed` and `subscriber.ended` of a fan who never wrote, and every `order.*`, marketplace, content, comment, media and mass-message event. A `null` means \"this event does not name the buyer\", never \"another buyer\". When it matters, read the buyer over REST: the subscribers, order and marketplace reads give the same `buyerRef`."}},"required":["eventId","type","schemaVersion","occurredAt","publishedAt","applicationId","agencyId","creatorId","cursor","data"],"description":"The v1 event envelope, the same on the [event feed](/event-feed) (`GET /partner/v1/events`), the realtime application channel and webhooks.\n\n- Delivery is at least once: deduplicate by `eventId`.\n- On the event feed and the realtime channel the order is deterministic: the same events in the same order on\n  every read from a cursor, on a replay and after a consumer-group takeover. Within a creator it never changes;\n  across creators no order is promised.\n- Webhooks guarantee no order. Read the event feed when strict order matters.\n- `occurredAt` is informational and is never the delivery order.\n- Nothing in an event reveals an event your application may not see: there is no `sequence`, `eventId` is opaque\n  and belongs to your application, and `cursor` is encrypted.\n- `correlationId` is always `null` today.\n- Every event about a synthetic sandbox creator carries `data.sandbox: true`, whether the sandbox simulator or a\n  real API call produced it. Only `SANDBOX` applications of that creator's agency see it.","title":"IntegrationEvent"},"EventPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationEvent"}},"nextCursor":{"type":"string","maxLength":512,"description":"The position after the last row this call consumed — always present; resume from it. Encrypted: the same length and shape whether or not the call passed events the application may not see."},"hasMore":{"type":"boolean","description":"An event this application may see follows (possibly with fewer than `limit` items in this page), or the call's scan budget was spent — read on from `nextCursor`. Never set because of an event it may not see."}},"required":["items","nextCursor","hasMore"],"description":"`GET /partner/v1/events` — what the router answers (`{items, nextCursor, hasMore}`).","title":"EventPage"},"FencingToken":{"type":"string","pattern":"^[1-9][0-9]{0,15}$","description":"A consumer-group member's fencing token: a positive integer, sent and returned as a decimal string. It is opaque and specific to your application, so compare tokens only for equality, never by size. A takeover issues a new one, and a renewal or a commit under a superseded one is refused with `409 STALE_FENCING_TOKEN`.","title":"FencingToken"},"EventCheckpointLease":{"type":"object","properties":{"consumer":{"type":"string"},"cursor":{"type":"string","description":"Opaque; covers exactly `partitions` — pass it as `after` to read them."},"fencingToken":{"$ref":"#/components/schemas/FencingToken"},"leaseExpiresAt":{"type":"string","format":"date-time"},"partitions":{"type":"array","items":{"type":"integer","minimum":0,"maximum":15}},"groupId":{"type":"string","format":"uuid","description":"This incarnation of the consumer group. A different value than the one a member last saw means the group was retired and created again: its earlier tokens are refused (`409 STALE_FENCING_TOKEN`) and it restarts at the oldest retained event."}},"required":["consumer","cursor","fencingToken","leaseExpiresAt","partitions"],"description":"`GET /partner/v1/events/checkpoints` — the member's lease and the group's committed position.","title":"EventCheckpointLease"},"EventCheckpointCommitRequest":{"type":"object","properties":{"consumer":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"},"cursor":{"type":"string","minLength":1,"maxLength":512,"description":"A cursor from this application's feed (an item's `cursor` or a page's `nextCursor`)."},"fencingToken":{"$ref":"#/components/schemas/FencingToken"}},"required":["consumer","cursor","fencingToken"],"title":"EventCheckpointCommitRequest"},"EventCheckpointCommitted":{"type":"object","properties":{"consumer":{"type":"string"},"leaseExpiresAt":{"type":"string","format":"date-time","description":"The renewed lease."}},"required":["consumer","leaseExpiresAt"],"title":"EventCheckpointCommitted"},"PartnerV1AccountsCreatorIdConversationsGetParametersView":{"type":"string","enum":["chat"],"title":"PartnerV1AccountsCreatorIdConversationsGetParametersView"},"PartnerV1AccountsCreatorIdConversationsGetParametersFields":{"type":"string","enum":["counters"],"title":"PartnerV1AccountsCreatorIdConversationsGetParametersFields"},"PartnerV1AccountsCreatorIdConversationsGetParametersArchived":{"type":"string","enum":["exclude","only","all"],"default":"exclude","title":"PartnerV1AccountsCreatorIdConversationsGetParametersArchived"},"PartnerV1AccountsCreatorIdConversationsGetParametersSort":{"type":"string","enum":["recent","spend","unanswered"],"default":"recent","title":"PartnerV1AccountsCreatorIdConversationsGetParametersSort"},"ConversationInboxRowCounterpart":{"type":"object","properties":{"label":{"type":"string"},"ref":{"type":"string","description":"A short reference for an unnamed counterpart."},"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS ONLY — the application's pairwise pseudonym of the buyer: stable for (application, creator), different for every other application and creator; `null` only if the conversation vanished mid-read."}},"required":["label","ref"],"title":"ConversationInboxRowCounterpart"},"SenderRole":{"type":"string","enum":["USER","CREATOR"],"title":"SenderRole"},"ConversationInboxRowLastMessageAttachmentsKind":{"type":"string","enum":["image","video","animation","audio","document","mixed"],"title":"ConversationInboxRowLastMessageAttachmentsKind"},"ConversationInboxRowLastMessageAttachments":{"type":"object","properties":{"count":{"type":"integer"},"kind":{"oneOf":[{"$ref":"#/components/schemas/ConversationInboxRowLastMessageAttachmentsKind"},{"type":"null"}]}},"required":["count","kind"],"title":"ConversationInboxRowLastMessageAttachments"},"ConversationInboxRowLastMessage":{"type":"object","properties":{"bodyPreview":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"createdAt":{"type":"string","format":"date-time"},"attachments":{"$ref":"#/components/schemas/ConversationInboxRowLastMessageAttachments"}},"required":["bodyPreview","senderRole","createdAt","attachments"],"title":"ConversationInboxRowLastMessage"},"ConversationInboxRow":{"type":"object","properties":{"id":{"type":"string"},"perspective":{"type":"string","enum":["CREATOR"]},"creator":{"description":"Any type"},"counterpart":{"$ref":"#/components/schemas/ConversationInboxRowCounterpart"},"lastMessageAt":{"type":["string","null"],"format":"date-time"},"unreadCount":{"type":"integer"},"archived":{"type":"boolean"},"subscribed":{"type":["boolean","null"],"description":"Whether the buyer holds the creator's subscription. It is `null`, never `false`, when your application does not know."},"lastMessage":{"oneOf":[{"$ref":"#/components/schemas/ConversationInboxRowLastMessage"},{"type":"null"}]}},"required":["id","perspective","creator","counterpart","lastMessageAt","unreadCount","archived","subscribed","lastMessage"],"title":"ConversationInboxRow"},"ConversationInboxPage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"Where this page ended — send it back as `cursor`; `null` when nothing follows."},"items":{"type":"array","items":{"$ref":"#/components/schemas/ConversationInboxRow"}}},"required":["total","skip","take","nextCursor","items"],"title":"ConversationInboxPage"},"ChatConversationRowLastMessage":{"type":"object","properties":{"bodyPreview":{"type":"string","maxLength":120},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"createdAt":{"type":"string","format":"date-time"}},"required":["bodyPreview","senderRole","createdAt"],"title":"ChatConversationRowLastMessage"},"ChatConversationRowCounterpart":{"type":"object","properties":{"label":{"type":"string"},"ref":{"type":"string"},"avatarUrl":{"type":["string","null"],"description":"Always null (buyer minimisation)."},"profileSlug":{"type":["string","null"],"description":"Always null (buyer minimisation)."}},"required":["label","ref","avatarUrl","profileSlug"],"title":"ChatConversationRowCounterpart"},"SpendTier":{"type":"string","enum":["NEW","BRONZE","SILVER","GOLD"],"title":"SpendTier"},"ChatConversationRow":{"type":"object","properties":{"id":{"type":"string"},"unreadCount":{"type":"integer"},"messageCount":{"type":"integer"},"lastMessageAt":{"type":["string","null"],"format":"date-time"},"lastMessage":{"oneOf":[{"$ref":"#/components/schemas/ChatConversationRowLastMessage"},{"type":"null"}]},"counterpart":{"$ref":"#/components/schemas/ChatConversationRowCounterpart"},"isSubscriber":{"type":"boolean"},"creatorEarningsCents":{"type":"integer"},"tier":{"$ref":"#/components/schemas/SpendTier"}},"required":["id","unreadCount","messageCount","lastMessageAt","lastMessage","counterpart","isSubscriber","creatorEarningsCents","tier"],"title":"ChatConversationRow"},"ChatConversationPage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"Where this page ended — send it back as `cursor`; `null` when nothing follows."},"items":{"type":"array","items":{"$ref":"#/components/schemas/ChatConversationRow"}}},"required":["total","skip","take","nextCursor","items"],"title":"ChatConversationPage"},"Messaging_listConversations_Response_200":{"oneOf":[{"$ref":"#/components/schemas/ConversationInboxPage"},{"$ref":"#/components/schemas/ChatConversationPage"}],"title":"Messaging_listConversations_Response_200"},"BuyerContext":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"An application's pairwise pseudonym of the buyer — stable per (application, creator), different for every other application and creator, not derivable without the server key."},"label":{"type":"string","description":"The creator's own nickname for the fan, else `Member`."},"isSubscriber":{"type":"boolean"},"tier":{"$ref":"#/components/schemas/SpendTier"}},"required":["buyerRef","label","isSubscriber","tier"],"description":"The default buyer context and nothing more. It never includes a name, avatar, profile slug, presence, amount, account id or email.","title":"BuyerContext"},"MessageQuote":{"type":"object","properties":{"id":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"preview":{"type":"string"},"hasMedia":{"type":"boolean"},"retracted":{"type":"boolean"}},"required":["id","senderRole","preview","hasMedia","retracted"],"title":"MessageQuote"},"MessagePageConversation":{"type":"object","properties":{"id":{"type":"string"},"lastMessageAt":{"type":["string","null"],"format":"date-time"},"pinnedMessage":{"oneOf":[{"$ref":"#/components/schemas/MessageQuote"},{"type":"null"}]},"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS ONLY — the application's pairwise pseudonym of the buyer."}},"required":["id","lastMessageAt"],"description":"The thread, or null before its first message.","title":"MessagePageConversation"},"DirectMessageKind":{"type":"string","enum":["UNRECORDED","STANDARD","PAID","PAID_BROADCAST","PAID_ICE_BREAKER","TIP","ICE_BREAKER","BROADCAST","AUTOMATED"],"title":"DirectMessageKind"},"Authorship":{"type":"string","enum":["UNRECORDED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT","AI_GENERATED_APPROVED","AI_AUTOMATED","PLATFORM_AUTOMATED"],"title":"Authorship"},"DirectMessageLifetime":{"type":"object","properties":{"viewOnce":{"type":"boolean"},"opened":{"type":"boolean"},"expiresAt":{"type":["string","null"],"format":"date-time"}},"required":["viewOnce","opened","expiresAt"],"title":"DirectMessageLifetime"},"MessageMedia":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"kind":{"type":"string"},"position":{"type":"integer"},"available":{"type":"boolean"},"durationLabel":{"type":["string","null"],"description":"The media's duration, as `m:ss`."},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]},"freeSample":{"type":"boolean"},"caption":{"type":["string","null"]},"displayName":{"type":["string","null"]},"sizeBytes":{"type":"integer"}},"required":["mediaAssetId","kind","position","available","durationLabel","width","height","freeSample","caption","displayName","sizeBytes"],"title":"MessageMedia"},"DirectMessageReceipt":{"type":"string","enum":["sent","delivered","read"],"description":"The actual status of a message the creator sent; null on the fan's messages.\n\n- `sent` — the message was saved.\n- `delivered` — the fan's client acknowledged delivery. A realtime publish or a partner call never counts.\n- `read` — the fan's read position reached it, subject to the fan's receipt setting.\n- `purchased` — the same as `paid.purchased`, and only with `read:revenue`.","title":"DirectMessageReceipt"},"DirectMessageReplyTo":{"type":"object","properties":{"id":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"preview":{"type":"string"},"hasMedia":{"type":"boolean"},"retracted":{"type":"boolean"}},"required":["id","senderRole","preview","hasMedia","retracted"],"description":"The quoted message this one answers (on the Partner reads).","title":"DirectMessageReplyTo"},"DirectMessageReactionsItems":{"type":"object","properties":{"kind":{"type":"string"},"count":{"type":"integer"},"mine":{"type":"boolean"}},"required":["kind","count","mine"],"title":"DirectMessageReactionsItems"},"PaidMessageTerms":{"type":"object","properties":{"priceMinor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string"},"blurPreview":{"type":"boolean"},"unlocked":{"type":"boolean"},"offerExpiresAt":{"type":["string","null"],"format":"date-time"},"orderRef":{"type":["string","null"],"description":"The reader's own order — always null for the seller side."},"purchased":{"type":["boolean","null"],"description":"Whether the offer sold, as the seller (the creator) sees it. On the Partner reads (history, window, after, status) it is set only when the reader's consent covers `read:revenue`, because a purchase is a money fact on every channel; otherwise `null`."}},"required":["priceMinor","currency","blurPreview","unlocked"],"title":"PaidMessageTerms"},"DirectMessageTipPayment":{"type":"string","enum":["OPEN","IN_FLIGHT","CLOSED"],"title":"DirectMessageTipPayment"},"DirectMessageTip":{"type":"object","properties":{"amountMinor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string"},"settled":{"type":"boolean"},"payment":{"$ref":"#/components/schemas/DirectMessageTipPayment"}},"required":["amountMinor","currency","settled"],"description":"Always null on the Partner surface (no per-fan gross spend for an agency).","title":"DirectMessageTip"},"DirectMessage":{"type":"object","properties":{"id":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"body":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"kind":{"$ref":"#/components/schemas/DirectMessageKind"},"authorship":{"$ref":"#/components/schemas/Authorship"},"lifetime":{"oneOf":[{"$ref":"#/components/schemas/DirectMessageLifetime"},{"type":"null"}]},"media":{"type":"array","items":{"$ref":"#/components/schemas/MessageMedia"}},"receipt":{"oneOf":[{"$ref":"#/components/schemas/DirectMessageReceipt"},{"type":"null"}],"description":"The actual status of a message the creator sent; null on the fan's messages.\n\n- `sent` — the message was saved.\n- `delivered` — the fan's client acknowledged delivery. A realtime publish or a partner call never counts.\n- `read` — the fan's read position reached it, subject to the fan's receipt setting.\n- `purchased` — the same as `paid.purchased`, and only with `read:revenue`."},"editedAt":{"type":["string","null"],"format":"date-time"},"revision":{"type":"integer"},"replyTo":{"oneOf":[{"$ref":"#/components/schemas/DirectMessageReplyTo"},{"type":"null"}],"description":"The quoted message this one answers (on the Partner reads)."},"reactions":{"type":"array","items":{"$ref":"#/components/schemas/DirectMessageReactionsItems"},"description":"Reaction chips folded for the creator (on the Partner reads)."},"paid":{"oneOf":[{"$ref":"#/components/schemas/PaidMessageTerms"},{"type":"null"}],"description":"The PPV facet as the seller sees it, with `purchased` (on the Partner reads). The PPV send answers its own terms in `PaidMessageSendResult.paid`."},"senderBuyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS ONLY, on the message page — the application's pairwise pseudonym of the buyer on a message the buyer wrote (`senderRole: USER`); `null` on the creator's side."},"tip":{"oneOf":[{"$ref":"#/components/schemas/DirectMessageTip"},{"type":"null"}],"description":"Always null on the Partner surface (no per-fan gross spend for an agency)."}},"required":["id","senderRole","body","createdAt","kind","authorship","lifetime","media","receipt","editedAt","revision","replyTo","reactions","paid","tip"],"title":"DirectMessage"},"MessagePage":{"type":"object","properties":{"conversation":{"$ref":"#/components/schemas/MessagePageConversation"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/DirectMessage"}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"],"description":"Pass back as `before` (or as `cursor` to page forward)."}},"required":["conversation","messages","hasMore","nextCursor"],"title":"MessagePage"},"SendMessageRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`.","title":"SendMessageRequestAuthorship"},"SendMessageRequestFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"The fencing token of the conversation's current lease; a token that is not current is `409 STALE_FENCING_TOKEN`. An application must send it while the lease is live: without it the send is `409 LEASE_HELD`, even the lease holder's own. See [conversation leases](/conversation-leases).","title":"SendMessageRequestFencingToken"},"SendMessageRequest":{"type":"object","properties":{"body":{"type":["string","null"],"maxLength":2000,"description":"Trimmed length ≤ 2000; no NUL, no lone surrogate. Optional when attachments are sent."},"replyToMessageRef":{"type":"string","minLength":1,"description":"The message this one answers (must be in this conversation, checked in the send transaction)."},"viewOnce":{"type":"boolean","description":"A free message the fan may open once. It needs a grant carrying `write:messages:view_once`, which is not part of the default consent; otherwise `403`. For an application it also goes through action approval: `202 APPROVAL_REQUIRED` unless the agency's policy lets it through. `409 ASSET_REACHABLE_ELSEWHERE` when the fan can already open the file from another message."},"expiresAt":{"type":"string","format":"date-time","description":"When the media stops being servable: 5 minutes to 30 days ahead."},"templateRef":{"type":"string","description":"The saved reply this message came from — counts one use when a message is created."},"attachments":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_-]+$"},"description":"Vault asset ids, with no duplicates: at most the per-message attachment limit, 10 by default."},"authorship":{"$ref":"#/components/schemas/SendMessageRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Stored in the agency audit only."},"expectedLastMessageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"Makes the send conditional: the message is written only while this is the conversation's newest live message, otherwise `409 CONVERSATION_ADVANCED`. The check is made inside the write transaction, so two sends that expected the same last message cannot both be written."},"fencingToken":{"$ref":"#/components/schemas/SendMessageRequestFencingToken","description":"The fencing token of the conversation's current lease; a token that is not current is `409 STALE_FENCING_TOKEN`. An application must send it while the lease is live: without it the send is `409 LEASE_HELD`, even the lease holder's own. See [conversation leases](/conversation-leases)."},"automationRunId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"The client's own reference for the automation run (metadata); stored in the agency audit, never shown to the buyer."}},"description":"A message needs text or at least one attachment; it can be media-only, such as a GIF or a sticker.","title":"SendMessageRequest"},"MessageEnvelope":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/DirectMessage"}},"required":["message"],"title":"MessageEnvelope"},"PresenceResultPresenceStatus":{"type":"string","enum":["ONLINE","AWAY","OFFLINE"],"title":"PresenceResultPresenceStatus"},"PresenceResultPresence":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/PresenceResultPresenceStatus"},"lastSeenAt":{"type":["string","null"],"format":"date-time"},"observedAt":{"type":"string","format":"date-time"}},"required":["status","lastSeenAt","observedAt"],"title":"PresenceResultPresence"},"PresenceResult":{"type":"object","properties":{"presence":{"oneOf":[{"$ref":"#/components/schemas/PresenceResultPresence"},{"type":"null"}]}},"required":["presence"],"title":"PresenceResult"},"MarkReadResult":{"type":"object","properties":{"id":{"type":"string"},"lastMessageAt":{"type":["string","null"],"format":"date-time"},"unreadCount":{"type":"integer"}},"required":["id","lastMessageAt","unreadCount"],"description":"An application's answer is `{id, lastMessageAt, unreadCount}` only (an acknowledgement that moves no watermark).","title":"MarkReadResult"},"BlockState":{"type":"object","properties":{"blocked":{"type":"boolean","description":"Either side blocked the other (says nothing about which)."},"blockedByYou":{"type":"boolean","description":"The creator's own block, which only the creator side can lift."}},"required":["blocked","blockedByYou"],"title":"BlockState"},"BlockChange":{"type":"object","properties":{"blocked":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["blocked","changed"],"title":"BlockChange"},"ConversationLinksPageItemsItems":{"type":"object","properties":{"url":{"type":"string"},"messageRef":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"createdAt":{"type":"string","format":"date-time"}},"required":["url","messageRef","senderRole","createdAt"],"title":"ConversationLinksPageItemsItems"},"ConversationLinksPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConversationLinksPageItemsItems"}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["items","hasMore","nextCursor"],"title":"ConversationLinksPage"},"ConversationMediaPageItemsItemsAccess":{"type":"string","enum":["PAID","INCLUDED"],"title":"ConversationMediaPageItemsItemsAccess"},"ConversationMediaPageItemsItems":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"kind":{"type":"string"},"messageRef":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"access":{"$ref":"#/components/schemas/ConversationMediaPageItemsItemsAccess"}},"required":["mediaAssetId","kind","messageRef","createdAt","access"],"title":"ConversationMediaPageItemsItems"},"ConversationMediaPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConversationMediaPageItemsItems"}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["items","hasMore","nextCursor"],"title":"ConversationMediaPage"},"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdPatchRequestBodyContentApplicationJsonSchemaFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive.","title":"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdPatchRequestBodyContentApplicationJsonSchemaFencingToken"},"Chat_editMessage_Response_200":{"type":"object","properties":{"revision":{"type":"integer"}},"required":["revision"],"title":"Chat_editMessage_Response_200"},"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostRequestBodyContentApplicationJsonSchemaFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive; send none when no lease is live.","title":"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostRequestBodyContentApplicationJsonSchemaFencingToken"},"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostResponsesContentApplicationJsonSchemaReactionAction":{"type":"string","enum":["added","switched","removed"],"title":"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostResponsesContentApplicationJsonSchemaReactionAction"},"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostResponsesContentApplicationJsonSchemaReaction":{"type":"object","properties":{"messageRef":{"type":"string"},"action":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostResponsesContentApplicationJsonSchemaReactionAction"},"kind":{"type":["string","null"]}},"required":["messageRef","action","kind"],"title":"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostResponsesContentApplicationJsonSchemaReaction"},"Chat_toggleMessageReaction_Response_200":{"type":"object","properties":{"reaction":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReactionsPostResponsesContentApplicationJsonSchemaReaction"}},"required":["reaction"],"title":"Chat_toggleMessageReaction_Response_200"},"ApprovalRequiredCode":{"type":"string","enum":["APPROVAL_REQUIRED"],"title":"ApprovalRequiredCode"},"ActionRequestStatus":{"type":"string","enum":["PENDING","APPROVED","DECLINED","EXPIRED","CONSUMED","REVOKED"],"description":"The status of an approval request. Reads show the effective status.\n\n- `PENDING` becomes `APPROVED`, `DECLINED`, `EXPIRED` or `REVOKED`.\n- `APPROVED` becomes `CONSUMED`, `EXPIRED` or `REVOKED`.\n- `REVOKED` means the request was voided: its access was withdrawn (grant or consent link), the application or agency stopped, the creator was held or restricted, or the policy that governed it was replaced. `revokedReason` says which.","title":"ActionRequestStatus"},"ActionRequestReason":{"type":"string","enum":["NO_POLICY","POLICY_REQUIRES_APPROVAL","LIMIT_EXCEEDED"],"description":"Why the action was not automatic: no policy (the default), a policy that asks for approval, or over a limit.","title":"ActionRequestReason"},"ApprovalRequired":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/ApprovalRequiredCode"},"error":{"type":"string"},"approvalId":{"type":"string","pattern":"^apr_[A-Za-z0-9]{24}$"},"status":{"$ref":"#/components/schemas/ActionRequestStatus"},"reason":{"$ref":"#/components/schemas/ActionRequestReason"},"expiresAt":{"type":"string","format":"date-time"},"requestId":{"type":["string","null"]}},"required":["code","error","approvalId","status","reason","expiresAt"],"description":"The `202` body your application receives when an operation needs a person's approval. Nothing was done.\n\nOnce the request is approved, re-send the same request with `Partner-Approval-Id: <approvalId>`; watch the [event feed](/event-feed) for `approval.decided`. The request expires 24 hours after it was made, by default. See [action approval](/approvals).\n\nThe request is idempotent by `Idempotency-Key` (1..128 of `[A-Za-z0-9_-]`, in your application's own key space). The same key and action return the same request; the same key for a different action is `409 IDEMPOTENCY_KEY_REUSED`. Without a key, a live request for the same action is returned instead of a second one.","title":"ApprovalRequired"},"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReportPostResponsesContentApplicationJsonSchemaOneOf1Report":{"type":"object","properties":{"submitted":{"type":"boolean"}},"required":["submitted"],"title":"PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReportPostResponsesContentApplicationJsonSchemaOneOf1Report"},"ChatReportMessageResponse2021":{"type":"object","properties":{"report":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsConversationIdMessagesMessageIdReportPostResponsesContentApplicationJsonSchemaOneOf1Report"}},"required":["report"],"title":"ChatReportMessageResponse2021"},"Chat_reportMessage_Response_202":{"oneOf":[{"$ref":"#/components/schemas/ApprovalRequired"},{"$ref":"#/components/schemas/ChatReportMessageResponse2021"}],"title":"Chat_reportMessage_Response_202"},"MessageStatusReceipt":{"type":"string","enum":["sent","delivered","read"],"title":"MessageStatusReceipt"},"MessageStatus":{"type":"object","properties":{"messageId":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"receipt":{"oneOf":[{"$ref":"#/components/schemas/MessageStatusReceipt"},{"type":"null"}]},"paid":{"oneOf":[{"$ref":"#/components/schemas/PaidMessageTerms"},{"type":"null"}]}},"required":["messageId","senderRole","receipt","paid"],"title":"MessageStatus"},"MessageForwardPage":{"type":"object","properties":{"conversation":{"$ref":"#/components/schemas/MessagePageConversation"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/DirectMessage"}},"newer":{"type":["string","null"]}},"required":["conversation","messages","newer"],"title":"MessageForwardPage"},"MessageSearchPageItemsItems":{"type":"object","properties":{"messageRef":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/SenderRole"},"createdAt":{"type":"string","format":"date-time"},"preview":{"type":"string"}},"required":["messageRef","senderRole","createdAt","preview"],"title":"MessageSearchPageItemsItems"},"MessageSearchPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MessageSearchPageItemsItems"}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["items","hasMore","nextCursor"],"title":"MessageSearchPage"},"MessageWindowAnchor":{"type":"object","properties":{"messageRef":{"type":"string"}},"required":["messageRef"],"title":"MessageWindowAnchor"},"MessageWindow":{"type":"object","properties":{"conversation":{"$ref":"#/components/schemas/MessagePageConversation"},"anchor":{"oneOf":[{"$ref":"#/components/schemas/MessageWindowAnchor"},{"type":"null"}]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/DirectMessage"}},"older":{"type":["string","null"],"description":"A `before` cursor for `listMessages`."},"newer":{"type":["string","null"],"description":"A `cursor` for `listMessagesAfter`."}},"required":["conversation","anchor","messages","older","newer"],"title":"MessageWindow"},"FanLabel":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's OWN pairwise pseudonym of the buyer (per application and creator)."},"nickname":{"type":["string","null"]},"muted":{"type":"boolean"}},"required":["nickname","muted"],"description":"The creator's label for a fan. In your application's answers, the fan is identified by `buyerRef`.","title":"FanLabel"},"PartnerV1AccountsCreatorIdConversationsConversationIdPinPutRequestBodyContentApplicationJsonSchemaFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive; send none when no lease is live.","title":"PartnerV1AccountsCreatorIdConversationsConversationIdPinPutRequestBodyContentApplicationJsonSchemaFencingToken"},"ConversationFanFacets":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's OWN pairwise pseudonym of the buyer (per application and creator)."},"nickname":{"type":["string","null"]},"muted":{"type":"boolean"},"pinned":{"type":"boolean"},"vip":{"type":"boolean"},"flagged":{"type":"boolean"},"snoozedUntil":{"type":["string","null"],"format":"date-time"}},"required":["nickname","muted","pinned","vip","flagged"],"description":"The creator's private facts about the thread's fan, never disclosed to the fan. In your application's answers the fan is identified by `buyerRef`.","title":"ConversationFanFacets"},"Chat_listPinnedConversations_Response_200":{"type":"object","properties":{"conversationIds":{"type":"array","items":{"type":"string"}}},"required":["conversationIds"],"title":"Chat_listPinnedConversations_Response_200"},"PartnerV1AccountsCreatorIdConversationsPresenceGetResponsesContentApplicationJsonSchemaPresence":{"type":"object","properties":{"status":{"type":"string"},"lastSeenAt":{"type":["string","null"],"format":"date-time"},"observedAt":{"type":"string","format":"date-time"}},"required":["status","lastSeenAt","observedAt"],"title":"PartnerV1AccountsCreatorIdConversationsPresenceGetResponsesContentApplicationJsonSchemaPresence"},"Chat_listConversationPresence_Response_200":{"type":"object","properties":{"presence":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsPresenceGetResponsesContentApplicationJsonSchemaPresence"}}},"required":["presence"],"title":"Chat_listConversationPresence_Response_200"},"PartnerV1AccountsCreatorIdConversationsTriageGetResponsesContentApplicationJsonSchemaItemsItems":{"type":"object","properties":{"conversationId":{"type":"string"},"pinned":{"type":"boolean"},"vip":{"type":"boolean"},"flagged":{"type":"boolean"},"snoozedUntil":{"type":["string","null"],"format":"date-time"}},"required":["conversationId","pinned","vip","flagged","snoozedUntil"],"title":"PartnerV1AccountsCreatorIdConversationsTriageGetResponsesContentApplicationJsonSchemaItemsItems"},"Chat_getConversationTriage_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsTriageGetResponsesContentApplicationJsonSchemaItemsItems"}}},"required":["items"],"title":"Chat_getConversationTriage_Response_200"},"Chat_getUnreadCount_Response_200":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"conversations":{"type":"integer","minimum":0}},"required":["total","conversations"],"title":"Chat_getUnreadCount_Response_200"},"Chat_openFanConversation_Response_200":{"type":"object","properties":{"conversationId":{"type":"string"}},"required":["conversationId"],"title":"Chat_openFanConversation_Response_200"},"ProviderAssetImportImportState":{"type":"string","enum":["imported","in_progress"],"title":"ProviderAssetImportImportState"},"ProviderAssetImportImport":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/ProviderAssetImportImportState"},"mediaAssetId":{"type":"string"}},"required":["state"],"title":"ProviderAssetImportImport"},"ProviderAssetImport":{"type":"object","properties":{"import":{"$ref":"#/components/schemas/ProviderAssetImportImport"}},"required":["import"],"title":"ProviderAssetImport"},"ProviderAssetSearchPageResultsItems":{"type":"object","properties":{"providerAssetId":{"type":"string"},"previewUrl":{"type":"string","description":"DISPOSABLE — for a picker only; never accepted back."},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]},"title":{"type":["string","null"]}},"required":["providerAssetId","previewUrl","width","height","title"],"title":"ProviderAssetSearchPageResultsItems"},"ProviderAssetSearchPage":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ProviderAssetSearchPageResultsItems"}},"nextCursor":{"type":["string","null"]}},"required":["results","nextCursor"],"title":"ProviderAssetSearchPage"},"MessageTemplateOffer":{"type":"object","properties":{"priceMinor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string"},"blurPreview":{"type":"boolean"}},"required":["priceMinor","currency","blurPreview"],"title":"MessageTemplateOffer"},"MessageTemplate":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"text":{"type":"string"},"useCount":{"type":"integer"},"mediaAssetIds":{"type":"array","items":{"type":"string"}},"offer":{"oneOf":[{"$ref":"#/components/schemas/MessageTemplateOffer"},{"type":"null"}]}},"required":["id","name","text","useCount","mediaAssetIds","offer"],"title":"MessageTemplate"},"Chat_listMessageTemplates_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MessageTemplate"}}},"required":["items"],"title":"Chat_listMessageTemplates_Response_200"},"MessageTemplateWriteUnlockPriceMinor":{"oneOf":[{"type":"string"},{"type":"integer"}],"title":"MessageTemplateWriteUnlockPriceMinor"},"MessageTemplateWriteUnlockPrice":{"type":"object","properties":{"minor":{"$ref":"#/components/schemas/MessageTemplateWriteUnlockPriceMinor"},"currency":{"type":"string"},"blurPreview":{"type":"boolean"}},"required":["minor","currency"],"description":"A priced reply — needs at least one attachment and the grant's `write:paid_messages`.","title":"MessageTemplateWriteUnlockPrice"},"MessageTemplateWrite":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"text":{"type":"string","minLength":1,"maxLength":2000},"attachments":{"type":"array","items":{"type":"string"},"description":"Omitted means none (the write replaces whole)."},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/MessageTemplateWriteUnlockPrice"},{"type":"null"}],"description":"A priced reply — needs at least one attachment and the grant's `write:paid_messages`."}},"required":["name","text"],"title":"MessageTemplateWrite"},"MessageTemplateEnvelope":{"type":"object","properties":{"template":{"$ref":"#/components/schemas/MessageTemplate"}},"required":["template"],"title":"MessageTemplateEnvelope"},"Currency":{"type":"string","enum":["USD"],"title":"Currency"},"SendPaidMessageRequestPrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","description":"Minor units as a decimal string; 100..1000000."},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["minor","currency"],"title":"SendPaidMessageRequestPrice"},"SendPaidMessageRequestAttachmentsItems":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"caption":{"type":"string"},"freeSample":{"type":"boolean","description":"Shown free before purchase; at least one file must be locked."}},"required":["mediaAssetId"],"title":"SendPaidMessageRequestAttachmentsItems"},"SendPaidMessageRequestFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"The current lease's token; otherwise 409 STALE_FENCING_TOKEN. Required for an application while the lease is live (without it 409 LEASE_HELD).","title":"SendPaidMessageRequestFencingToken"},"SendPaidMessageRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`.","title":"SendPaidMessageRequestAuthorship"},"SendPaidMessageRequest":{"type":"object","properties":{"price":{"$ref":"#/components/schemas/SendPaidMessageRequestPrice"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/SendPaidMessageRequestAttachmentsItems"},"description":"The creator's own Vault files, in display order: at most the per-message attachment limit, 10 by default. At least one file must not be a free sample. Required on the send (`400` without one); optional on the quotes (`PaidMessageQuoteRequest`)."},"body":{"type":"string","maxLength":2000,"description":"The pitch, shown unlocked."},"blurPreview":{"type":"boolean","default":false},"viewOnce":{"type":"boolean","default":false,"description":"On the send, as on `sendMessage`: needs `write:messages:view_once` (not in the default consent); 403 otherwise, nothing written."},"expiresAt":{"type":["string","null"],"format":"date-time","description":"On the send, the same permission as `viewOnce`."},"expectedLastMessageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"Conditional send — 409 CONVERSATION_ADVANCED when the newest message is another."},"fencingToken":{"$ref":"#/components/schemas/SendPaidMessageRequestFencingToken","description":"The current lease's token; otherwise 409 STALE_FENCING_TOKEN. Required for an application while the lease is live (without it 409 LEASE_HELD)."},"automationRunId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"Audit metadata only; never shown to the buyer."},"authorship":{"$ref":"#/components/schemas/SendPaidMessageRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only."}},"required":["price","attachments"],"description":"The shared paid-message body of the SEND — exactly these fields; any other field is refused by name. `price` and at least one attachment are required.","title":"SendPaidMessageRequest"},"PaidMessageTermsSent":{"type":"object","properties":{"priceMinor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string"},"blurPreview":{"type":"boolean"}},"required":["priceMinor","currency","blurPreview"],"title":"PaidMessageTermsSent"},"PaidMessageQuotePrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string"}},"required":["minor","currency"],"title":"PaidMessageQuotePrice"},"PpvAttributionOutcomeAttributionClass":{"type":"string","enum":["CREATOR_ATTRIBUTED","PLATFORM_ATTRIBUTED"],"title":"PpvAttributionOutcomeAttributionClass"},"PpvAttributionOutcomeAllocationsItems":{"type":"object","properties":{"partyType":{"type":"string"},"shareBps":{"type":"integer","description":"Share of net receipts, as the policy publishes it."},"amountMinor":{"type":"string","pattern":"^[0-9]+$"}},"required":["partyType","shareBps","amountMinor"],"title":"PpvAttributionOutcomeAllocationsItems"},"PpvAttributionOutcome":{"type":"object","properties":{"attributionClass":{"$ref":"#/components/schemas/PpvAttributionOutcomeAttributionClass"},"platformFeeMinor":{"type":"string","pattern":"^[0-9]+$","description":"The platform's line — its share of net receipts plus the attributable processing fee."},"processingFeeMinor":{"type":"string","pattern":"^[0-9]+$"},"creatorNetMinor":{"type":"string","pattern":"^[0-9]+$","description":"The creator's line under this class."},"allocations":{"type":"array","items":{"$ref":"#/components/schemas/PpvAttributionOutcomeAllocationsItems"},"description":"Every line as the allocator produced it; they sum to buyerPriceMinor."}},"required":["attributionClass","platformFeeMinor","processingFeeMinor","creatorNetMinor","allocations"],"title":"PpvAttributionOutcome"},"PpvEconomics":{"type":"object","properties":{"authoritative":{"type":"boolean"},"currency":{"type":"string"},"buyerPriceMinor":{"type":"string","pattern":"^[0-9]+$","description":"What the fan pays to open the message."},"taxMinor":{"type":"string","pattern":"^[0-9]+$","description":"Zero — no tax engine; see taxTreatment."},"taxTreatment":{"type":"string"},"policyVersionRef":{"type":"string"},"policyKey":{"type":"string"},"policyVersion":{"type":"integer"},"processingFeeBearer":{"type":"string"},"byAttribution":{"type":"array","items":{"$ref":"#/components/schemas/PpvAttributionOutcome"}}},"required":["authoritative","currency","buyerPriceMinor","taxMinor","taxTreatment","policyVersionRef","policyKey","policyVersion","processingFeeBearer","byAttribution"],"description":"PPV economics, computed by the platform's own allocator under the economic policy version in effect now (the one a checkout opened now would pin). They are informational: the attribution class is decided at purchase from the buyer's evidence, and the economics frozen when that order is placed are the authority.","title":"PpvEconomics"},"PaidMessageQuote":{"type":"object","properties":{"price":{"$ref":"#/components/schemas/PaidMessageQuotePrice"},"alreadySold":{"type":["array","null"],"items":{"type":"string"},"description":"The ids of this request's non-sample attachments that the thread's fan already holds an unlock for; `[]` for none. It is null when not asked (no thread, or the send's own quote), or when your effective access does not cover both `read:revenue` and `read:messages`."},"economics":{"oneOf":[{"$ref":"#/components/schemas/PpvEconomics"},{"type":"null"}],"description":"The preliminary economics; null when no economic policy is in effect, or when the caller's effective access does not cover `read:revenue`."}},"required":["price","alreadySold","economics"],"title":"PaidMessageQuote"},"PaidMessageSendResult":{"type":"object","properties":{"messageRef":{"type":"string","description":"The priced message. A replay answers the same reference."},"paid":{"$ref":"#/components/schemas/PaidMessageTermsSent"},"authorship":{"$ref":"#/components/schemas/Authorship"},"quote":{"$ref":"#/components/schemas/PaidMessageQuote"}},"required":["messageRef","paid","authorship","quote"],"title":"PaidMessageSendResult"},"PaidMessageQuoteRequestPrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","description":"Minor units as a decimal string; 100..1000000."},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["minor","currency"],"title":"PaidMessageQuoteRequestPrice"},"PaidMessageQuoteRequestAttachmentsItems":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"caption":{"type":"string"},"freeSample":{"type":"boolean","description":"A sample is given, not sold: never reported in `alreadySold`."}},"required":["mediaAssetId"],"title":"PaidMessageQuoteRequestAttachmentsItems"},"PaidMessageQuoteRequestFencingToken":{"oneOf":[{"type":"string"},{"type":"integer"}],"title":"PaidMessageQuoteRequestFencingToken"},"PaidMessageQuoteRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"title":"PaidMessageQuoteRequestAuthorship"},"PaidMessageQuoteRequest":{"type":"object","properties":{"price":{"$ref":"#/components/schemas/PaidMessageQuoteRequestPrice"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/PaidMessageQuoteRequestAttachmentsItems"},"description":"Optional. The files this price would sell, as the send would take them; never validated by the quote."},"body":{"type":"string"},"blurPreview":{"type":"boolean"},"viewOnce":{"type":"boolean"},"expiresAt":{"type":["string","null"],"format":"date-time"},"expectedLastMessageId":{"type":"string"},"fencingToken":{"$ref":"#/components/schemas/PaidMessageQuoteRequestFencingToken"},"takeover":{"type":"boolean"},"automationRunId":{"type":"string"},"authorship":{"$ref":"#/components/schemas/PaidMessageQuoteRequestAuthorship"},"operatorRef":{"type":"string"}},"required":["price"],"description":"The body of the two PPV quotes, `quotePaidMessage` and `quoteCreatorPaidPrice`. It accepts exactly the send's fields (`SendPaidMessageRequest` plus the coordination fields), so you quote the body you will send; any other field is refused by name with `400`.\n\n- `price` is the only required and validated field, checked against the send's own bounds: USD, 100..1000000 minor units.\n- `attachments` are optional. On a thread quote they name the files `alreadySold` asks about, samples excluded; the creator-level quote ignores them. A list the send would refuse is still quoted, with an empty warning: the send is where a bad set is refused, by field.\n- The other fields price nothing and are not validated by a quote.","title":"PaidMessageQuoteRequest"},"PaidMessageQuoteEnvelope":{"type":"object","properties":{"quote":{"$ref":"#/components/schemas/PaidMessageQuote"}},"required":["quote"],"title":"PaidMessageQuoteEnvelope"},"BulkMessagesRequestItemsItems":{"type":"object","properties":{"creatorId":{"type":"string","minLength":1,"maxLength":128},"conversationId":{"type":"string","minLength":1,"maxLength":128},"body":{"type":"string","minLength":1,"maxLength":2000},"attachments":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_-]+$"}},"viewOnce":{"type":"boolean","description":"As `sendMessage`; an item needing approval answers `202 APPROVAL_REQUIRED`."},"expiresAt":{"type":"string","format":"date-time","description":"CONDITIONAL per item, as `viewOnce`."},"authorship":{"$ref":"#/components/schemas/Authorship","description":"REQUIRED, as on `sendMessage`: `AI_AUTOMATED`, or `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` with `operatorRef`; a missing or undeclarable one is that item's `400 AUTHORSHIP_REQUIRED` / `AUTHORSHIP_INVALID`, an unconsented one its `403 AUTHORSHIP_NOT_PERMITTED`."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"As on `sendMessage`: the external CRM's opaque operator id — required with `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT`, refused otherwise. Stored in the agency audit only."},"fencingToken":{"$ref":"#/components/schemas/FencingToken","description":"The current fencing token of the conversation's live lease, as on `sendMessage`. An application must send it while that lease is live, even as the lease holder: without it the item answers `409 LEASE_HELD`. A token that is not current is the item's `409 STALE_FENCING_TOKEN`. See [conversation leases](/conversation-leases)."}},"required":["creatorId","conversationId","body"],"title":"BulkMessagesRequestItemsItems"},"BulkMessagesRequest":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/BulkMessagesRequestItemsItems"}}},"required":["items"],"description":"Up to 100 sends. Each item is validated exactly as `SendMessageRequest` plus its target; an invalid item is that item's `400 INVALID_REQUEST`, never the batch's. Unknown fields are ignored.","title":"BulkMessagesRequest"},"BulkMessagesResultItemsItems":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"description":"The item's position in the request."},"status":{"type":"integer","description":"The status the single send would have answered for this item.\n\n- `201` — sent.\n- `200` — replayed (same key and item).\n- `202` — a conditional item, such as one with a lifetime, waits for a person, and nothing was sent. `error.code` is `APPROVAL_REQUIRED` and `error.details` is `{approvalId, status, reason, expiresAt}`. Re-send the item alone through `sendMessage` with `Partner-Approval-Id`.\n- `400`, `403`, `404`, `409`, `429` or `503` — the error's status."},"message":{"$ref":"#/components/schemas/DirectMessage"},"error":{"$ref":"#/components/schemas/Error"}},"required":["index","status"],"title":"BulkMessagesResultItemsItems"},"BulkMessagesResult":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/BulkMessagesResultItemsItems"},"description":"One result per request item, in request order."}},"required":["items"],"title":"BulkMessagesResult"},"HandoffRequestTo":{"type":"string","enum":["HUMAN","APPLICATION"],"description":"Who the conversation is handed to. Your application hands it to `HUMAN`, the default. `APPLICATION` is refused with `403 HANDOFF_NOT_PERMITTED`.","title":"HandoffRequestTo"},"HandoffRequestFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"When `to` is `HUMAN`: the application's current lease token, if it holds one.","title":"HandoffRequestFencingToken"},"HandoffRequest":{"type":"object","properties":{"to":{"$ref":"#/components/schemas/HandoffRequestTo","description":"Who the conversation is handed to. Your application hands it to `HUMAN`, the default. `APPLICATION` is refused with `403 HANDOFF_NOT_PERMITTED`."},"fencingToken":{"$ref":"#/components/schemas/HandoffRequestFencingToken","description":"When `to` is `HUMAN`: the application's current lease token, if it holds one."},"reason":{"type":"string","pattern":"^[a-z0-9_.:-]{1,64}$","description":"A machine code such as `buyer_requested_human`, never prose."}},"title":"HandoffRequest"},"HandoffResultStatus":{"type":"string","enum":["HANDED_TO_HUMAN","HANDED_TO_APPLICATION"],"title":"HandoffResultStatus"},"HandoffResultTo":{"type":"string","enum":["HUMAN","APPLICATION"],"title":"HandoffResultTo"},"HandoffResult":{"type":"object","properties":{"conversationId":{"type":"string"},"status":{"$ref":"#/components/schemas/HandoffResultStatus"},"to":{"$ref":"#/components/schemas/HandoffResultTo"},"applicationId":{"type":["string","null"]}},"required":["conversationId","status","to","applicationId"],"title":"HandoffResult"},"ConversationCoordinationLeaseHolder":{"type":"string","enum":["APPLICATION","STAFF"],"title":"ConversationCoordinationLeaseHolder"},"ConversationCoordinationLease":{"type":"object","properties":{"holder":{"$ref":"#/components/schemas/ConversationCoordinationLeaseHolder"},"heldByYou":{"type":"boolean"},"applicationId":{"type":["string","null"],"description":"Set when the holder is an application of the asking agency."},"expiresAt":{"type":["string","null"],"format":"date-time","description":"Set when the holder belongs to the asking agency."}},"required":["holder","heldByYou","applicationId","expiresAt"],"title":"ConversationCoordinationLease"},"ConversationCoordinationAutomationReason":{"type":"string","enum":["HANDED_TO_HUMAN","HUMAN_REPLIED"],"title":"ConversationCoordinationAutomationReason"},"ConversationCoordinationAutomation":{"type":"object","properties":{"paused":{"type":"boolean"},"reason":{"$ref":"#/components/schemas/ConversationCoordinationAutomationReason"},"resumesAt":{"type":["string","null"],"format":"date-time","description":"End of the reply pause; null while handed to a person."},"pauseSeconds":{"type":"integer","description":"The window a person's reply starts for the asking agency."}},"required":["paused","reason","resumesAt","pauseSeconds"],"title":"ConversationCoordinationAutomation"},"ConversationCoordinationHandoffTo":{"type":"string","enum":["HUMAN","APPLICATION"],"title":"ConversationCoordinationHandoffTo"},"ConversationCoordinationHandoffRequestedBy":{"type":"string","enum":["APPLICATION","STAFF"],"title":"ConversationCoordinationHandoffRequestedBy"},"ConversationCoordinationHandoff":{"type":"object","properties":{"to":{"$ref":"#/components/schemas/ConversationCoordinationHandoffTo"},"applicationId":{"type":["string","null"]},"requestedBy":{"$ref":"#/components/schemas/ConversationCoordinationHandoffRequestedBy"},"requestedAt":{"type":"string","format":"date-time"},"reason":{"type":["string","null"]}},"required":["to","applicationId","requestedBy","requestedAt","reason"],"title":"ConversationCoordinationHandoff"},"ConversationCoordination":{"type":"object","properties":{"conversationId":{"type":"string"},"lease":{"oneOf":[{"$ref":"#/components/schemas/ConversationCoordinationLease"},{"type":"null"}]},"automation":{"$ref":"#/components/schemas/ConversationCoordinationAutomation"},"handoff":{"oneOf":[{"$ref":"#/components/schemas/ConversationCoordinationHandoff"},{"type":"null"}]}},"required":["conversationId","lease","automation","handoff"],"title":"ConversationCoordination"},"LeaseRequestAction":{"type":"string","enum":["acquire","renew","release"],"title":"LeaseRequestAction"},"LeaseRequestFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"Required for renew and release — the token the acquire answered (a decimal string; a JSON integer is tolerated).","title":"LeaseRequestFencingToken"},"LeaseRequest":{"type":"object","properties":{"action":{"$ref":"#/components/schemas/LeaseRequestAction"},"fencingToken":{"$ref":"#/components/schemas/LeaseRequestFencingToken","description":"Required for renew and release — the token the acquire answered (a decimal string; a JSON integer is tolerated)."},"ttlSeconds":{"type":"integer","minimum":1,"description":"Clamped to the configured bounds (15..300; default 60)."},"takeover":{"type":"boolean"}},"required":["action"],"title":"LeaseRequest"},"ConversationLeaseHolder":{"type":"string","enum":["APPLICATION","STAFF"],"title":"ConversationLeaseHolder"},"ConversationLease":{"type":"object","properties":{"conversationId":{"type":"string"},"fencingToken":{"type":"string","description":"The lease's fencing token. It is opaque, only increases within a conversation and is never reused. Send it with every message made under the lease: an application must send it while the lease is live, otherwise `409 LEASE_HELD`."},"expiresAt":{"type":"string","format":"date-time"},"holder":{"$ref":"#/components/schemas/ConversationLeaseHolder"},"heldByYou":{"type":"boolean","enum":[true]},"released":{"type":"boolean","enum":[false]}},"required":["conversationId","fencingToken","expiresAt","holder","heldByYou","released"],"title":"ConversationLease"},"ConversationLeaseReleased":{"type":"object","properties":{"conversationId":{"type":"string"},"released":{"type":"boolean","enum":[true]}},"required":["conversationId","released"],"title":"ConversationLeaseReleased"},"Conversation_leases_manageConversationLease_Response_200":{"oneOf":[{"$ref":"#/components/schemas/ConversationLease"},{"$ref":"#/components/schemas/ConversationLeaseReleased"}],"title":"Conversation leases_manageConversationLease_Response_200"},"PartnerV1AccountsCreatorIdMassMessageInsightsGetParametersRange":{"type":"string","enum":["7d","30d","90d","all"],"default":"30d","title":"PartnerV1AccountsCreatorIdMassMessageInsightsGetParametersRange"},"MassMessageInsightsRange":{"type":"string","enum":["7d","30d","90d","all"],"title":"MassMessageInsightsRange"},"MassMessageInsightsWindow":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"required":["from","to"],"title":"MassMessageInsightsWindow"},"MassMessageInsightsByCampaignItems":{"type":"object","properties":{"massMessageId":{"type":"string"},"sentAt":{"type":"string","format":"date-time"},"delivered":{"type":"integer"},"tracked":{"type":"integer"},"opened":{"type":"integer"}},"required":["massMessageId","sentAt","delivered","tracked","opened"],"title":"MassMessageInsightsByCampaignItems"},"MassMessageInsights":{"type":"object","properties":{"range":{"$ref":"#/components/schemas/MassMessageInsightsRange"},"window":{"$ref":"#/components/schemas/MassMessageInsightsWindow"},"campaigns":{"type":"integer"},"delivered":{"type":"integer"},"tracked":{"type":"integer"},"opened":{"type":"integer"},"openRate":{"type":["number","null"],"format":"double"},"byCampaign":{"type":"array","items":{"$ref":"#/components/schemas/MassMessageInsightsByCampaignItems"}},"measuredAs":{"type":"string","enum":["read_watermark"]}},"required":["range","window","campaigns","delivered","tracked","opened","openRate","byCampaign","measuredAs"],"title":"MassMessageInsights"},"MassMessageStatus":{"type":"string","enum":["DRAFT","QUEUED","SENDING","SENT","PARTIALLY_FAILED","CANCELLED","PAUSED"],"description":"`PAUSED` — the integration application that queued the campaign lost its access (disabled or revoked, braked by EVVA, a grant or the creator's consent revoked, the agency suspended, the creator's integrations held, or a scope the send needs withdrawn). Every delivery asks the application's CURRENT access first; a refused campaign sends nothing more (what was delivered stays delivered) and waits for the CREATOR to resume or discard it. Re-enabling the application resumes nothing. A paused campaign can be cancelled (`cancelMassMessage`); it cannot be edited or queued again through the Partner API.","title":"MassMessageStatus"},"SegmentCriteriaOneOf0Type":{"type":"string","enum":["ALL_CONVERSATIONS","ALL_FOLLOWERS","ALL_SUBSCRIBERS","PAID_SUBSCRIBERS"],"title":"SegmentCriteriaOneOf0Type"},"SegmentCriteria0":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/SegmentCriteriaOneOf0Type"}},"required":["type"],"title":"SegmentCriteria0"},"SegmentCriteria1":{"type":"object","properties":{"type":{"type":"string","enum":["RECENT_CONVERSATIONS"]},"activeWithinDays":{"type":"integer","minimum":1,"maximum":365}},"required":["type","activeWithinDays"],"title":"SegmentCriteria1"},"SegmentCriteria2":{"type":"object","properties":{"type":{"type":"string","enum":["SPENDERS"]},"minSpendMinor":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"}},"required":["type","minSpendMinor"],"title":"SegmentCriteria2"},"SegmentCriteria3":{"type":"object","properties":{"type":{"type":"string","enum":["FAN_LIST"]},"listKey":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"}},"required":["type","listKey"],"title":"SegmentCriteria3"},"SegmentCriteria":{"oneOf":[{"$ref":"#/components/schemas/SegmentCriteria0"},{"$ref":"#/components/schemas/SegmentCriteria1"},{"$ref":"#/components/schemas/SegmentCriteria2"},{"$ref":"#/components/schemas/SegmentCriteria3"}],"description":"The audience of a mass message. `ALL_SUBSCRIBERS` is accepted as an alias of `ALL_FOLLOWERS`.\n\n`FAN_LIST` names a catalogue list or one of the creator's own lists (`cl-…`). Another creator's list, a deleted list or an unmessageable list is `400`. Delivery skips fans who opted out of promotional messages and never opens a thread toward a block, exactly as for the creator's own broadcast.\n\nSome audiences are buyer data. Your application may address `SPENDERS` only with an effective `read:subscribers:spend`, and `PAID_SUBSCRIBERS` only with `read:buyer_context`; the same holds for a `FAN_LIST` naming a catalogue list derived from spend, such as `spent-over-50` (`read:subscribers:spend`, `segmentType: FAN_LIST`). Without the scope, create, update and queue answer `403 INSUFFICIENT_SCOPE` with `details.requiredScope` and `details.segmentType`, and nothing is written.","title":"SegmentCriteria"},"MassMessageSegmentCriteria":{"oneOf":[{"$ref":"#/components/schemas/SegmentCriteria"},{"type":"string"}],"description":"The parsed criteria, or the stored string when it no longer parses.","title":"MassMessageSegmentCriteria"},"MassMessageUnlock":{"type":"object","properties":{"priceMinor":{"type":"string","description":"Exact decimal string of minor units."},"currency":{"type":"string"},"blurPreview":{"type":"boolean"}},"required":["priceMinor","currency","blurPreview"],"description":"PPV — what a fan pays to open it, or null for a free broadcast (never zero).","title":"MassMessageUnlock"},"MassMessageEarnings":{"type":"object","properties":{"purchases":{"type":"integer"},"creatorMinor":{"type":"string"},"grossMinor":{"type":"string"},"currency":{"type":["string","null"]}},"required":["purchases","creatorMinor","grossMinor","currency"],"description":"What the campaign earned. It is null when that is not stated here: the deployment does not measure it, or the consent does not cover `read:revenue`. Zeroes mean it was measured and nobody bought it.","title":"MassMessageEarnings"},"MassMessage":{"type":"object","properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/MassMessageStatus"},"body":{"type":"string"},"segmentCriteria":{"$ref":"#/components/schemas/MassMessageSegmentCriteria","description":"The parsed criteria, or the stored string when it no longer parses."},"mediaAssetIds":{"type":"array","items":{"type":"string"}},"scheduledAt":{"type":["string","null"],"format":"date-time"},"unlock":{"oneOf":[{"$ref":"#/components/schemas/MassMessageUnlock"},{"type":"null"}],"description":"PPV — what a fan pays to open it, or null for a free broadcast (never zero)."},"recipientCount":{"type":"integer","description":"Addressed — skipped ones included; not reach."},"deliveredCount":{"type":"integer"},"failedCount":{"type":"integer"},"pausedAt":{"type":["string","null"],"format":"date-time","description":"`null` when it is not paused. Paused is not the same as off: a paused item waits for the creator's decision, and an application cannot resume, cancel or delete it (409 `PAUSED_AWAITING_CREATOR`)."},"pauseReason":{"type":["string","null"],"description":"Why it was paused — the access refusal (for example `APP_DISABLED`, `APP_REVOKED`, `NOT_ASSIGNED`, `GRANT_REVOKED`, `AGENCY_SUSPENDED`, `CREATOR_INTEGRATIONS_HELD`, `CONSENT_SCOPE_MISSING`, `CREATOR_RESTRICTED`); `null` when it is not paused."},"skippedCount":{"type":"integer","description":"Recipients addressed but deliberately not sent to: muted, opted out or already holding the message. For a\ncampaign your application queued, also conversations a person on the agency's team was handling."},"earnings":{"oneOf":[{"$ref":"#/components/schemas/MassMessageEarnings"},{"type":"null"}],"description":"What the campaign earned. It is null when that is not stated here: the deployment does not measure it, or the consent does not cover `read:revenue`. Zeroes mean it was measured and nobody bought it."},"createdAt":{"type":"string","format":"date-time"}},"required":["id","status","body","segmentCriteria","mediaAssetIds","scheduledAt","unlock","recipientCount","deliveredCount","failedCount","skippedCount","earnings","createdAt"],"description":"The creator's own campaign DTO.","title":"MassMessage"},"MassMessagePage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"The cursor for the next page; pass it back as `cursor`. Returned on the conversations inbox page and absent on the other offset pages."},"items":{"type":"array","items":{"$ref":"#/components/schemas/MassMessage"}}},"required":["total","skip","take","items"],"title":"MassMessagePage"},"CreateMassMessageRequestSegmentCriteria":{"oneOf":[{"$ref":"#/components/schemas/SegmentCriteria"},{"type":"string"}],"description":"An object, or the same object as a JSON string. Optional on a draft; required to queue.","title":"CreateMassMessageRequestSegmentCriteria"},"CreateMassMessageRequestUnlockPrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[1-9][0-9]{0,17}$"},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["minor","currency"],"description":"PPV: what a fan pays to open it. Needs at least one attachment and a grant covering `write:paid_messages`. `price` is accepted as an alias. Null or absent = free.","title":"CreateMassMessageRequestUnlockPrice"},"CreateMassMessageRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal provenance only — the fan sees the creator's broadcast.","title":"CreateMassMessageRequestAuthorship"},"CreateMassMessageRequest":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":2000},"segmentCriteria":{"oneOf":[{"$ref":"#/components/schemas/CreateMassMessageRequestSegmentCriteria"},{"type":"null"}],"description":"An object, or the same object as a JSON string. Optional on a draft; required to queue."},"attachments":{"type":"array","items":{"type":"string"}},"mediaAssetIds":{"type":"array","items":{"type":"string"},"description":"Alias of `attachments`."},"scheduledAt":{"type":["string","null"],"format":"date-time"},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/CreateMassMessageRequestUnlockPrice"},{"type":"null"}],"description":"PPV: what a fan pays to open it. Needs at least one attachment and a grant covering `write:paid_messages`. `price` is accepted as an alias. Null or absent = free."},"blurPreview":{"type":"boolean","default":true,"description":"Only with a price."},"authorship":{"$ref":"#/components/schemas/CreateMassMessageRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal provenance only — the fan sees the creator's broadcast."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only."}},"required":["body"],"title":"CreateMassMessageRequest"},"MassMessageWriteEnvelope":{"type":"object","properties":{"massMessage":{"$ref":"#/components/schemas/MassMessage"},"quote":{"oneOf":[{"$ref":"#/components/schemas/PaidMessageQuote"},{"type":"null"}]}},"required":["massMessage","quote"],"description":"The answer to creating or updating a mass message: the campaign and, for a priced campaign, the preliminary PPV quote.\n\n- `quote` is null for a free campaign, or for a caller who may not set a price here.\n- The quote's `economics` is null unless the caller may see the creator's money; for your application, its effective access must cover it. This is the same check as the campaign's `earnings`, and the price is still echoed.\n- A campaign quote names no fan, so `alreadySold` is always null.","title":"MassMessageWriteEnvelope"},"MassMessageEnvelope":{"type":"object","properties":{"massMessage":{"$ref":"#/components/schemas/MassMessage"}},"required":["massMessage"],"title":"MassMessageEnvelope"},"UpdateMassMessageRequestSegmentCriteria":{"oneOf":[{"$ref":"#/components/schemas/SegmentCriteria"},{"type":"string"}],"title":"UpdateMassMessageRequestSegmentCriteria"},"UpdateMassMessageRequestUnlockPrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[1-9][0-9]{0,17}$"},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["minor","currency"],"description":"As on create; `price` is accepted as an alias.","title":"UpdateMassMessageRequestUnlockPrice"},"UpdateMassMessageRequestPrice":{"type":"object","properties":{"minor":{"type":"string"},"currency":{"$ref":"#/components/schemas/Currency"}},"description":"Alias of `unlockPrice`.","title":"UpdateMassMessageRequestPrice"},"UpdateMassMessageRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal provenance only — the fan sees the creator's broadcast.","title":"UpdateMassMessageRequestAuthorship"},"UpdateMassMessageRequest":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":2000},"segmentCriteria":{"oneOf":[{"$ref":"#/components/schemas/UpdateMassMessageRequestSegmentCriteria"},{"type":"null"}]},"attachments":{"type":"array","items":{"type":"string"}},"mediaAssetIds":{"type":"array","items":{"type":"string"},"description":"Alias of `attachments`."},"scheduledAt":{"type":["string","null"],"format":"date-time"},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/UpdateMassMessageRequestUnlockPrice"},{"type":"null"}],"description":"As on create; `price` is accepted as an alias."},"price":{"oneOf":[{"$ref":"#/components/schemas/UpdateMassMessageRequestPrice"},{"type":"null"}],"description":"Alias of `unlockPrice`."},"blurPreview":{"type":"boolean"},"authorship":{"$ref":"#/components/schemas/UpdateMassMessageRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal provenance only — the fan sees the creator's broadcast."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only."}},"required":["body"],"description":"Replaces the whole campaign, as the creator's own update does: send every field every time. An omitted price makes the campaign free, and an omitted audience means \"not chosen\". Any other field is `400`.","title":"UpdateMassMessageRequest"},"MassMessageOpens":{"type":"object","properties":{"opened":{"type":"integer"},"tracked":{"type":"integer","description":"The honest denominator — recipients whose read state may be stated."}},"required":["opened","tracked"],"title":"MassMessageOpens"},"QueueMassMessageRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal provenance only — the fan sees the creator's broadcast.","title":"QueueMassMessageRequestAuthorship"},"QueueMassMessageRequest":{"type":"object","properties":{"authorship":{"$ref":"#/components/schemas/QueueMassMessageRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal provenance only — the fan sees the creator's broadcast."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only."}},"description":"Who presses send on the broadcast. REQUIRED for an application (its automation, or a live operator of its CRM).","title":"QueueMassMessageRequest"},"IceBreakerConfigUnlockPrice":{"type":"object","properties":{"minor":{"type":"string"},"currency":{"type":"string"},"blurPreview":{"type":"boolean"},"expiresAt":{"type":["string","null"],"format":"date-time"}},"required":["minor","currency","blurPreview","expiresAt"],"description":"The opener's offer as the studio serves it, or null (free).","title":"IceBreakerConfigUnlockPrice"},"IceBreakerConfig":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean","description":"An opener an integration application configured asks that application's CURRENT access before every send. When that access is gone it is switched off (`false`) and stays off until a person writes it again; re-enabling the application does not switch it back on, and the application's own write keeps it off (`false` in the answer) whatever it sends."},"pausedAt":{"type":["string","null"],"format":"date-time","description":"`null` when it is not paused. Paused is not the same as off: a paused item waits for the creator's decision, and an application cannot resume, cancel or delete it (409 `PAUSED_AWAITING_CREATOR`)."},"pauseReason":{"type":["string","null"],"description":"Why it was paused — the access refusal (for example `APP_DISABLED`, `APP_REVOKED`, `NOT_ASSIGNED`, `GRANT_REVOKED`, `AGENCY_SUSPENDED`, `CREATOR_INTEGRATIONS_HELD`, `CONSENT_SCOPE_MISSING`, `CREATOR_RESTRICTED`); `null` when it is not paused."},"body":{"type":"string"},"mediaAssetIds":{"type":"array","items":{"type":"string"}},"delaySecondsAfterSubscription":{"type":"integer"},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/IceBreakerConfigUnlockPrice"},{"type":"null"}],"description":"The opener's offer as the studio serves it, or null (free)."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","enabled","body","mediaAssetIds","delaySecondsAfterSubscription","createdAt","updatedAt"],"title":"IceBreakerConfig"},"IceBreakerEnvelope":{"type":"object","properties":{"config":{"oneOf":[{"$ref":"#/components/schemas/IceBreakerConfig"},{"type":"null"}]}},"required":["config"],"title":"IceBreakerEnvelope"},"UpsertIceBreakerRequestUnlockPrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[1-9][0-9]{0,17}$"},"currency":{"$ref":"#/components/schemas/Currency"},"blurPreview":{"type":"boolean","default":true},"expiresAt":{"type":["string","null"],"format":"date-time"}},"required":["minor","currency"],"description":"The creator's own opener price; `price` is accepted as an alias. Null or absent means free. A price that is set or changed needs at least one attachment and `write:paid_messages`, and goes through [action approval](/approvals). Sending back the stored offer unchanged needs neither the scope nor approval.","title":"UpsertIceBreakerRequestUnlockPrice"},"UpsertIceBreakerRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal (agency audit) only — the fan sees the creator's own message.","title":"UpsertIceBreakerRequestAuthorship"},"UpsertIceBreakerRequest":{"type":"object","properties":{"enabled":{"type":"boolean"},"body":{"type":"string","minLength":1,"maxLength":2000},"delaySecondsAfterSubscription":{"type":"integer","minimum":0,"maximum":604800,"default":0},"attachments":{"type":"array","items":{"type":"string"}},"mediaAssetIds":{"type":"array","items":{"type":"string"},"description":"Alias of `attachments`."},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/UpsertIceBreakerRequestUnlockPrice"},{"type":"null"}],"description":"The creator's own opener price; `price` is accepted as an alias. Null or absent means free. A price that is set or changed needs at least one attachment and `write:paid_messages`, and goes through [action approval](/approvals). Sending back the stored offer unchanged needs neither the scope nor approval."},"authorship":{"$ref":"#/components/schemas/UpsertIceBreakerRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal (agency audit) only — the fan sees the creator's own message."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only."}},"required":["enabled","body"],"title":"UpsertIceBreakerRequest"},"MessageAutomationTrigger":{"type":"string","enum":["TIP_RECEIVED","SUBSCRIPTION_ENDED","FAN_WENT_QUIET","UNLOCK_PURCHASED"],"title":"MessageAutomationTrigger"},"MessageAutomationRuleUnlockPrice":{"type":"object","properties":{"minor":{"type":"string"},"currency":{"type":"string"},"blurPreview":{"type":"boolean"}},"required":["minor","currency","blurPreview"],"title":"MessageAutomationRuleUnlockPrice"},"MessageAutomationRuleStats":{"type":"object","properties":{"sent":{"type":"integer"},"lastSentAt":{"type":["string","null"],"format":"date-time"}},"required":["sent","lastSentAt"],"title":"MessageAutomationRuleStats"},"MessageAutomationRule":{"type":"object","properties":{"id":{"type":"string"},"trigger":{"$ref":"#/components/schemas/MessageAutomationTrigger"},"enabled":{"type":"boolean","description":"A rule an integration application configured asks that application's CURRENT access before every send. When that access is gone it is switched off (`false`) and stays off until a person writes it again; re-enabling the application does not switch it back on, and the application's own write keeps it off (`false` in the answer) whatever it sends."},"pausedAt":{"type":["string","null"],"format":"date-time","description":"`null` when it is not paused. Paused is not the same as off: a paused item waits for the creator's decision, and an application cannot resume, cancel or delete it (409 `PAUSED_AWAITING_CREATOR`)."},"pauseReason":{"type":["string","null"],"description":"Why it was paused — the access refusal (for example `APP_DISABLED`, `APP_REVOKED`, `NOT_ASSIGNED`, `GRANT_REVOKED`, `AGENCY_SUSPENDED`, `CREATOR_INTEGRATIONS_HELD`, `CONSENT_SCOPE_MISSING`, `CREATOR_RESTRICTED`); `null` when it is not paused."},"delaySeconds":{"type":"integer"},"quietAfterDays":{"type":["integer","null"]},"body":{"type":"string"},"mediaAssetIds":{"type":"array","items":{"type":"string"}},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/MessageAutomationRuleUnlockPrice"},{"type":"null"}]},"stats":{"$ref":"#/components/schemas/MessageAutomationRuleStats"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","trigger","enabled","delaySeconds","quietAfterDays","body","mediaAssetIds","unlockPrice","stats","createdAt","updatedAt"],"title":"MessageAutomationRule"},"MessageAutomationList":{"type":"object","properties":{"triggers":{"type":"array","items":{"$ref":"#/components/schemas/MessageAutomationTrigger"}},"rules":{"type":"array","items":{"$ref":"#/components/schemas/MessageAutomationRule"}}},"required":["triggers","rules"],"title":"MessageAutomationList"},"Automations_getMessageAutomation_Response_200":{"type":"object","properties":{"rule":{"oneOf":[{"$ref":"#/components/schemas/MessageAutomationRule"},{"type":"null"}]}},"required":["rule"],"title":"Automations_getMessageAutomation_Response_200"},"UpsertMessageAutomationRequestUnlockPrice":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[1-9][0-9]{0,17}$"},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["minor","currency"],"description":"The rule's price; `price` is accepted as an alias. Null or absent means free. A price that is set or changed needs at least one attachment and `write:paid_messages`, and goes through [action approval](/approvals). Sending back the stored price unchanged needs neither the scope nor approval.","title":"UpsertMessageAutomationRequestUnlockPrice"},"UpsertMessageAutomationRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal (agency audit) only — the fan sees the creator's own message.","title":"UpsertMessageAutomationRequestAuthorship"},"UpsertMessageAutomationRequest":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Absent means false."},"delaySeconds":{"type":"integer","minimum":0,"maximum":2592000,"default":0},"quietAfterDays":{"type":["integer","null"],"minimum":3,"maximum":90,"description":"FAN_WENT_QUIET only (default 14)."},"body":{"type":"string","minLength":1,"maxLength":2000},"attachments":{"type":"array","items":{"type":"string"}},"mediaAssetIds":{"type":"array","items":{"type":"string"},"description":"Alias of `attachments`."},"unlockPrice":{"oneOf":[{"$ref":"#/components/schemas/UpsertMessageAutomationRequestUnlockPrice"},{"type":"null"}],"description":"The rule's price; `price` is accepted as an alias. Null or absent means free. A price that is set or changed needs at least one attachment and `write:paid_messages`, and goes through [action approval](/approvals). Sending back the stored price unchanged needs neither the scope nor approval."},"blurPreview":{"type":"boolean","default":true},"authorship":{"$ref":"#/components/schemas/UpsertMessageAutomationRequestAuthorship","description":"REQUIRED for an application: `AI_AUTOMATED` needs `write:messages:automated`; `HUMAN_AUTHORED` / `AI_DRAFTED_HUMAN_SENT` need `write:messages:operator` and `operatorRef`. Internal (agency audit) only — the fan sees the creator's own message."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise. Agency audit only."}},"required":["body"],"title":"UpsertMessageAutomationRequest"},"Automations_upsertMessageAutomation_Response_200":{"type":"object","properties":{"rule":{"$ref":"#/components/schemas/MessageAutomationRule"}},"required":["rule"],"title":"Automations_upsertMessageAutomation_Response_200"},"Automations_deleteMessageAutomation_Response_200":{"type":"object","properties":{"deleted":{"type":"boolean","enum":[true]}},"required":["deleted"],"title":"Automations_deleteMessageAutomation_Response_200"},"MessageAutomationHistoryRule":{"type":"object","properties":{"id":{"type":"string"},"trigger":{"$ref":"#/components/schemas/MessageAutomationTrigger"}},"required":["id","trigger"],"title":"MessageAutomationHistoryRule"},"MessageAutomationHistorySendsItemsState":{"type":"string","enum":["PLANNED","SENT","SUPPRESSED","FAILED"],"title":"MessageAutomationHistorySendsItemsState"},"MessageAutomationHistorySendsItemsSuppressedReason":{"type":"string","enum":["MUTED","OPTED_OUT","RULE_DISABLED","CONVERSATION_GONE","FAN_REPLIED","BLOCKED"],"title":"MessageAutomationHistorySendsItemsSuppressedReason"},"MessageAutomationHistorySendsItems":{"type":"object","properties":{"id":{"type":"string"},"state":{"$ref":"#/components/schemas/MessageAutomationHistorySendsItemsState"},"suppressedReason":{"oneOf":[{"$ref":"#/components/schemas/MessageAutomationHistorySendsItemsSuppressedReason"},{"type":"null"}]},"plannedAt":{"type":"string","format":"date-time"},"sentAt":{"type":["string","null"],"format":"date-time"}},"required":["id","state","suppressedReason","plannedAt","sentAt"],"title":"MessageAutomationHistorySendsItems"},"MessageAutomationHistory":{"type":"object","properties":{"rule":{"oneOf":[{"$ref":"#/components/schemas/MessageAutomationHistoryRule"},{"type":"null"}]},"sends":{"type":"array","items":{"$ref":"#/components/schemas/MessageAutomationHistorySendsItems"}}},"required":["rule","sends"],"title":"MessageAutomationHistory"},"PartnerV1AccountsCreatorIdConversationsSpendGetResponsesContentApplicationJsonSchemaItemsItemsLifetimeSpend":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string"}},"required":["minor","currency"],"title":"PartnerV1AccountsCreatorIdConversationsSpendGetResponsesContentApplicationJsonSchemaItemsItemsLifetimeSpend"},"PartnerV1AccountsCreatorIdConversationsSpendGetResponsesContentApplicationJsonSchemaItemsItems":{"type":"object","properties":{"conversationId":{"type":"string"},"lifetimeSpend":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsSpendGetResponsesContentApplicationJsonSchemaItemsItemsLifetimeSpend"}},"required":["conversationId","lifetimeSpend"],"title":"PartnerV1AccountsCreatorIdConversationsSpendGetResponsesContentApplicationJsonSchemaItemsItems"},"Fans_listConversationSpend_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PartnerV1AccountsCreatorIdConversationsSpendGetResponsesContentApplicationJsonSchemaItemsItems"}}},"required":["items"],"title":"Fans_listConversationSpend_Response_200"},"FanListKey":{"type":"string","description":"A catalogue list key, or the `cl-…` id of one of the creator's own lists. An unknown key, or another creator's `cl-…` id, answers 404. Write operations take only a `cl-…` id, because a smart list is a rule nobody renames or deletes.","title":"FanListKey"},"FanListIndexListsItems":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/FanListKey"},"memberCount":{"type":"integer"}},"required":["key","memberCount"],"title":"FanListIndexListsItems"},"CustomFanListKind":{"type":"string","enum":["custom"],"title":"CustomFanListKind"},"CustomFanList":{"type":"object","properties":{"id":{"type":"string","pattern":"^cl-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"name":{"type":"string","minLength":1,"maxLength":60},"kind":{"$ref":"#/components/schemas/CustomFanListKind"},"memberCount":{"type":"integer","minimum":0},"rule":{"type":"string","description":"Always empty — a custom list has no rule."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","kind","memberCount","rule","createdAt","updatedAt"],"description":"One of the creator's own lists, exactly as the creator's studio carries it. Names no fan.","title":"CustomFanList"},"FanListIndex":{"type":"object","properties":{"totalFans":{"type":"integer"},"lists":{"type":"array","items":{"$ref":"#/components/schemas/FanListIndexListsItems"}},"custom":{"type":"array","items":{"$ref":"#/components/schemas/CustomFanList"},"description":"The creator's own lists."}},"required":["totalFans","lists","custom"],"title":"FanListIndex"},"FanListNameRequest":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60,"description":"One line, 1..60 code points, unique per creator (case-insensitive)."}},"required":["name"],"title":"FanListNameRequest"},"CustomFanListEnvelope":{"type":"object","properties":{"list":{"$ref":"#/components/schemas/CustomFanList"}},"required":["list"],"title":"CustomFanListEnvelope"},"FanListDetailItemsItemsStatus":{"type":"string","enum":["subscriber","ppv-only","follower"],"title":"FanListDetailItemsItemsStatus"},"FanListDetailItemsItems":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's OWN pairwise pseudonym of the buyer (per application and creator)."},"fanDisplayLabel":{"type":"string"},"avatarUrl":{"type":["string","null"]},"profileSlug":{"type":["string","null"],"description":"Always null (buyer minimisation)."},"status":{"$ref":"#/components/schemas/FanListDetailItemsItemsStatus"},"muted":{"type":"boolean"},"vip":{"type":"boolean"},"lastHeardFrom":{"type":["string","null"],"format":"date-time"},"since":{"type":"string","format":"date-time"}},"required":["fanDisplayLabel","avatarUrl","profileSlug","status","muted","vip","lastHeardFrom","since"],"description":"In your application's answers, the fan is identified by `buyerRef` and `avatarUrl` is null.","title":"FanListDetailItemsItems"},"FanListDetail":{"type":"object","properties":{"listKey":{"$ref":"#/components/schemas/FanListKey"},"memberCount":{"type":"integer"},"nextCursor":{"type":["string","null"]},"items":{"type":"array","items":{"$ref":"#/components/schemas/FanListDetailItemsItems"}}},"required":["listKey","memberCount","nextCursor","items"],"title":"FanListDetail"},"FanRefsRequest":{"type":"object","properties":{"fanRefs":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"buyerRefs":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}},"description":"An application sends `buyerRefs` (its own pairwise pseudonyms) and is refused 400 for a `fanRefs` body.","title":"FanRefsRequest"},"FanListMembersAdded":{"type":"object","properties":{"list":{"$ref":"#/components/schemas/CustomFanList"},"added":{"type":"integer","minimum":0},"alreadyOnList":{"type":"integer","minimum":0}},"required":["list","added","alreadyOnList"],"title":"FanListMembersAdded"},"FanListMembersRemoved":{"type":"object","properties":{"list":{"$ref":"#/components/schemas/CustomFanList"},"removed":{"type":"integer","minimum":0}},"required":["list","removed"],"title":"FanListMembersRemoved"},"Fan":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's OWN pairwise pseudonym of the buyer (per application and creator)."},"nickname":{"type":["string","null"],"description":"The creator's private label."},"displayName":{"type":["string","null"]},"profileSlug":{"description":"Any type"},"avatarUrl":{"type":["string","null"],"description":"An https URL or null (the creator's own picture rule)."},"avatarMediaAssetId":{"description":"Any type"},"muted":{"type":"boolean"},"mutedAt":{"type":["string","null"],"format":"date-time"},"referencedAt":{"type":"string","format":"date-time"},"lifetimeSpendMinor":{"type":["string","null"],"description":"Minor units as a decimal string, or null when withheld."},"vip":{"type":["boolean","null"]}},"required":["nickname","displayName","profileSlug","avatarUrl","avatarMediaAssetId","muted","mutedAt","referencedAt","lifetimeSpendMinor","vip"],"description":"One fan in the creator's fan directory: the creator's own row, with personal data minimised. It never carries an email or an account id.\n\n- `profileSlug` and `avatarMediaAssetId` are always null, because they are global identifiers.\n- `lifetimeSpendMinor` is null unless the grant covers `read:subscribers:spend`.\n- `fanRef` is the creator-scoped relationship reference. Your application's row carries its own pairwise `buyerRef` instead and no `fanRef`, and its `avatarUrl` and `displayName` are null. See [buyer pseudonyms](/buyer-pseudonyms).","title":"Fan"},"FanPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Fan"}},"nextCursor":{"type":["string","null"]}},"required":["items","nextCursor"],"title":"FanPage"},"FanEnvelope":{"type":"object","properties":{"fan":{"$ref":"#/components/schemas/Fan"}},"required":["fan"],"title":"FanEnvelope"},"FanNicknameRequest":{"type":"object","properties":{"nickname":{"type":["string","null"],"maxLength":60,"description":"Null (or absent) clears the label. At most 60 characters after trimming."}},"title":"FanNicknameRequest"},"FanNote":{"type":"object","properties":{"noteRef":{"type":"string"},"body":{"type":"string","minLength":1,"maxLength":2000},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"favourite":{"type":"boolean"}},"required":["noteRef","body","createdAt","updatedAt","favourite"],"title":"FanNote"},"FanNoteList":{"type":"object","properties":{"notes":{"type":"array","items":{"$ref":"#/components/schemas/FanNote"}}},"required":["notes"],"title":"FanNoteList"},"FanNoteRequest":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":2000,"description":"Trimmed; whitespace only is refused."}},"required":["body"],"title":"FanNoteRequest"},"FanNoteEnvelope":{"type":"object","properties":{"note":{"$ref":"#/components/schemas/FanNote"}},"required":["note"],"title":"FanNoteEnvelope"},"FanCounts":{"type":"object","properties":{"all":{"type":"integer","minimum":0},"muted":{"type":"integer","minimum":0}},"required":["all","muted"],"title":"FanCounts"},"FanPresenceResultPresenceStatus":{"type":"string","enum":["ONLINE","AWAY","OFFLINE"],"title":"FanPresenceResultPresenceStatus"},"FanPresenceResultPresence":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/FanPresenceResultPresenceStatus"},"lastSeenAt":{"type":["string","null"],"format":"date-time"},"observedAt":{"type":"string","format":"date-time"}},"required":["status","lastSeenAt","observedAt"],"title":"FanPresenceResultPresence"},"FanPresenceResult":{"type":"object","properties":{"presence":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FanPresenceResultPresence"},"description":"Keyed by the reference asked with. An absent key means \"not known here\", never OFFLINE."}},"required":["presence"],"title":"FanPresenceResult"},"TopFanRelationship":{"type":"string","enum":["SUBSCRIBER","FOLLOWER"],"title":"TopFanRelationship"},"TopFan":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's OWN pairwise pseudonym of the buyer (per application and creator)."},"displayName":{"type":["string","null"]},"avatarUrl":{"type":["string","null"]},"avatarMediaAssetId":{"description":"Any type"},"profileSlug":{"description":"Any type"},"lifetimeSpendMinor":{"type":"string","description":"What the fan paid and kept paid (minor units, decimal string)."},"subscriber":{"type":"boolean"},"relationship":{"$ref":"#/components/schemas/TopFanRelationship"},"since":{"type":["string","null"],"format":"date-time"}},"required":["displayName","avatarUrl","avatarMediaAssetId","profileSlug","lifetimeSpendMinor","subscriber","relationship","since"],"description":"In your application's answers, the fan is identified by `buyerRef` and `avatarUrl` is null.","title":"TopFan"},"TopFanList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TopFan"}}},"required":["items"],"title":"TopFanList"},"Subscriber":{"type":"object","properties":{"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only — the application's own pairwise pseudonym of the subscriber."},"subscriptionId":{"type":"string"},"fanDisplayLabel":{"type":"string"},"avatarUrl":{"type":["string","null"]},"profileSlug":{"type":["string","null"],"description":"Always null (buyer minimisation)."},"status":{"type":"string"},"subscribedAt":{"type":"string","format":"date-time"},"conversationId":{"type":["string","null"]},"messageCount":{"type":"integer"},"lastMessageAt":{"type":["string","null"],"format":"date-time"},"tier":{"oneOf":[{"$ref":"#/components/schemas/SpendTier"},{"type":"null"}],"description":"The fan's spend tier; null unless the caller may see spend (an application: effective `read:subscribers:spend`)."}},"required":["subscriptionId","fanDisplayLabel","avatarUrl","profileSlug","status","subscribedAt","conversationId","messageCount","lastMessageAt","tier"],"description":"One active subscriber. A row sent to your application carries your own `buyerRef`, an opaque `fanDisplayLabel` and an `avatarUrl` of `null`. It has no `creatorEarningsCents` or `orderCount`, and `tier` is `null` unless your application's effective access covers `read:subscribers:spend`.","title":"Subscriber"},"SubscriberPage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"The cursor for the next page; pass it back as `cursor`. Returned on the conversations inbox page and absent on the other offset pages."},"items":{"type":"array","items":{"$ref":"#/components/schemas/Subscriber"}}},"required":["total","skip","take","items"],"title":"SubscriberPage"},"PartnerV1AccountsCreatorIdMediaAssetsGetParametersLibrary":{"type":"string","enum":["public","private"],"title":"PartnerV1AccountsCreatorIdMediaAssetsGetParametersLibrary"},"MediaKind":{"type":"string","enum":["image","video","audio","animation","document"],"title":"MediaKind"},"MediaStatus":{"type":"string","enum":["uploaded","processing","ready","failed","quarantined"],"title":"MediaStatus"},"ModerationState":{"type":"string","enum":["PENDING_SCAN","CLEARED","FLAGGED","BLOCKED"],"title":"ModerationState"},"VaultAssetLifecycleState":{"type":"string","enum":["ACTIVE","ARCHIVED"],"title":"VaultAssetLifecycleState"},"VaultAsset":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"kind":{"$ref":"#/components/schemas/MediaKind"},"status":{"$ref":"#/components/schemas/MediaStatus"},"mimeType":{"type":"string"},"sizeBytes":{"type":"string","pattern":"^[0-9]+$","description":"A decimal string (64-bit)."},"createdAt":{"type":"string","format":"date-time"},"moderationState":{"$ref":"#/components/schemas/ModerationState"},"updatedAt":{"type":"string","format":"date-time"},"lifecycleState":{"$ref":"#/components/schemas/VaultAssetLifecycleState"},"previewUrl":{"type":["string","null"],"description":"A presigned GET URL, valid for at most 600 seconds, of a derivative: the image thumbnail or the video poster, never the original. Null for other kinds, for failed, quarantined or moderation-blocked assets, and while the derivative is not ready."},"previewPending":{"type":"boolean","description":"True while the asset is still uploaded/processing and its derivative is not ready yet."}},"required":["mediaAssetId","kind","status","mimeType","sizeBytes","createdAt","moderationState","updatedAt","lifecycleState","previewUrl","previewPending"],"title":"VaultAsset"},"MediaAssetPage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"The cursor for the next page; pass it back as `cursor`. Returned on the conversations inbox page and absent on the other offset pages."},"items":{"type":"array","items":{"$ref":"#/components/schemas/VaultAsset"}}},"required":["total","skip","take","items"],"description":"The ready, attachable slice of the Active library (no `library` parameter): each item is a `VaultAsset` — the same projection and preview rule as a vault shelf (additive since 1.x: the attach picker needs no shelf of its own); an application gets `previewUrl: null`.","title":"MediaAssetPage"},"VaultPageLibrary":{"type":"string","enum":["public","private"],"title":"VaultPageLibrary"},"VaultPage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"The cursor for the next page; pass it back as `cursor`. Returned on the conversations inbox page and absent on the other offset pages."},"library":{"$ref":"#/components/schemas/VaultPageLibrary"},"items":{"type":"array","items":{"$ref":"#/components/schemas/VaultAsset"}}},"required":["total","skip","take","library","items"],"title":"VaultPage"},"Media_listMediaAssets_Response_200":{"oneOf":[{"$ref":"#/components/schemas/MediaAssetPage"},{"$ref":"#/components/schemas/VaultPage"}],"title":"Media_listMediaAssets_Response_200"},"AssetDeleted":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"deleted":{"type":"boolean","enum":[true]}},"required":["mediaAssetId","deleted"],"title":"AssetDeleted"},"AssetLifecycleResultLifecycleState":{"type":"string","enum":["ACTIVE","ARCHIVED"],"title":"AssetLifecycleResultLifecycleState"},"AssetLifecycleResult":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"lifecycleState":{"$ref":"#/components/schemas/AssetLifecycleResultLifecycleState"}},"required":["mediaAssetId","lifecycleState"],"title":"AssetLifecycleResult"},"CreateMediaFetchGrantRequest":{"type":"object","properties":{"role":{"type":"string","description":"A delivery role — never `original`."}},"required":["role"],"title":"CreateMediaFetchGrantRequest"},"MediaFetchGrant":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"role":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"url":{"type":"string","description":"An API path (`…/bytes?grant=…`) — redeem with the same credential; never a storage URL."},"expiresAt":{"type":"string","format":"date-time"}},"required":["mediaAssetId","role","mimeType","sizeBytes","url","expiresAt"],"title":"MediaFetchGrant"},"UploadKind":{"type":"string","enum":["image","video","audio","document"],"title":"UploadKind"},"CreateUploadRequestLibrary":{"type":"string","enum":["public","private"],"default":"public","title":"CreateUploadRequestLibrary"},"CreateUploadRequest":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/UploadKind"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer","minimum":1},"sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"library":{"$ref":"#/components/schemas/CreateUploadRequestLibrary","default":"public"},"supportsResumable":{"type":"boolean","description":"Whether your client can upload in several parts. If it can and the upload is at or above the deployment's threshold, the answer is the `MULTIPART` descriptor. Below the threshold, or when this is not sent, the answer is the one-part `PUT`."}},"required":["kind","mimeType","sizeBytes","sha256"],"title":"CreateUploadRequest"},"UploadSessionCreatedUploadSession":{"type":"object","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/UploadKind"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","kind","mimeType","sizeBytes","expiresAt"],"title":"UploadSessionCreatedUploadSession"},"UploadSessionCreatedUpload0":{"type":"object","properties":{"method":{"type":"string","enum":["PUT"]},"url":{"type":"string","description":"A single-use presigned URL (part 1 of a one-part upload)."},"headers":{"type":"object","additionalProperties":{"type":"string"}},"expiresInSec":{"type":"integer"}},"required":["method","url","headers","expiresInSec"],"title":"UploadSessionCreatedUpload0"},"UploadSessionCreatedUpload1":{"type":"object","properties":{"method":{"type":"string","enum":["MULTIPART"]},"partSizeBytes":{"type":"integer","description":"Every part except the last is exactly this size."},"partCount":{"type":"integer","minimum":1},"maxConcurrency":{"type":"integer","minimum":1}},"required":["method","partSizeBytes","partCount","maxConcurrency"],"description":"Only when the request declared `supportsResumable`. Sign parts with `signUploadParts`.","title":"UploadSessionCreatedUpload1"},"UploadSessionCreatedUpload":{"oneOf":[{"$ref":"#/components/schemas/UploadSessionCreatedUpload0"},{"$ref":"#/components/schemas/UploadSessionCreatedUpload1"}],"title":"UploadSessionCreatedUpload"},"UploadSessionCreatedLibrary":{"type":"string","enum":["public","private"],"title":"UploadSessionCreatedLibrary"},"UploadSessionCreated":{"type":"object","properties":{"uploadSession":{"$ref":"#/components/schemas/UploadSessionCreatedUploadSession"},"upload":{"$ref":"#/components/schemas/UploadSessionCreatedUpload"},"library":{"$ref":"#/components/schemas/UploadSessionCreatedLibrary"}},"required":["uploadSession","upload","library"],"title":"UploadSessionCreated"},"StorageLimitError":{"type":"object","properties":{"code":{"type":"string","enum":["STORAGE_LIMIT_REACHED"]},"error":{"type":"string"},"usedBytes":{"type":"string","pattern":"^[0-9]+$"},"quotaBytes":{"type":"number","format":"double"}},"required":["code","error","usedBytes","quotaBytes"],"title":"StorageLimitError"},"SandboxQuotaErrorResource":{"type":"string","enum":["sandbox.media.bytes","sandbox.media.jobs_per_hour"],"title":"SandboxQuotaErrorResource"},"SandboxQuotaError":{"type":"object","properties":{"code":{"type":"string","enum":["SANDBOX_QUOTA_REACHED"]},"error":{"type":"string"},"resource":{"$ref":"#/components/schemas/SandboxQuotaErrorResource"},"used":{"type":"string","pattern":"^[0-9]+$"},"limit":{"type":"string","pattern":"^[0-9]+$"}},"required":["code","error","resource","used","limit"],"description":"An upload for a sandbox creator went beyond the agency's sandbox media budget, and nothing was created. `used` and `limit` are decimal strings in the resource's unit: bytes, or upload sessions in the trailing hour. See [the sandbox](/sandbox).","title":"SandboxQuotaError"},"CreateUploadSessionRequestConflictError":{"oneOf":[{"$ref":"#/components/schemas/StorageLimitError"},{"$ref":"#/components/schemas/SandboxQuotaError"}],"title":"CreateUploadSessionRequestConflictError"},"CreateUploadSessionRequestTooManyRequestsError":{"oneOf":[{"$ref":"#/components/schemas/RateLimitError"},{"$ref":"#/components/schemas/SandboxQuotaError"}],"title":"CreateUploadSessionRequestTooManyRequestsError"},"FinalizeUploadRequestLibrary":{"type":"string","enum":["public","private"],"default":"public","title":"FinalizeUploadRequestLibrary"},"FinalizeUploadRequest":{"type":"object","properties":{"library":{"$ref":"#/components/schemas/FinalizeUploadRequestLibrary","default":"public"},"displayName":{"type":"string","description":"The file's label, as in the creator's own finalize."}},"title":"FinalizeUploadRequest"},"FinalizedUploadAsset":{"type":"object","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/MediaKind"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"status":{"$ref":"#/components/schemas/MediaStatus"},"createdAt":{"type":"string","format":"date-time"},"displayName":{"type":["string","null"]}},"required":["id","kind","mimeType","sizeBytes","status","createdAt"],"title":"FinalizedUploadAsset"},"FinalizedUpload":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/FinalizedUploadAsset"},"replayed":{"type":"boolean"}},"required":["asset","replayed"],"title":"FinalizedUpload"},"SignUploadPartsRequest":{"type":"object","properties":{"partNumbers":{"type":"array","items":{"type":"integer","minimum":1}}},"required":["partNumbers"],"title":"SignUploadPartsRequest"},"SignedUploadPartsPartsItems":{"type":"object","properties":{"partNumber":{"type":"integer"},"url":{"type":"string","description":"A presigned UploadPart URL — PUT the part's bytes, no headers needed."},"expiresInSec":{"type":"integer"}},"required":["partNumber","url","expiresInSec"],"title":"SignedUploadPartsPartsItems"},"SignedUploadParts":{"type":"object","properties":{"parts":{"type":"array","items":{"$ref":"#/components/schemas/SignedUploadPartsPartsItems"}}},"required":["parts"],"title":"SignedUploadParts"},"MediaAssetDetailRenditionsItems":{"type":"object","properties":{"role":{"type":"string"}},"required":["role"],"title":"MediaAssetDetailRenditionsItems"},"MediaAssetDetailProcessing":{"type":"object","properties":{},"title":"MediaAssetDetailProcessing"},"MediaAskingPriceValue":{"type":"object","properties":{"minor":{"type":"string","pattern":"^[0-9]+$"},"currency":{"type":"string","enum":["USD"]}},"required":["minor","currency"],"title":"MediaAskingPriceValue"},"MediaAssetDetailPlaceholder":{"type":"object","properties":{},"title":"MediaAssetDetailPlaceholder"},"MediaAssetDetail":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"kind":{"$ref":"#/components/schemas/MediaKind"},"status":{"$ref":"#/components/schemas/MediaStatus"},"moderationState":{"$ref":"#/components/schemas/ModerationState"},"mimeType":{"type":"string"},"sizeBytes":{"type":"string","pattern":"^[0-9]+$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"lifecycleState":{"type":"string"},"renditions":{"type":"array","items":{"$ref":"#/components/schemas/MediaAssetDetailRenditionsItems"}},"hlsReady":{"type":"boolean"},"usage":{"type":"object","additionalProperties":{"type":"integer"}},"processing":{"$ref":"#/components/schemas/MediaAssetDetailProcessing"},"askingPrice":{"$ref":"#/components/schemas/MediaAskingPriceValue"},"displayName":{"type":["string","null"]},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]},"placeholder":{"oneOf":[{"$ref":"#/components/schemas/MediaAssetDetailPlaceholder"},{"type":"null"}]}},"required":["mediaAssetId","kind","status","moderationState","mimeType","sizeBytes","lifecycleState","renditions","hlsReady","usage","processing","askingPrice"],"description":"An asset's detail in the creator's vault: ids and metadata only, never a key or a URL.","title":"MediaAssetDetail"},"PartnerV1AccountsCreatorIdMediaAlbumsGetParametersArchived":{"type":"string","enum":["true","false"],"title":"PartnerV1AccountsCreatorIdMediaAlbumsGetParametersArchived"},"MediaAlbumLifecycleState":{"type":"string","enum":["ACTIVE","ARCHIVED"],"title":"MediaAlbumLifecycleState"},"MediaAlbum":{"type":"object","properties":{"albumId":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"lifecycleState":{"$ref":"#/components/schemas/MediaAlbumLifecycleState"},"assetCount":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["albumId","name","description","lifecycleState","assetCount"],"title":"MediaAlbum"},"MediaAlbumPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MediaAlbum"}},"nextCursor":{"type":["string","null"]}},"required":["items"],"title":"MediaAlbumPage"},"CreateMediaAlbumRequest":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":["string","null"],"maxLength":2000}},"required":["name"],"title":"CreateMediaAlbumRequest"},"UpdateMediaAlbumRequest":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":["string","null"],"maxLength":2000}},"title":"UpdateMediaAlbumRequest"},"MediaAlbumLifecycleLifecycleState":{"type":"string","enum":["ACTIVE","ARCHIVED"],"title":"MediaAlbumLifecycleLifecycleState"},"MediaAlbumLifecycle":{"type":"object","properties":{"albumId":{"type":"string"},"lifecycleState":{"$ref":"#/components/schemas/MediaAlbumLifecycleLifecycleState"}},"required":["albumId","lifecycleState"],"title":"MediaAlbumLifecycle"},"MediaAlbumAssetPageItemsItems":{"type":"object","properties":{},"title":"MediaAlbumAssetPageItemsItems"},"MediaAlbumAssetPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MediaAlbumAssetPageItemsItems"}},"nextCursor":{"type":["string","null"]}},"required":["items"],"title":"MediaAlbumAssetPage"},"MediaAlbumMembership":{"type":"object","properties":{"albumId":{"type":"string"},"mediaAssetId":{"type":"string"},"member":{"type":"boolean","enum":[true]}},"required":["albumId","mediaAssetId","member"],"title":"MediaAlbumMembership"},"MediaAssetAskingPriceRequest":{"type":"object","properties":{"price":{"$ref":"#/components/schemas/MediaAskingPriceValue"}},"title":"MediaAssetAskingPriceRequest"},"MediaAssetAskingPrice":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"askingPrice":{"$ref":"#/components/schemas/MediaAskingPriceValue"}},"required":["mediaAssetId","askingPrice"],"title":"MediaAssetAskingPrice"},"MediaAssetMaturityMaturity":{"type":"string","enum":["ADULT","NON_ADULT","UNKNOWN"],"title":"MediaAssetMaturityMaturity"},"MediaAssetMaturity":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"maturity":{"$ref":"#/components/schemas/MediaAssetMaturityMaturity"},"source":{"type":["string","null"]},"version":{"type":"integer"},"classifiedAt":{"type":["string","null"],"format":"date-time"}},"required":["mediaAssetId","maturity","source","version"],"title":"MediaAssetMaturity"},"MediaTagItemsItemsItems":{"type":"object","properties":{},"title":"MediaTagItemsItemsItems"},"MediaTagItems":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MediaTagItemsItemsItems"}}},"required":["items"],"title":"MediaTagItems"},"MediaTagAssignment":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"tagId":{"type":"string"},"assigned":{"type":"boolean","enum":[true]}},"required":["mediaAssetId","tagId","assigned"],"title":"MediaTagAssignment"},"PartnerV1AccountsCreatorIdMediaAssetsMediaAssetIdUsageGetParametersKind":{"type":"string","enum":["content","direct_message","order_delivery"],"title":"PartnerV1AccountsCreatorIdMediaAssetsMediaAssetIdUsageGetParametersKind"},"MediaAssetUsagePageItemsItems":{"type":"object","properties":{},"title":"MediaAssetUsagePageItemsItems"},"MediaAssetUsagePage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MediaAssetUsagePageItemsItems"}},"nextCursor":{"type":["string","null"]}},"required":["items"],"title":"MediaAssetUsagePage"},"MediaAssetStatusesAssetsItems":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"state":{"type":"string","description":"`ready`, `processing`, `failed` or `unavailable`: the same values as the creator's own status read."}},"required":["mediaAssetId","state"],"title":"MediaAssetStatusesAssetsItems"},"MediaAssetStatuses":{"type":"object","properties":{"assets":{"type":"array","items":{"$ref":"#/components/schemas/MediaAssetStatusesAssetsItems"}}},"required":["assets"],"title":"MediaAssetStatuses"},"MediaStorage":{"type":"object","properties":{"files":{"type":"integer"},"usedBytes":{"type":"string","pattern":"^[0-9]+$"},"quotaBytes":{"type":["number","null"],"format":"double"}},"required":["files","usedBytes","quotaBytes"],"title":"MediaStorage"},"PartnerV1AccountsCreatorIdMediaTagsGetParametersArchived":{"type":"string","enum":["true","false"],"title":"PartnerV1AccountsCreatorIdMediaTagsGetParametersArchived"},"MediaTag":{"type":"object","properties":{"tagId":{"type":"string"},"displayName":{"type":"string"},"assignmentCount":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"}},"required":["tagId","displayName","assignmentCount"],"title":"MediaTag"},"MediaTagPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MediaTag"}},"nextCursor":{"type":["string","null"]}},"required":["items"],"title":"MediaTagPage"},"MediaTagNameRequest":{"type":"object","properties":{"displayName":{"type":"string"}},"required":["displayName"],"title":"MediaTagNameRequest"},"Content_deleteOwnContentComment_Response_200":{"type":"object","properties":{"changed":{"type":"boolean"}},"required":["changed"],"title":"Content_deleteOwnContentComment_Response_200"},"ContentStatus":{"type":"string","enum":["DRAFT","PUBLISHED","ARCHIVED"],"title":"ContentStatus"},"PartnerV1AccountsCreatorIdContentGetParametersScheduled":{"type":"string","enum":["true"],"title":"PartnerV1AccountsCreatorIdContentGetParametersScheduled"},"PartnerV1AccountsCreatorIdContentGetParametersReview":{"type":"string","enum":["IN_REVIEW","REJECTED","SUBMITTED","NOT_SUBMITTED"],"title":"PartnerV1AccountsCreatorIdContentGetParametersReview"},"ContentPageItemsItemsMaturity":{"type":"string","enum":["ADULT","NON_ADULT","UNKNOWN"],"title":"ContentPageItemsItemsMaturity"},"ContentPageItemsItemsAudience":{"type":"string","enum":["EVERYONE","FOLLOWERS","SUBSCRIBERS","PAY_PER_VIEW"],"title":"ContentPageItemsItemsAudience"},"ContentReviewState":{"type":"string","enum":["IN_REVIEW","APPROVED","REJECTED"],"title":"ContentReviewState"},"ContentReviewRejection":{"type":"object","properties":{"reason":{"type":"string"},"note":{"type":["string","null"]}},"required":["reason","note"],"title":"ContentReviewRejection"},"ContentReview":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/ContentReviewState"},"submittedAt":{"type":["string","null"],"format":"date-time"},"decidedAt":{"type":["string","null"],"format":"date-time"},"rejection":{"oneOf":[{"$ref":"#/components/schemas/ContentReviewRejection"},{"type":"null"}]}},"required":["state","submittedAt","decidedAt","rejection"],"title":"ContentReview"},"ContentPageItemsItemsProtectionLevel":{"type":"string","enum":["PUBLIC","FREE_GATED","PRICED_GATED"],"title":"ContentPageItemsItemsProtectionLevel"},"ContentPageItemsItems":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":["string","null"]},"priceCents":{"type":"integer"},"currency":{"type":"string"},"status":{"$ref":"#/components/schemas/ContentStatus"},"createdAt":{"type":"string","format":"date-time"},"scheduledAt":{"type":["string","null"],"format":"date-time"},"publishBlockedReason":{"type":["string","null"]},"maturity":{"$ref":"#/components/schemas/ContentPageItemsItemsMaturity"},"audience":{"oneOf":[{"$ref":"#/components/schemas/ContentPageItemsItemsAudience"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"review":{"$ref":"#/components/schemas/ContentReview"},"isGated":{"type":"boolean"},"protectionLevel":{"$ref":"#/components/schemas/ContentPageItemsItemsProtectionLevel"}},"required":["id","title","priceCents","currency","status","createdAt","scheduledAt","publishBlockedReason","maturity","audience","tags","review","isGated","protectionLevel"],"title":"ContentPageItemsItems"},"ContentPage":{"type":"object","properties":{"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"},"nextCursor":{"type":["string","null"],"description":"The cursor for the next page; pass it back as `cursor`. Returned on the conversations inbox page and absent on the other offset pages."},"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentPageItemsItems"}}},"required":["total","skip","take","items"],"title":"ContentPage"},"CreateContentRequestMaturity":{"type":"string","enum":["ADULT","NON_ADULT"],"description":"The studio rule: null withdraws the declaration.","title":"CreateContentRequestMaturity"},"CreateContentRequestAudience":{"type":"string","enum":["EVERYONE","FOLLOWERS","SUBSCRIBERS","PAY_PER_VIEW"],"description":"Omitted on create is derived from the price.","title":"CreateContentRequestAudience"},"CreateContentRequest":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"teaser":{"type":["string","null"],"maxLength":280},"body":{"type":["string","null"],"maxLength":10000},"priceCents":{"type":"integer","minimum":0,"maximum":1000000},"isGated":{"type":"boolean","description":"Whether the item is gated. Together with the price it sets the protection level:\n\n- `PUBLIC` — `false`.\n- `FREE_GATED` — `true` with a price of 0.\n- `PRICED_GATED` — `true` with a price above 0."},"currency":{"$ref":"#/components/schemas/Currency"},"status":{"$ref":"#/components/schemas/ContentStatus"},"attachments":{"type":"array","items":{"type":"string","minLength":1}},"maturity":{"$ref":"#/components/schemas/CreateContentRequestMaturity","description":"The studio rule: null withdraws the declaration."},"audience":{"$ref":"#/components/schemas/CreateContentRequestAudience","description":"Omitted on create is derived from the price."},"tags":{"type":"array","items":{"type":"string"},"description":"Canonicalised by the content domain; an unstorable word is a 400."}},"required":["title"],"title":"CreateContentRequest"},"ContentItemMaturity":{"type":"string","enum":["ADULT","NON_ADULT","UNKNOWN"],"title":"ContentItemMaturity"},"ContentItemAudience":{"type":"string","enum":["EVERYONE","FOLLOWERS","SUBSCRIBERS","PAY_PER_VIEW"],"title":"ContentItemAudience"},"ContentItem":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":["string","null"]},"priceCents":{"type":"integer"},"currency":{"type":"string"},"status":{"$ref":"#/components/schemas/ContentStatus"},"createdAt":{"type":"string","format":"date-time"},"scheduledAt":{"type":["string","null"],"format":"date-time"},"publishBlockedReason":{"type":["string","null"]},"maturity":{"$ref":"#/components/schemas/ContentItemMaturity"},"audience":{"oneOf":[{"$ref":"#/components/schemas/ContentItemAudience"},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"review":{"$ref":"#/components/schemas/ContentReview"},"teaser":{"type":["string","null"]},"body":{"type":["string","null"]},"publishedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","title","priceCents","currency","status","createdAt","scheduledAt","publishBlockedReason","maturity","audience","tags","review","teaser","body","publishedAt"],"title":"ContentItem"},"ContentCreated":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/ContentItem"},"attachedMediaAssetIds":{"type":"array","items":{"type":"string"}}},"required":["item","attachedMediaAssetIds"],"title":"ContentCreated"},"ContentItemEnvelope":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/ContentItem"}},"required":["item"],"title":"ContentItemEnvelope"},"Content_deleteContent_Response_200":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"Content_deleteContent_Response_200"},"UpdateContentRequestMaturity":{"type":"string","enum":["ADULT","NON_ADULT"],"description":"The studio rule: null withdraws the declaration.","title":"UpdateContentRequestMaturity"},"UpdateContentRequestAudience":{"type":"string","enum":["EVERYONE","FOLLOWERS","SUBSCRIBERS","PAY_PER_VIEW"],"description":"Omitted on create is derived from the price.","title":"UpdateContentRequestAudience"},"UpdateContentRequest":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"teaser":{"type":["string","null"],"maxLength":280},"body":{"type":["string","null"],"maxLength":10000},"priceCents":{"type":"integer","minimum":0,"maximum":1000000},"currency":{"$ref":"#/components/schemas/Currency"},"status":{"$ref":"#/components/schemas/ContentStatus"},"maturity":{"$ref":"#/components/schemas/UpdateContentRequestMaturity","description":"The studio rule: null withdraws the declaration."},"audience":{"$ref":"#/components/schemas/UpdateContentRequestAudience","description":"Omitted on create is derived from the price."},"tags":{"type":"array","items":{"type":"string"},"description":"Canonicalised by the content domain; an unstorable word is a 400."}},"title":"UpdateContentRequest"},"ContentAttachment":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"kind":{"$ref":"#/components/schemas/MediaKind"},"status":{"$ref":"#/components/schemas/MediaStatus"},"moderationState":{"type":"string"},"position":{"type":"integer"},"isGated":{"type":"boolean"},"attachedAt":{"type":"string","format":"date-time"}},"required":["mediaAssetId","kind","status","moderationState","position","isGated","attachedAt"],"title":"ContentAttachment"},"Content_listContentAttachments_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentAttachment"}}},"required":["items"],"title":"Content_listContentAttachments_Response_200"},"ContentAttachmentEnvelope":{"type":"object","properties":{"attachment":{"$ref":"#/components/schemas/ContentAttachment"}},"required":["attachment"],"title":"ContentAttachmentEnvelope"},"Content_reorderContentAttachments_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentAttachment"}}},"required":["items"],"title":"Content_reorderContentAttachments_Response_200"},"ContentCommentAuthor":{"type":"object","properties":{"displayName":{"type":["string","null"],"description":"For an application a fan's name is null (the creator's own comments keep hers)."},"avatarUrl":{"type":["string","null"]},"avatarMediaAssetId":{"type":["string","null"]}},"required":["displayName","avatarUrl","avatarMediaAssetId"],"description":"The author as the creator sees them, minus the global profileSlug (never served to partners).","title":"ContentCommentAuthor"},"ContentComment":{"type":"object","properties":{"id":{"type":"string"},"authorBuyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's own pairwise pseudonym of the commenting buyer; null on the creator's own comments. An application's `author` pictures are always null."},"author":{"oneOf":[{"$ref":"#/components/schemas/ContentCommentAuthor"},{"type":"null"}]},"mine":{"type":"boolean","description":"Written in the creator's name — the only kind a partner may withdraw."},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","author","mine","body","createdAt"],"title":"ContentComment"},"Content_listContentComments_Response_200":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentComment"}},"nextCursor":{"type":["string","null"]}},"required":["items","nextCursor"],"title":"Content_listContentComments_Response_200"},"ContentCommentWritten":{"type":"object","properties":{"changed":{"type":"boolean"},"comment":{"oneOf":[{"$ref":"#/components/schemas/ContentComment"},{"type":"null"}]}},"required":["changed","comment"],"title":"ContentCommentWritten"},"Content_removeContentComment_Response_200":{"type":"object","properties":{"changed":{"type":"boolean"}},"required":["changed"],"title":"Content_removeContentComment_Response_200"},"Content_scheduleContent_Response_200":{"type":"object","properties":{"scheduledAt":{"type":"string","format":"date-time"},"scheduleGeneration":{"type":"integer"},"review":{"$ref":"#/components/schemas/ContentReview"}},"required":["scheduledAt","scheduleGeneration","review"],"title":"Content_scheduleContent_Response_200"},"ProfilePresentation":{"type":"object","properties":{"coverMediaAssetId":{"type":["string","null"]},"teaserMediaAssetId":{"type":["string","null"]},"categories":{"type":"array","items":{"type":"string"}},"messagingAudience":{"type":"string"},"customRequestsOpen":{"type":"boolean"},"concurrentCommissions":{"type":["integer","null"]},"orderAudience":{"type":"string"}},"required":["coverMediaAssetId","teaserMediaAssetId","categories","messagingAudience","customRequestsOpen","concurrentCommissions","orderAudience"],"description":"The delegable public fields as they stand (public media ids, never internal ones).","title":"ProfilePresentation"},"ProfileEnvelopeProfile":{"type":"object","properties":{"creatorId":{"type":"string"},"handle":{"type":"string"},"displayName":{"type":"string"},"bio":{"type":["string","null"]},"avatarUrl":{"type":["string","null"],"description":"The creator's picture as a URL, or `null`. For a picture from the creator's media library it is always `null`: fetch it with `POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant` on `avatarMediaAssetId`, which needs `read:media`. A picture set as a plain URL is returned as that URL."},"avatarMediaAssetId":{"type":["string","null"],"description":"The media id of the creator's picture in their media library. `null` when there is no picture, or when the picture is a plain URL."},"isActive":{"type":"boolean"},"storefrontPublished":{"type":"boolean"},"subscriberCount":{"type":"integer"},"conversationCount":{"type":"integer"},"photoCount":{"type":"integer"},"videoCount":{"type":"integer"},"paidOrderCount":{"type":["integer","null"],"description":"`null` unless your application's effective access covers `read:revenue`."},"grossRevenueCents":{"type":["integer","null"],"description":"`null` unless your application's effective access covers `read:revenue`."},"creatorEarningsCents":{"type":["integer","null"],"description":"`null` unless your application's effective access covers `read:revenue`."},"otherCurrencyOrders":{"type":["integer","null"],"description":"`null` unless your application's effective access covers `read:revenue`."},"presentation":{"oneOf":[{"$ref":"#/components/schemas/ProfilePresentation"},{"type":"null"}]}},"required":["creatorId","handle","displayName","bio","avatarUrl","avatarMediaAssetId","isActive","storefrontPublished","subscriberCount","conversationCount","photoCount","videoCount","paidOrderCount","grossRevenueCents","creatorEarningsCents","otherCurrencyOrders","presentation"],"title":"ProfileEnvelopeProfile"},"ProfileEnvelope":{"type":"object","properties":{"profile":{"$ref":"#/components/schemas/ProfileEnvelopeProfile"}},"required":["profile"],"title":"ProfileEnvelope"},"UpdateProfileRequest":{"type":"object","properties":{"displayName":{"type":"string","minLength":2,"maxLength":80},"bio":{"type":["string","null"],"maxLength":500},"handle":{"type":"string","minLength":3,"maxLength":40},"avatarUrl":{"description":"`null` clears the picture. A picture URL is no longer accepted from any partner, because it was served as-is to every buyer browsing the marketplace: sending one is `400 AVATAR_URL_NOT_ACCEPTED`, and nothing is written. Set the picture from the creator's library with `avatarMediaAssetId`."},"avatarMediaAssetId":{"type":["string","null"],"minLength":1,"description":"A picture from the creator's library; `null` clears it. Judged by the same rule as the creator's own avatar: `404 MEDIA_NOT_FOUND` (missing, another creator's, delete-requested or archived), `409 MEDIA_NOT_READY`, `400 MEDIA_NOT_IMAGE`, `409 MEDIA_IS_GATED_CONTENT` (a file locked on a post), `409 MEDIA_IS_ADULT` — nothing is written."},"coverMediaAssetId":{"type":["string","null"],"minLength":1},"teaserMediaAssetId":{"type":["string","null"],"minLength":1,"description":"Must be a ready video."},"categories":{"type":"array","items":{"type":"string"}},"messagingAudience":{"type":"string"},"customRequestsOpen":{"type":"boolean"},"concurrentCommissions":{"type":["integer","null"]},"orderAudience":{"type":"string"}},"title":"UpdateProfileRequest"},"PartnerV1AccountsCreatorIdSubscriptionPlanVersionsPostRequestBodyContentApplicationJsonSchemaPeriodMonths":{"type":"string","enum":["1","3","6","12"],"title":"PartnerV1AccountsCreatorIdSubscriptionPlanVersionsPostRequestBodyContentApplicationJsonSchemaPeriodMonths"},"PartnerV1AccountsCreatorIdInsightsGetParametersRange":{"type":"string","enum":["7d","30d","90d","all"],"title":"PartnerV1AccountsCreatorIdInsightsGetParametersRange"},"PartnerV1AccountsCreatorIdInsightsFeedGetParametersRange":{"type":"string","enum":["7d","30d","90d","all"],"title":"PartnerV1AccountsCreatorIdInsightsFeedGetParametersRange"},"MarketingLinkState":{"type":"string","enum":["draft","active","paused","archived"],"description":"`draft` until the tracked link exists; `active` while it sends visitors on; `paused` while it is stopped and sends nobody on; `archived` for good.","title":"MarketingLinkState"},"MarketingLinkDeclaredChannel":{"type":"string","enum":["social","email","messaging","search","display","video","affiliate","offline","other"],"description":"Where the creator says the link is used. A statement, never changed to match the traffic.","title":"MarketingLinkDeclaredChannel"},"MarketingLinkUtm":{"type":"object","properties":{"source":{"type":["string","null"],"maxLength":200,"description":"`utm_source`."},"medium":{"type":["string","null"],"maxLength":200,"description":"`utm_medium`."},"campaign":{"type":["string","null"],"maxLength":200,"description":"`utm_campaign`."},"content":{"type":["string","null"],"maxLength":200,"description":"`utm_content`."},"term":{"type":["string","null"],"maxLength":200,"description":"`utm_term`."}},"required":["source","medium","campaign","content","term"],"description":"The UTM values of the link. Each is `null` when not set.","title":"MarketingLinkUtm"},"MarketingLinkTraffic":{"type":"object","properties":{"servedCount":{"type":"integer","description":"Visits the link sent on to its destination."},"refusedCount":{"type":"integer","description":"Visits the link refused."},"windowFrom":{"type":"string","format":"date-time","description":"The start of the counted period, included."},"windowTo":{"type":"string","format":"date-time","description":"The end of the counted period, excluded."}},"required":["servedCount","refusedCount","windowFrom","windowTo"],"description":"Visits to the link over the 30 days before the request, or `null` when EVVA cannot report them. `null` never means \"no traffic\".","title":"MarketingLinkTraffic"},"MarketingLinkOutcomesRevenue":{"type":"object","properties":{"minor":{"type":"string","description":"Minor units as a decimal string, never a JSON number."},"currency":{"type":"string","description":"The currency of `minor`."}},"required":["minor","currency"],"description":"The creator's share of the fully paid orders credited to the link, renewals and conversions included, after the platform's share and net of refunds and chargebacks. `null` unless your application's effective access to the creator covers `read:revenue`.","title":"MarketingLinkOutcomesRevenue"},"MarketingLinkOutcomes":{"type":"object","properties":{"follows":{"type":["integer","null"],"description":"Always `null` for now: EVVA does not record which link a follow came from."},"subscriptions":{"type":"integer","description":"Subscriptions that started through the link: a fully paid first period or a free trial begun. A renewal or a trial's conversion does not count again."},"revenue":{"oneOf":[{"$ref":"#/components/schemas/MarketingLinkOutcomesRevenue"},{"type":"null"}],"description":"The creator's share of the fully paid orders credited to the link, renewals and conversions included, after the platform's share and net of refunds and chargebacks. `null` unless your application's effective access to the creator covers `read:revenue`."},"windowFrom":{"type":"string","format":"date-time","description":"The start of the counted period, included. The same as `traffic`."},"windowTo":{"type":"string","format":"date-time","description":"The end of the counted period, excluded. The same as `traffic`."}},"required":["follows","subscriptions","revenue","windowFrom","windowTo"],"description":"What the link earned over the same period as `traffic`, counted from the orders credited to it, or `null` when EVVA cannot report it.","title":"MarketingLinkOutcomes"},"MarketingLink":{"type":"object","properties":{"ref":{"type":"string","description":"The link's reference: `{ref}` in the link's own path. The last link's `ref` on a full page is the page's `nextBefore`."},"principal":{"type":"string","description":"The creator the link belongs to, as the `creatorId`."},"name":{"type":"string","maxLength":120,"description":"The link's name, 1 to 120 characters."},"destination":{"type":"string","maxLength":2048,"description":"Where the link sends visitors."},"state":{"$ref":"#/components/schemas/MarketingLinkState","description":"`draft` until the tracked link exists; `active` while it sends visitors on; `paused` while it is stopped and sends nobody on; `archived` for good."},"declaredChannel":{"$ref":"#/components/schemas/MarketingLinkDeclaredChannel","description":"Where the creator says the link is used. A statement, never changed to match the traffic."},"campaignRef":{"type":["string","null"],"description":"The campaign the link belongs to, or `null`."},"utm":{"$ref":"#/components/schemas/MarketingLinkUtm","description":"The UTM values of the link. Each is `null` when not set."},"creativeName":{"type":["string","null"],"maxLength":120,"description":"The name of the creative the link is used with, or `null`."},"tdsLinkRef":{"type":["string","null"],"description":"The reference of the tracked link behind this marketing link, or `null` while none exists."},"shareableUrl":{"type":["string","null"],"description":"The URL to share, or `null` when the link has no tracked link yet or this deployment gives no shareable URL."},"traffic":{"oneOf":[{"$ref":"#/components/schemas/MarketingLinkTraffic"},{"type":"null"}],"description":"Visits to the link over the 30 days before the request, or `null` when EVVA cannot report them. `null` never means \"no traffic\"."},"outcomes":{"oneOf":[{"$ref":"#/components/schemas/MarketingLinkOutcomes"},{"type":"null"}],"description":"What the link earned over the same period as `traffic`, counted from the orders credited to it, or `null` when EVVA cannot report it."},"createdAt":{"type":"string","format":"date-time","description":"When the link was created."},"updatedAt":{"type":"string","format":"date-time","description":"When the link last changed."}},"required":["ref","principal","name","destination","state","declaredChannel","campaignRef","utm","creativeName","tdsLinkRef","shareableUrl","traffic","outcomes","createdAt","updatedAt"],"description":"One of the creator's marketing links.\n\n`traffic` and `outcomes` cover the 30 days before your request. Each is `null` when EVVA cannot report it, which never means \"no traffic\": a link nobody used reports zeroes.","title":"MarketingLink"},"MarketingLinkPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MarketingLink"},"description":"The links on this page, newest first."},"nextBefore":{"type":["string","null"],"description":"Send it back as `before` for the next page. It is the last link's `ref` when the page is full, and `null` when the page holds fewer links than `limit`, so nothing follows. After a full last page, the next page is empty."}},"required":["items","nextBefore"],"description":"One page of the creator's marketing links, newest first.","title":"MarketingLinkPage"},"PartnerV1AccountsCreatorIdLinksPostRequestBodyContentApplicationJsonSchemaDeclaredChannel":{"type":"string","enum":["social","email","messaging","search","display","video","affiliate","offline","other"],"title":"PartnerV1AccountsCreatorIdLinksPostRequestBodyContentApplicationJsonSchemaDeclaredChannel"},"PartnerV1AccountsCreatorIdLinksPostRequestBodyContentApplicationJsonSchemaUtm":{"type":"object","properties":{"source":{"type":["string","null"],"minLength":1,"maxLength":200},"medium":{"type":["string","null"],"minLength":1,"maxLength":200},"campaign":{"type":["string","null"],"minLength":1,"maxLength":200},"content":{"type":["string","null"],"minLength":1,"maxLength":200},"term":{"type":["string","null"],"minLength":1,"maxLength":200}},"title":"PartnerV1AccountsCreatorIdLinksPostRequestBodyContentApplicationJsonSchemaUtm"},"MarketingLinkEnvelope":{"type":"object","properties":{"link":{"$ref":"#/components/schemas/MarketingLink"}},"required":["link"],"description":"One marketing link.","title":"MarketingLinkEnvelope"},"PartnerV1AccountsCreatorIdLinksRefPatchRequestBodyContentApplicationJsonSchemaDeclaredChannel":{"type":"string","enum":["social","email","messaging","search","display","video","affiliate","offline","other"],"title":"PartnerV1AccountsCreatorIdLinksRefPatchRequestBodyContentApplicationJsonSchemaDeclaredChannel"},"PartnerV1AccountsCreatorIdLinksRefPatchRequestBodyContentApplicationJsonSchemaState":{"type":"string","enum":["draft","active","paused","archived"],"title":"PartnerV1AccountsCreatorIdLinksRefPatchRequestBodyContentApplicationJsonSchemaState"},"OrderConversationRowKind":{"type":"string","enum":["ORDER"],"title":"OrderConversationRowKind"},"OrderConversationRowPerspective":{"type":"string","enum":["CREATOR"],"title":"OrderConversationRowPerspective"},"OrderConversationRow":{"type":"object","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/OrderConversationRowKind"},"orderRef":{"type":"string"},"status":{"type":"string"},"orderStatus":{"type":"string"},"perspective":{"$ref":"#/components/schemas/OrderConversationRowPerspective"},"unreadCount":{"type":"integer"}},"description":"An order conversation as the creator sees it: a generic label for the buyer, never their identity.","title":"OrderConversationRow"},"OrderConversationPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/OrderConversationRow"}},"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"}},"required":["items","total","skip","take"],"title":"OrderConversationPage"},"OkResult":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"title":"OkResult"},"OrderCounterpartsItemsItemsAvatar":{"type":"object","properties":{"mediaAssetId":{"type":"string"},"width":{"description":"Any type"},"height":{"description":"Any type"}},"title":"OrderCounterpartsItemsItemsAvatar"},"OrderCounterpartsItemsItems":{"type":"object","properties":{"orderRef":{"type":"string"},"buyerRef":{"type":["string","null"],"pattern":"^buyer_[A-Za-z0-9_-]{22}$","description":"APPLICATIONS only: the application's OWN pairwise pseudonym of the buyer (per application and creator). An application's `avatar` is always null."},"nickname":{"type":["string","null"],"description":"The creator's own nickname for the buyer."},"displayName":{"type":["string","null"]},"avatar":{"oneOf":[{"$ref":"#/components/schemas/OrderCounterpartsItemsItemsAvatar"},{"type":"null"}]}},"required":["orderRef"],"title":"OrderCounterpartsItemsItems"},"OrderCounterparts":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/OrderCounterpartsItemsItems"}}},"required":["items"],"title":"OrderCounterparts"},"SellerOrderRowFulfilmentRegime":{"type":"string","enum":["AUTOMATIC","SELLER_DELIVERED"],"title":"SellerOrderRowFulfilmentRegime"},"SellerOrderRowFulfilment":{"type":"object","properties":{"subjectKind":{"type":"string"},"regime":{"$ref":"#/components/schemas/SellerOrderRowFulfilmentRegime"},"deliveredAt":{"type":["string","null"],"format":"date-time"},"acceptedAt":{"type":["string","null"],"format":"date-time"},"autoReleaseAt":{"type":["string","null"],"format":"date-time"},"subjectTitle":{"type":["string","null"]}},"title":"SellerOrderRowFulfilment"},"SellerOrderRowNetReceipts":{"type":"object","properties":{},"description":"The net-receipts breakdown, or null for a legacy row.","title":"SellerOrderRowNetReceipts"},"SellerOrderRow":{"type":"object","properties":{"id":{"type":"string"},"fulfilment":{"oneOf":[{"$ref":"#/components/schemas/SellerOrderRowFulfilment"},{"type":"null"}]},"orderSource":{"type":"string"},"amountCents":{"type":"integer"},"feeRatePercent":{"type":["number","null"],"format":"double","description":"Null without read:revenue."},"platformFeeCents":{"type":["integer","null"],"description":"Null without read:revenue."},"creatorAmountCents":{"type":["integer","null"],"description":"Null without read:revenue."},"netReceipts":{"oneOf":[{"$ref":"#/components/schemas/SellerOrderRowNetReceipts"},{"type":"null"}],"description":"The net-receipts breakdown, or null for a legacy row."},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","orderSource","amountCents","status","createdAt"],"description":"One sale as the creator sees it: the money (the creator's net), the status and whether the work is the creator's to do. There is no buyer object.\n\n- The price (`amountCents`) and the fulfilment state are read under `read:orders`.\n- `feeRatePercent`, `platformFeeCents`, `creatorAmountCents` and `netReceipts` are null for a reader without `read:revenue`.\n- A PPV-unlock or TIP order is listed and readable only with `read:revenue`.","title":"SellerOrderRow"},"SellerOrderPage":{"type":"object","properties":{"orders":{"type":"array","items":{"$ref":"#/components/schemas/SellerOrderRow"}},"total":{"type":"integer"},"skip":{"type":"integer"},"take":{"type":"integer"}},"required":["orders","total","skip","take"],"title":"SellerOrderPage"},"SellerOrderFulfilmentRegime":{"type":"string","enum":["AUTOMATIC","SELLER_DELIVERED"],"title":"SellerOrderFulfilmentRegime"},"SellerOrderFulfilment":{"type":"object","properties":{"subjectKind":{"type":"string"},"regime":{"$ref":"#/components/schemas/SellerOrderFulfilmentRegime"},"deliveredAt":{"type":["string","null"],"format":"date-time"},"acceptedAt":{"type":["string","null"],"format":"date-time"},"autoReleaseAt":{"type":["string","null"],"format":"date-time"},"subjectTitle":{"type":["string","null"]}},"title":"SellerOrderFulfilment"},"SellerOrderNetReceipts":{"type":"object","properties":{},"description":"The net-receipts breakdown, or null for a legacy row.","title":"SellerOrderNetReceipts"},"SellerOrderCreator":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"displayName":{"type":"string"}},"title":"SellerOrderCreator"},"SellerOrderPerspective":{"type":"string","enum":["CREATOR"],"title":"SellerOrderPerspective"},"SellerOrder":{"type":"object","properties":{"id":{"type":"string"},"fulfilment":{"oneOf":[{"$ref":"#/components/schemas/SellerOrderFulfilment"},{"type":"null"}]},"orderSource":{"type":"string"},"amountCents":{"type":"integer"},"feeRatePercent":{"type":["number","null"],"format":"double","description":"Null without read:revenue."},"platformFeeCents":{"type":["integer","null"],"description":"Null without read:revenue."},"creatorAmountCents":{"type":["integer","null"],"description":"Null without read:revenue."},"netReceipts":{"oneOf":[{"$ref":"#/components/schemas/SellerOrderNetReceipts"},{"type":"null"}],"description":"The net-receipts breakdown, or null for a legacy row."},"status":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"creatorId":{"type":["string","null"]},"creator":{"oneOf":[{"$ref":"#/components/schemas/SellerOrderCreator"},{"type":"null"}]},"perspective":{"$ref":"#/components/schemas/SellerOrderPerspective"}},"required":["id","orderSource","amountCents","status","createdAt"],"description":"The creator's own detail of one sale, with `perspective: CREATOR`.","title":"SellerOrder"},"AcknowledgedResult":{"type":"object","properties":{"acknowledged":{"type":"boolean"}},"required":["acknowledged"],"title":"AcknowledgedResult"},"OrderClaimsView":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The claims view of one order, as `readClaims` returns it: what applies now, what applied before, and what is left.","title":"OrderClaimsView"},"ClaimResponseRequestVerdict":{"type":"string","enum":["AGREED","REFUSED"],"title":"ClaimResponseRequestVerdict"},"ClaimResponseRequest":{"type":"object","properties":{"verdict":{"$ref":"#/components/schemas/ClaimResponseRequestVerdict"},"response":{"type":"string","minLength":1,"maxLength":1000}},"required":["verdict","response"],"title":"ClaimResponseRequest"},"RecordedResult":{"type":"object","properties":{"recorded":{"type":"boolean"}},"required":["recorded"],"title":"RecordedResult"},"DeliveryRequest":{"type":"object","properties":{"mediaAssetIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"description":"The creator's own ready assets; absent or empty is a delivery with nothing attached."},"answersClaimRef":{"type":"string","minLength":1,"maxLength":64,"description":"The live revision this delivery answers."}},"title":"DeliveryRequest"},"DeliveryResult":{"type":"object","properties":{"deliveredAt":{"type":"string","format":"date-time"},"redeliveredAt":{"type":["string","null"],"format":"date-time"}},"required":["deliveredAt"],"title":"DeliveryResult"},"PartnerOrderThreadConversation":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"lastMessageAt":{"type":["string","null"],"format":"date-time"}},"title":"PartnerOrderThreadConversation"},"PartnerOrderThreadOrder":{"type":"object","properties":{"ref":{"type":"string"},"subjectKind":{"type":["string","null"]},"status":{"type":"string"},"amountCents":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"}},"title":"PartnerOrderThreadOrder"},"PartnerOrderThreadPerspective":{"type":"string","enum":["CREATOR"],"title":"PartnerOrderThreadPerspective"},"PartnerOrderMessageSenderRole":{"type":"string","enum":["BUYER","CREATOR"],"title":"PartnerOrderMessageSenderRole"},"PartnerOrderMessageSource":{"type":"string","enum":["CREATOR","BUYER","AGENCY_STAFF","PARTNER_APPLICATION","AI_AUTOMATION"],"description":"Who sent it, decided by EVVA; null for older messages.","title":"PartnerOrderMessageSource"},"PartnerOrderMessageAuthorship":{"type":"string","enum":["UNRECORDED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT","AI_GENERATED_APPROVED","AI_AUTOMATED","PLATFORM_AUTOMATED"],"title":"PartnerOrderMessageAuthorship"},"PartnerOrderMessage":{"type":"object","properties":{"id":{"type":"string"},"senderRole":{"$ref":"#/components/schemas/PartnerOrderMessageSenderRole"},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"source":{"$ref":"#/components/schemas/PartnerOrderMessageSource","description":"Who sent it, decided by EVVA; null for older messages."},"authorship":{"$ref":"#/components/schemas/PartnerOrderMessageAuthorship"},"actorRef":{"type":["string","null"]},"operatorRef":{"type":["string","null"],"description":"The CRM operator ref an application declared — only on THIS agency's own messages."}},"required":["id","senderRole","body","createdAt"],"description":"An order message as the agency sees it: the ordinary message plus who sent it and how it was written. The buyer never sees these fields.","title":"PartnerOrderMessage"},"PartnerOrderThread":{"type":"object","properties":{"conversation":{"oneOf":[{"$ref":"#/components/schemas/PartnerOrderThreadConversation"},{"type":"null"}]},"order":{"oneOf":[{"$ref":"#/components/schemas/PartnerOrderThreadOrder"},{"type":"null"}]},"perspective":{"$ref":"#/components/schemas/PartnerOrderThreadPerspective"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/PartnerOrderMessage"}},"hasMore":{"type":"boolean"}},"required":["conversation","order","perspective","messages","hasMore"],"title":"PartnerOrderThread"},"PartnerOrderMessageRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application.","title":"PartnerOrderMessageRequestAuthorship"},"PartnerOrderMessageRequest":{"type":"object","properties":{"body":{"type":"string","minLength":1,"description":"The creator route's own bound and normalisation apply."},"authorship":{"$ref":"#/components/schemas/PartnerOrderMessageRequestAuthorship","description":"REQUIRED for an application."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The external CRM's opaque operator id — required with HUMAN_AUTHORED / AI_DRAFTED_HUMAN_SENT, refused otherwise."}},"required":["body"],"title":"PartnerOrderMessageRequest"},"PartnerOrderMessageEnvelope":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/PartnerOrderMessage"}},"required":["message"],"title":"PartnerOrderMessageEnvelope"},"RefundRequestStatus":{"type":"string","enum":["REQUESTED","APPROVED","DECLINED","WITHDRAWN","EXPIRED"],"title":"RefundRequestStatus"},"RefundRequest":{"type":"object","properties":{"id":{"type":"string"},"orderId":{"type":"string"},"reason":{"type":"string"},"detail":{"type":["string","null"],"description":"What the buyer wrote."},"status":{"$ref":"#/components/schemas/RefundRequestStatus"},"declineReason":{"type":["string","null"]},"amountCents":{"type":"integer"},"subjectKind":{"type":["string","null"]},"conversationRef":{"type":["string","null"]},"refundPending":{"type":"boolean"},"holdsAcceptance":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"decidedAt":{"type":["string","null"],"format":"date-time"}},"required":["id","orderId","reason","status","amountCents","refundPending","createdAt"],"description":"A buyer's refund request and its answer. There is no buyer object.","title":"RefundRequest"},"RefundRequestQueue":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/RefundRequest"}},"approvalAvailable":{"type":"boolean","description":"Whether approving can send a refund on this deployment."}},"required":["items","approvalAvailable"],"title":"RefundRequestQueue"},"MarketplaceNegotiationSubjectKind":{"type":"string","enum":["LISTING","CUSTOM_REQUEST"],"description":"`LISTING` when a buyer opened the negotiation on one of the creator's listings; `CUSTOM_REQUEST` when the creator answered a buyer's custom request.","title":"MarketplaceNegotiationSubjectKind"},"MarketplaceNegotiationSubject":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/MarketplaceNegotiationSubjectKind","description":"`LISTING` when a buyer opened the negotiation on one of the creator's listings; `CUSTOM_REQUEST` when the creator answered a buyer's custom request."},"ref":{"type":"string","description":"The subject's `listingRef` or `requestRef`."},"version":{"type":"string","description":"The subject's version when the negotiation opened. A record only, never sent back as `expectedVersion`."}},"required":["kind","ref","version"],"description":"What a negotiation, and the deal it became, is about, as it stood when the negotiation opened. It never changes.","title":"MarketplaceNegotiationSubject"},"MarketplaceDealState":{"type":"string","enum":["AGREED"],"description":"Always `AGREED`.","title":"MarketplaceDealState"},"MarketplaceMoney":{"type":"object","properties":{"minor":{"type":"string","maxLength":40,"description":"Minor units as a decimal string (never a JSON number)."},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["minor","currency"],"title":"MarketplaceMoney"},"MarketplaceListingTermsDeliverableKind":{"type":"string","enum":["DIGITAL_CONTENT","LIVE_SESSION","SHOUTOUT","LICENSE","OTHER"],"title":"MarketplaceListingTermsDeliverableKind"},"MarketplaceListingTermsDeliverable":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/MarketplaceListingTermsDeliverableKind"},"quantity":{"type":"integer"}},"required":["kind","quantity"],"title":"MarketplaceListingTermsDeliverable"},"MarketplaceListingTermsRevisions":{"type":"object","properties":{"includedRevisions":{"type":"integer"},"unlimited":{"type":"boolean"}},"required":["includedRevisions","unlimited"],"title":"MarketplaceListingTermsRevisions"},"MarketplaceListingTermsDelivery":{"type":"object","properties":{"days":{"type":"integer"}},"required":["days"],"title":"MarketplaceListingTermsDelivery"},"MarketplaceListingTerms":{"type":"object","properties":{"price":{"$ref":"#/components/schemas/MarketplaceMoney"},"deliverable":{"$ref":"#/components/schemas/MarketplaceListingTermsDeliverable"},"revisions":{"$ref":"#/components/schemas/MarketplaceListingTermsRevisions"},"delivery":{"$ref":"#/components/schemas/MarketplaceListingTermsDelivery"},"cancellationPolicy":{"type":["string","null"],"maxLength":64}},"required":["price","deliverable","revisions","delivery","cancellationPolicy"],"title":"MarketplaceListingTerms"},"MarketplaceDealAgreedBy":{"type":"string","enum":["BUYER","CREATOR"],"description":"Which party accepted the offer.","title":"MarketplaceDealAgreedBy"},"MarketplaceDealPerspective":{"type":"string","enum":["CREATOR"],"description":"The creator's side of the deal. Always `CREATOR`: only deals in which the creator sells are listed.","title":"MarketplaceDealPerspective"},"MarketplaceDeal":{"type":"object","properties":{"dealRef":{"type":"string","description":"The deal's reference."},"proposalRef":{"type":"string","description":"The negotiation the deal came from."},"offerRef":{"type":"string","description":"The offer that was accepted."},"agreementVersion":{"type":"string","description":"The negotiation's version the deal was recorded from. A record only, never sent back as `expectedVersion`."},"subject":{"$ref":"#/components/schemas/MarketplaceNegotiationSubject"},"buyerRef":{"type":"string","description":"The buyer, as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms)."},"creatorRef":{"type":"string","description":"The creator, as the `creatorId`."},"state":{"$ref":"#/components/schemas/MarketplaceDealState","description":"Always `AGREED`."},"terms":{"$ref":"#/components/schemas/MarketplaceListingTerms"},"agreedBy":{"$ref":"#/components/schemas/MarketplaceDealAgreedBy","description":"Which party accepted the offer."},"agreedAt":{"type":"string","format":"date-time","description":"When the parties agreed: the moment the offer was accepted."},"createdAt":{"type":"string","format":"date-time","description":"When EVVA recorded the deal."},"updatedAt":{"type":"string","format":"date-time","description":"When the deal was last updated."},"perspective":{"$ref":"#/components/schemas/MarketplaceDealPerspective","description":"The creator's side of the deal. Always `CREATOR`: only deals in which the creator sells are listed."}},"required":["dealRef","proposalRef","offerRef","agreementVersion","subject","buyerRef","creatorRef","state","terms","agreedBy","agreedAt","createdAt","updatedAt","perspective"],"description":"One deal in which the creator is the seller: the agreement a negotiation reached. Nothing in it changes once it is recorded, and `terms` is a full copy of the accepted offer's terms.","title":"MarketplaceDeal"},"MarketplaceDealPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MarketplaceDeal"},"description":"The deals on this page. There may be fewer than `limit`, even none, while more follow."},"nextCursor":{"type":["string","null"],"description":"Send it back as `cursor` for the next page. `null` only when nothing follows, so keep paging until it is `null`."}},"required":["items","nextCursor"],"description":"One page of the deals in which the creator is the seller, newest first.","title":"MarketplaceDealPage"},"RecordMarketplaceDealRequest":{"type":"object","properties":{"proposalRef":{"type":"string","minLength":1,"maxLength":64}},"required":["proposalRef"],"title":"RecordMarketplaceDealRequest"},"MarketplaceDocument":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The creator route's own answer, unchanged.","title":"MarketplaceDocument"},"PartnerV1AccountsCreatorIdMarketplaceListingsGetParametersState":{"type":"string","enum":["DRAFT","PUBLISHED","PAUSED","ARCHIVED"],"title":"PartnerV1AccountsCreatorIdMarketplaceListingsGetParametersState"},"MarketplaceServiceKind":{"type":"string","enum":["CUSTOM_VIDEO","PHOTO_SET","VOICE_MESSAGE","PERSONAL_MESSAGE","VIDEO_CALL","CUSTOM_SERVICE"],"title":"MarketplaceServiceKind"},"MarketplaceListingState":{"type":"string","enum":["DRAFT","PUBLISHED","PAUSED","ARCHIVED"],"title":"MarketplaceListingState"},"MarketplaceListingPresentation":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"buyerInstructions":{"type":["string","null"]}},"required":["title","description","buyerInstructions"],"title":"MarketplaceListingPresentation"},"MarketplaceListing":{"type":"object","properties":{"listingRef":{"type":"string"},"creatorRef":{"type":"string","description":"The creator who owns the listing, as the creator's `creatorId`: the same value as `{creatorId}` in the path."},"serviceKind":{"$ref":"#/components/schemas/MarketplaceServiceKind"},"state":{"$ref":"#/components/schemas/MarketplaceListingState"},"presentation":{"$ref":"#/components/schemas/MarketplaceListingPresentation"},"terms":{"$ref":"#/components/schemas/MarketplaceListingTerms"},"coverMediaAssetRef":{"type":["string","null"]},"version":{"type":"string","description":"The compare-and-set token — send it back as `expectedVersion`."},"publishedAt":{"type":["string","null"]},"archivedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["listingRef","creatorRef","serviceKind","state","presentation","terms","coverMediaAssetRef","version","createdAt","updatedAt"],"title":"MarketplaceListing"},"MarketplaceListingPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MarketplaceListing"}},"nextCursor":{"type":["string","null"]}},"required":["items","nextCursor"],"title":"MarketplaceListingPage"},"CreateMarketplaceListingRequest":{"type":"object","properties":{"listingId":{"type":"string","minLength":1,"maxLength":64,"description":"A UUID your application generates; it becomes the new listing's reference."},"serviceKind":{"$ref":"#/components/schemas/MarketplaceServiceKind"},"presentation":{"$ref":"#/components/schemas/MarketplaceListingPresentation"},"terms":{"$ref":"#/components/schemas/MarketplaceListingTerms"}},"required":["listingId","serviceKind","presentation","terms"],"title":"CreateMarketplaceListingRequest"},"MarketplaceVersionRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128}},"required":["expectedVersion"],"title":"MarketplaceVersionRequest"},"SetMarketplaceListingCoverRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"coverMediaAssetRef":{"type":["string","null"],"minLength":1,"maxLength":64}},"required":["expectedVersion","coverMediaAssetRef"],"title":"SetMarketplaceListingCoverRequest"},"ReplaceMarketplaceListingOfferRequestPackagesItemsDelivery":{"type":"object","properties":{"days":{"type":"integer"}},"required":["days"],"title":"ReplaceMarketplaceListingOfferRequestPackagesItemsDelivery"},"ReplaceMarketplaceListingOfferRequestPackagesItemsRevisions":{"type":"object","properties":{"includedRevisions":{"type":"integer"},"unlimited":{"type":"boolean"}},"required":["includedRevisions","unlimited"],"title":"ReplaceMarketplaceListingOfferRequestPackagesItemsRevisions"},"ReplaceMarketplaceListingOfferRequestPackagesItems":{"type":"object","properties":{"tier":{"type":"string","minLength":1,"maxLength":32},"title":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":1000},"price":{"$ref":"#/components/schemas/MarketplaceMoney"},"delivery":{"$ref":"#/components/schemas/ReplaceMarketplaceListingOfferRequestPackagesItemsDelivery"},"revisions":{"$ref":"#/components/schemas/ReplaceMarketplaceListingOfferRequestPackagesItemsRevisions"}},"required":["tier","title","description","price","delivery","revisions"],"title":"ReplaceMarketplaceListingOfferRequestPackagesItems"},"ReplaceMarketplaceListingOfferRequestAddonsItems":{"type":"object","properties":{"addonRef":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","minLength":1,"maxLength":120},"price":{"$ref":"#/components/schemas/MarketplaceMoney"},"deliveryExtraDays":{"type":"integer"},"revisionExtra":{"type":"integer"}},"required":["addonRef","title","price","deliveryExtraDays","revisionExtra"],"title":"ReplaceMarketplaceListingOfferRequestAddonsItems"},"ReplaceMarketplaceListingOfferRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"packages":{"type":"array","items":{"$ref":"#/components/schemas/ReplaceMarketplaceListingOfferRequestPackagesItems"}},"addons":{"type":"array","items":{"$ref":"#/components/schemas/ReplaceMarketplaceListingOfferRequestAddonsItems"}}},"required":["expectedVersion","packages","addons"],"title":"ReplaceMarketplaceListingOfferRequest"},"UpdateMarketplaceListingPresentationRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"presentation":{"$ref":"#/components/schemas/MarketplaceListingPresentation"}},"required":["expectedVersion","presentation"],"title":"UpdateMarketplaceListingPresentationRequest"},"ReplaceMarketplaceListingSamplesRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"mediaAssetRefs":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}},"required":["expectedVersion","mediaAssetRefs"],"title":"ReplaceMarketplaceListingSamplesRequest"},"UpdateMarketplaceListingTermsRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"terms":{"$ref":"#/components/schemas/MarketplaceListingTerms"}},"required":["expectedVersion","terms"],"title":"UpdateMarketplaceListingTermsRequest"},"PartnerV1AccountsCreatorIdMarketplaceProposalsGetParametersState":{"type":"string","enum":["OPEN","ACCEPTED","DECLINED","WITHDRAWN"],"title":"PartnerV1AccountsCreatorIdMarketplaceProposalsGetParametersState"},"MarketplaceNegotiationState":{"type":"string","enum":["OPEN","ACCEPTED","DECLINED","WITHDRAWN"],"description":"`OPEN` while an offer is on the table; `ACCEPTED`, `DECLINED` and `WITHDRAWN` are final.","title":"MarketplaceNegotiationState"},"MarketplaceNegotiationAcceptedBy":{"type":"string","enum":["BUYER","CREATOR"],"description":"Which party accepted. Set exactly when `state` is `ACCEPTED`.","title":"MarketplaceNegotiationAcceptedBy"},"MarketplaceNegotiationPerspective":{"type":"string","enum":["CREATOR"],"description":"The creator's side of the negotiation. Always `CREATOR`: only negotiations in which the creator sells are listed.","title":"MarketplaceNegotiationPerspective"},"MarketplaceNegotiation":{"type":"object","properties":{"proposalRef":{"type":"string","description":"The negotiation's reference."},"subject":{"$ref":"#/components/schemas/MarketplaceNegotiationSubject"},"buyerRef":{"type":"string","description":"The buyer, as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms)."},"creatorRef":{"type":"string","description":"The creator, as the `creatorId`."},"state":{"$ref":"#/components/schemas/MarketplaceNegotiationState","description":"`OPEN` while an offer is on the table; `ACCEPTED`, `DECLINED` and `WITHDRAWN` are final."},"standingOfferRef":{"type":"string","description":"The offer currently on the table. Send it back as `expectedStandingOffer` when you counter, accept, decline or withdraw."},"acceptedOfferRef":{"type":["string","null"],"description":"The offer that was accepted. Set exactly when `state` is `ACCEPTED`."},"acceptedBy":{"$ref":"#/components/schemas/MarketplaceNegotiationAcceptedBy","description":"Which party accepted. Set exactly when `state` is `ACCEPTED`."},"acceptedAt":{"type":["string","null"],"format":"date-time","description":"When the offer was accepted. Set exactly when `state` is `ACCEPTED`."},"concludedAt":{"type":["string","null"],"format":"date-time","description":"When the negotiation ended, whether accepted, declined or withdrawn. `null` while it is `OPEN`."},"version":{"type":"string","description":"The negotiation's version. Send it back as `expectedVersion` with your next change."},"createdAt":{"type":"string","format":"date-time","description":"When the negotiation was opened."},"updatedAt":{"type":"string","format":"date-time","description":"When the negotiation last changed."},"perspective":{"$ref":"#/components/schemas/MarketplaceNegotiationPerspective","description":"The creator's side of the negotiation. Always `CREATOR`: only negotiations in which the creator sells are listed."},"dealRef":{"type":["string","null"],"description":"The deal the negotiation became. `null` unless `state` is `ACCEPTED`, and for a moment after the acceptance, until EVVA records the deal."}},"required":["proposalRef","subject","buyerRef","creatorRef","state","standingOfferRef","acceptedOfferRef","acceptedBy","acceptedAt","concludedAt","version","createdAt","updatedAt","perspective","dealRef"],"description":"One negotiation in which the creator is the seller. It carries no terms and no price: those are on its offers, at `GET /partner/v1/accounts/{creatorId}/marketplace/proposals/{proposalRef}/offers`.","title":"MarketplaceNegotiation"},"MarketplaceNegotiationPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MarketplaceNegotiation"},"description":"The negotiations on this page. There may be fewer than `limit`, even none, while more follow."},"nextCursor":{"type":["string","null"],"description":"Send it back as `cursor` for the next page. `null` only when nothing follows, so keep paging until it is `null`."}},"required":["items","nextCursor"],"description":"One page of the negotiations in which the creator is the seller, newest first.","title":"MarketplaceNegotiationPage"},"OpenMarketplaceNegotiationRequestSubjectKind":{"type":"string","enum":["CUSTOM_REQUEST"],"description":"The seller side opens on a custom request only.","title":"OpenMarketplaceNegotiationRequestSubjectKind"},"OpenMarketplaceNegotiationRequestSubject":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/OpenMarketplaceNegotiationRequestSubjectKind","description":"The seller side opens on a custom request only."},"ref":{"type":"string","minLength":1,"maxLength":64}},"required":["kind","ref"],"title":"OpenMarketplaceNegotiationRequestSubject"},"OpenMarketplaceNegotiationRequest":{"type":"object","properties":{"proposalId":{"type":"string","minLength":1,"maxLength":64},"subject":{"$ref":"#/components/schemas/OpenMarketplaceNegotiationRequestSubject"},"terms":{"$ref":"#/components/schemas/MarketplaceListingTerms"},"message":{"type":["string","null"],"maxLength":4000}},"required":["proposalId","subject","terms"],"title":"OpenMarketplaceNegotiationRequest"},"MarketplaceNegotiationTransitionRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"expectedStandingOffer":{"type":"string","minLength":1,"maxLength":64}},"required":["expectedVersion","expectedStandingOffer"],"title":"MarketplaceNegotiationTransitionRequest"},"CounterMarketplaceNegotiationRequest":{"type":"object","properties":{"expectedVersion":{"type":"string","minLength":1,"maxLength":128},"expectedStandingOffer":{"type":"string","minLength":1,"maxLength":64},"terms":{"$ref":"#/components/schemas/MarketplaceListingTerms"},"message":{"type":["string","null"],"maxLength":4000}},"required":["expectedVersion","expectedStandingOffer","terms"],"title":"CounterMarketplaceNegotiationRequest"},"PartnerV1AccountsCreatorIdMarketplaceRequestsInboxGetParametersState":{"type":"string","enum":["DRAFT","OPEN","CLOSED"],"title":"PartnerV1AccountsCreatorIdMarketplaceRequestsInboxGetParametersState"},"MarketplaceCustomRequestTargetScope":{"type":"string","enum":["DIRECT"],"description":"Always `DIRECT`: the request was sent to this creator.","title":"MarketplaceCustomRequestTargetScope"},"MarketplaceCustomRequestTarget":{"type":"object","properties":{"scope":{"$ref":"#/components/schemas/MarketplaceCustomRequestTargetScope","description":"Always `DIRECT`: the request was sent to this creator."},"creator":{"type":"string","description":"The creator the request was sent to, as the `creatorId`."}},"required":["scope","creator"],"description":"Who the request is addressed to. In the inbox, always a `DIRECT` request to this creator.","title":"MarketplaceCustomRequestTarget"},"MarketplaceCustomRequestState":{"type":"string","enum":["OPEN","CLOSED"],"description":"`OPEN` while the request takes proposals; `CLOSED` once it ended. A draft is never listed.","title":"MarketplaceCustomRequestState"},"MarketplaceCustomRequestPresentation":{"type":"object","properties":{"title":{"type":"string","description":"The request's title."},"brief":{"type":"string","description":"What the buyer asks for, in their words."}},"required":["title","brief"],"description":"The buyer's own words.","title":"MarketplaceCustomRequestPresentation"},"MarketplaceCustomRequestRequirementsDeliverableKind":{"type":"string","enum":["DIGITAL_CONTENT","LIVE_SESSION","SHOUTOUT","LICENSE","OTHER"],"description":"The kind of work.","title":"MarketplaceCustomRequestRequirementsDeliverableKind"},"MarketplaceCustomRequestRequirementsDeliverable":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/MarketplaceCustomRequestRequirementsDeliverableKind","description":"The kind of work."},"quantity":{"type":"integer","description":"How many of it."}},"required":["kind","quantity"],"description":"The work asked for.","title":"MarketplaceCustomRequestRequirementsDeliverable"},"MarketplaceCustomRequestRequirementsDelivery":{"type":"object","properties":{"days":{"type":"integer","description":"The window, in days."}},"required":["days"],"description":"The delivery window the buyer asks for.","title":"MarketplaceCustomRequestRequirementsDelivery"},"MarketplaceCustomRequestRequirements":{"type":"object","properties":{"deliverable":{"$ref":"#/components/schemas/MarketplaceCustomRequestRequirementsDeliverable","description":"The work asked for."},"delivery":{"$ref":"#/components/schemas/MarketplaceCustomRequestRequirementsDelivery","description":"The delivery window the buyer asks for."},"budgetMax":{"oneOf":[{"$ref":"#/components/schemas/MarketplaceMoney"},{"type":"null"}],"description":"The most the buyer will pay, or `null` when they have not said."}},"required":["deliverable","delivery","budgetMax"],"description":"What the buyer asks for.","title":"MarketplaceCustomRequestRequirements"},"MarketplaceCustomRequestClosedBy":{"type":"string","enum":["BUYER","CREATOR"],"description":"Who ended the request: `BUYER` when the buyer closed it or it reached a deal, `CREATOR` when the creator declined it. `null` while it is `OPEN`.","title":"MarketplaceCustomRequestClosedBy"},"MarketplaceCustomRequestAgreement":{"type":"object","properties":{"proposalRef":{"type":"string","description":"The negotiation that was accepted."},"dealRef":{"type":["string","null"],"description":"The deal it became. `null` for a moment after the acceptance, until EVVA records the deal."}},"required":["proposalRef","dealRef"],"description":"The agreement the request reached, or `null`. A `CLOSED` request with an agreement was agreed, not closed by the buyer.","title":"MarketplaceCustomRequestAgreement"},"MarketplaceCustomRequest":{"type":"object","properties":{"requestRef":{"type":"string","description":"The request's reference."},"buyerRef":{"type":"string","description":"The buyer who sent the request, as your application's own pairwise [buyer pseudonym](/buyer-pseudonyms)."},"target":{"$ref":"#/components/schemas/MarketplaceCustomRequestTarget","description":"Who the request is addressed to. In the inbox, always a `DIRECT` request to this creator."},"state":{"$ref":"#/components/schemas/MarketplaceCustomRequestState","description":"`OPEN` while the request takes proposals; `CLOSED` once it ended. A draft is never listed."},"presentation":{"$ref":"#/components/schemas/MarketplaceCustomRequestPresentation","description":"The buyer's own words."},"requirements":{"$ref":"#/components/schemas/MarketplaceCustomRequestRequirements","description":"What the buyer asks for."},"version":{"type":"string","description":"The request's version. Send it back as `expectedVersion` when you decline the request."},"openedAt":{"type":"string","format":"date-time","description":"When the buyer sent the request. The inbox is ordered by it, newest first."},"closedAt":{"type":["string","null"],"format":"date-time","description":"When the request closed. `null` while it is `OPEN`."},"closedBy":{"$ref":"#/components/schemas/MarketplaceCustomRequestClosedBy","description":"Who ended the request: `BUYER` when the buyer closed it or it reached a deal, `CREATOR` when the creator declined it. `null` while it is `OPEN`."},"createdAt":{"type":"string","format":"date-time","description":"When the buyer created the request."},"updatedAt":{"type":"string","format":"date-time","description":"When the request last changed."},"agreement":{"oneOf":[{"$ref":"#/components/schemas/MarketplaceCustomRequestAgreement"},{"type":"null"}],"description":"The agreement the request reached, or `null`. A `CLOSED` request with an agreement was agreed, not closed by the buyer."}},"required":["requestRef","buyerRef","target","state","presentation","requirements","version","openedAt","closedAt","closedBy","createdAt","updatedAt","agreement"],"description":"One custom request a buyer sent to the creator. Only sent requests are listed, so `state` is `OPEN` or `CLOSED` and `openedAt` is always set.","title":"MarketplaceCustomRequest"},"MarketplaceCustomRequestPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MarketplaceCustomRequest"},"description":"The requests on this page, newest first."},"nextCursor":{"type":["string","null"],"description":"Send it back as `cursor` for the next page. `null` on the last page."}},"required":["items","nextCursor"],"description":"One page of the custom requests sent to the creator, newest first.","title":"MarketplaceCustomRequestPage"},"MarketplaceInboxRequestTargetScope":{"type":"string","enum":["DIRECT"],"description":"Always `DIRECT`: the request was sent to this creator.","title":"MarketplaceInboxRequestTargetScope"},"MarketplaceInboxRequestTarget":{"type":"object","properties":{"scope":{"$ref":"#/components/schemas/MarketplaceInboxRequestTargetScope","description":"Always `DIRECT`: the request was sent to this creator."},"creator":{"type":"string","description":"The creator the request was sent to, as the `creatorId`."}},"required":["scope","creator"],"description":"Who the request is addressed to. In the inbox, always a `DIRECT` request to this creator.","title":"MarketplaceInboxRequestTarget"},"MarketplaceInboxRequestState":{"type":"string","enum":["OPEN","CLOSED"],"description":"`OPEN` while the request takes proposals; `CLOSED` once it ended. A draft is never listed.","title":"MarketplaceInboxRequestState"},"MarketplaceInboxRequestPresentation":{"type":"object","properties":{"title":{"type":"string","description":"The request's title."},"brief":{"type":"string","description":"What the buyer asks for, in their words."}},"required":["title","brief"],"description":"The buyer's own words.","title":"MarketplaceInboxRequestPresentation"},"MarketplaceInboxRequestRequirementsDeliverableKind":{"type":"string","enum":["DIGITAL_CONTENT","LIVE_SESSION","SHOUTOUT","LICENSE","OTHER"],"description":"The kind of work.","title":"MarketplaceInboxRequestRequirementsDeliverableKind"},"MarketplaceInboxRequestRequirementsDeliverable":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/MarketplaceInboxRequestRequirementsDeliverableKind","description":"The kind of work."},"quantity":{"type":"integer","description":"How many of it."}},"required":["kind","quantity"],"description":"The work asked for.","title":"MarketplaceInboxRequestRequirementsDeliverable"},"MarketplaceInboxRequestRequirementsDelivery":{"type":"object","properties":{"days":{"type":"integer","description":"The window, in days."}},"required":["days"],"description":"The delivery window the buyer asks for.","title":"MarketplaceInboxRequestRequirementsDelivery"},"MarketplaceInboxRequestRequirements":{"type":"object","properties":{"deliverable":{"$ref":"#/components/schemas/MarketplaceInboxRequestRequirementsDeliverable","description":"The work asked for."},"delivery":{"$ref":"#/components/schemas/MarketplaceInboxRequestRequirementsDelivery","description":"The delivery window the buyer asks for."},"budgetMax":{"oneOf":[{"$ref":"#/components/schemas/MarketplaceMoney"},{"type":"null"}],"description":"The most the buyer will pay, or `null` when they have not said."}},"required":["deliverable","delivery","budgetMax"],"description":"What the buyer asks for.","title":"MarketplaceInboxRequestRequirements"},"MarketplaceInboxRequestClosedBy":{"type":"string","enum":["BUYER","CREATOR"],"description":"Who ended the request: `BUYER` when the buyer closed it or it reached a deal, `CREATOR` when the creator declined it. `null` while it is `OPEN`.","title":"MarketplaceInboxRequestClosedBy"},"MarketplaceInboxRequestAgreement":{"type":"object","properties":{"proposalRef":{"type":"string","description":"The negotiation that was accepted."},"dealRef":{"type":["string","null"],"description":"The deal it became. `null` for a moment after the acceptance, until EVVA records the deal."}},"required":["proposalRef","dealRef"],"description":"The agreement the request reached, or `null`. A `CLOSED` request with an agreement was agreed, not closed by the buyer.","title":"MarketplaceInboxRequestAgreement"},"MarketplaceInboxRequest":{"type":"object","properties":{"requestRef":{"type":"string","description":"The request's reference."},"target":{"$ref":"#/components/schemas/MarketplaceInboxRequestTarget","description":"Who the request is addressed to. In the inbox, always a `DIRECT` request to this creator."},"state":{"$ref":"#/components/schemas/MarketplaceInboxRequestState","description":"`OPEN` while the request takes proposals; `CLOSED` once it ended. A draft is never listed."},"presentation":{"$ref":"#/components/schemas/MarketplaceInboxRequestPresentation","description":"The buyer's own words."},"requirements":{"$ref":"#/components/schemas/MarketplaceInboxRequestRequirements","description":"What the buyer asks for."},"version":{"type":"string","description":"The request's version. Send it back as `expectedVersion` when you decline the request."},"openedAt":{"type":"string","format":"date-time","description":"When the buyer sent the request. The inbox is ordered by it, newest first."},"closedAt":{"type":["string","null"],"format":"date-time","description":"When the request closed. `null` while it is `OPEN`."},"closedBy":{"$ref":"#/components/schemas/MarketplaceInboxRequestClosedBy","description":"Who ended the request: `BUYER` when the buyer closed it or it reached a deal, `CREATOR` when the creator declined it. `null` while it is `OPEN`."},"createdAt":{"type":"string","format":"date-time","description":"When the buyer created the request."},"updatedAt":{"type":"string","format":"date-time","description":"When the request last changed."},"agreement":{"oneOf":[{"$ref":"#/components/schemas/MarketplaceInboxRequestAgreement"},{"type":"null"}],"description":"The agreement the request reached, or `null`. A `CLOSED` request with an agreement was agreed, not closed by the buyer."}},"required":["requestRef","target","state","presentation","requirements","version","openedAt","closedAt","closedBy","createdAt","updatedAt","agreement"],"description":"One custom request a buyer sent to the creator, as `getMarketplaceInboxRequest` answers it. It does not name the buyer.","title":"MarketplaceInboxRequest"},"MarketplaceEmptyRequest":{"type":"object","properties":{},"description":"An answer carries no data — the decision is in the path.","title":"MarketplaceEmptyRequest"},"AiOpaqueObject":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The object the creator-facing API returns for this resource, unchanged.","title":"AiOpaqueObject"},"AiItems":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AiOpaqueObject"}}},"required":["items"],"title":"AiItems"},"AiAutomationCreateRequest":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"definition":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["name","definition"],"title":"AiAutomationCreateRequest"},"AiAutomation":{"type":"object","properties":{"automationRef":{"type":"string"},"name":{"type":"string"},"enabled":{"type":"boolean"},"paused":{"type":"boolean"}},"required":["automationRef"],"description":"An AI automation.","title":"AiAutomation"},"AiAutomationRevisionRequest":{"type":"object","properties":{"definition":{"type":"object","additionalProperties":{"description":"Any type"}},"approve":{"type":"boolean","description":"`true` also needs `write:automations:enable`, which is not part of the default consent."}},"required":["definition"],"title":"AiAutomationRevisionRequest"},"AiAutomationRunRequest":{"type":"object","properties":{"dryRun":{"type":"boolean","description":"A run that decides everything and contacts nobody."}},"title":"AiAutomationRunRequest"},"AiAutomationStateRequest":{"type":"object","properties":{"enabled":{"type":"boolean","description":"`true` enables the automation, and enabling counts as approving it. It also needs `write:automations:enable`, which is not part of the default consent."},"paused":{"type":"boolean"}},"title":"AiAutomationStateRequest"},"AiAutomationCapabilities":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The triggers, audiences and actions this build of EVVA implements.","title":"AiAutomationCapabilities"},"AiCopilotProposalApproveRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"Required for an application approving `send_fan_message`.","title":"AiCopilotProposalApproveRequestAuthorship"},"AiCopilotProposalApproveRequest":{"type":"object","properties":{"authorship":{"$ref":"#/components/schemas/AiCopilotProposalApproveRequestAuthorship","description":"Required for an application approving `send_fan_message`."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The CRM operator, with a person's authorship only."}},"description":"Read only when the proposal sends a fan message (`send_fan_message`): declare the message's `authorship`, as on any send. A person's authorship also needs `operatorRef`. Any other proposal takes an empty body.","title":"AiCopilotProposalApproveRequest"},"AiCopilotProposalDecisionProposal":{"type":"object","properties":{"ref":{"type":"string"},"state":{"type":"string"}},"title":"AiCopilotProposalDecisionProposal"},"AiCopilotProposalDecision":{"type":"object","properties":{"proposal":{"$ref":"#/components/schemas/AiCopilotProposalDecisionProposal"},"alreadyDecided":{"type":"boolean"}},"required":["proposal","alreadyDecided"],"title":"AiCopilotProposalDecision"},"AiMaturity":{"type":"string","enum":["NON_ADULT","ADULT","UNKNOWN"],"description":"Declared by the caller; ABSENT means UNKNOWN (routed only to models that accept unclassified input).","title":"AiMaturity"},"AiCopilotTurnRequest":{"type":"object","properties":{"conversationRef":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"prompt":{"type":"string","minLength":1,"maxLength":8000},"maturity":{"$ref":"#/components/schemas/AiMaturity"}},"required":["prompt"],"title":"AiCopilotTurnRequest"},"AiCopilotTurnEnvelope":{"type":"object","properties":{"turn":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The answer, the actions EVA ran automatically, and the proposals waiting — no generation ref, provider or model."}},"required":["turn"],"title":"AiCopilotTurnEnvelope"},"AiVoiceRequestSubject":{"type":"string","enum":["GENERIC","CREATOR"],"title":"AiVoiceRequestSubject"},"AiVoiceRequestIntent":{"type":"string","enum":["SPEAK","CLONE"],"description":"`CLONE` builds a durable voice model — an identity — and is refused 403 `AI_IDENTITY_CREATOR_ONLY` for a partner.","title":"AiVoiceRequestIntent"},"AiVoiceRequest":{"type":"object","properties":{"script":{"type":"string","minLength":1,"maxLength":4000},"subject":{"$ref":"#/components/schemas/AiVoiceRequestSubject"},"intent":{"$ref":"#/components/schemas/AiVoiceRequestIntent","description":"`CLONE` builds a durable voice model — an identity — and is refused 403 `AI_IDENTITY_CREATOR_ONLY` for a partner."},"maturity":{"$ref":"#/components/schemas/AiMaturity"}},"required":["script"],"title":"AiVoiceRequest"},"AiVoiceAcceptedVoice":{"type":"object","properties":{"generationRef":{"type":"string"}},"required":["generationRef"],"title":"AiVoiceAcceptedVoice"},"AiVoiceAccepted":{"type":"object","properties":{"voice":{"$ref":"#/components/schemas/AiVoiceAcceptedVoice"}},"required":["voice"],"title":"AiVoiceAccepted"},"AiFanReplySendRequestAuthorship":{"type":"string","enum":["AI_AUTOMATED","HUMAN_AUTHORED","AI_DRAFTED_HUMAN_SENT"],"description":"REQUIRED for an application (its own scope within the creator's consent).","title":"AiFanReplySendRequestAuthorship"},"AiFanReplySendRequestFencingToken":{"oneOf":[{"type":"string","pattern":"^[1-9][0-9]{0,15}$"},{"type":"integer","minimum":1}],"description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive. Without it, under another holder's lease, or with a token that is not current, the send is refused with\n`422 SEND_REFUSED`.","title":"AiFanReplySendRequestFencingToken"},"AiFanReplySendRequest":{"type":"object","properties":{"conversationRef":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"body":{"type":"string","minLength":1,"maxLength":5000,"description":"The approved text, verbatim — nothing is re-generated."},"attachmentRefs":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"}},"humanComposed":{"type":"boolean","description":"Whether a person read this exact text (`AI_DRAFTED_HUMAN_SENT`) or approved the act (`AI_GENERATED_APPROVED`)."},"authorship":{"$ref":"#/components/schemas/AiFanReplySendRequestAuthorship","description":"REQUIRED for an application (its own scope within the creator's consent)."},"operatorRef":{"type":"string","minLength":1,"maxLength":64,"description":"The CRM operator, with a person's authorship only."},"expectedLastMessageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"Conditional send."},"fencingToken":{"$ref":"#/components/schemas/AiFanReplySendRequestFencingToken","description":"The current fencing token of your application's own live lease on the conversation. Required while a lease is\nlive. Without it, under another holder's lease, or with a token that is not current, the send is refused with\n`422 SEND_REFUSED`."},"takeover":{"type":"boolean","description":"For people on the agency's team only. If your application sends `true`, the request is refused with `400 INVALID_REQUEST`."},"automationRunId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"The client's run reference — audit only."}},"required":["conversationRef","body"],"title":"AiFanReplySendRequest"},"AiFanReplySentMessage":{"type":"object","properties":{"ref":{"type":"string"}},"required":["ref"],"title":"AiFanReplySentMessage"},"AiFanReplySent":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/AiFanReplySentMessage"},"alreadySent":{"type":"boolean"}},"required":["message","alreadySent"],"title":"AiFanReplySent"},"AiFanReplySuggestionRequest":{"type":"object","properties":{"conversationRef":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"intent":{"type":"string","maxLength":500},"maturity":{"$ref":"#/components/schemas/AiMaturity"}},"required":["conversationRef"],"title":"AiFanReplySuggestionRequest"},"AiFanReplySuggestionAcceptedSuggestion":{"type":"object","properties":{"generationRef":{"type":"string"}},"required":["generationRef"],"title":"AiFanReplySuggestionAcceptedSuggestion"},"AiFanReplySuggestionAccepted":{"type":"object","properties":{"suggestion":{"$ref":"#/components/schemas/AiFanReplySuggestionAcceptedSuggestion"}},"required":["suggestion"],"title":"AiFanReplySuggestionAccepted"},"AiFanReplySuggestionSuggestionState":{"type":"string","enum":["PENDING","READY","FAILED"],"title":"AiFanReplySuggestionSuggestionState"},"AiFanReplySuggestionSuggestionFailure":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"title":"AiFanReplySuggestionSuggestionFailure"},"AiFanReplySuggestionSuggestion":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/AiFanReplySuggestionSuggestionState"},"text":{"type":"string","description":"Present only when READY."},"failure":{"$ref":"#/components/schemas/AiFanReplySuggestionSuggestionFailure"}},"required":["state"],"title":"AiFanReplySuggestionSuggestion"},"AiFanReplySuggestion":{"type":"object","properties":{"suggestion":{"$ref":"#/components/schemas/AiFanReplySuggestionSuggestion"}},"required":["suggestion"],"title":"AiFanReplySuggestion"},"AiIdentityMinimalEnvelopeIdentityPermissions":{"type":"object","properties":{"generateText":{"type":"boolean"},"generateImages":{"type":"boolean"},"generateVideo":{"type":"boolean"},"generateVoice":{"type":"boolean"},"allowIdentityUse":{"type":"boolean"},"allowTraining":{"type":"boolean"},"adultContentGeneration":{"type":"boolean"},"adultIdentityUse":{"type":"boolean"},"autonomousActions":{"type":"boolean"}},"title":"AiIdentityMinimalEnvelopeIdentityPermissions"},"AiIdentityMinimalEnvelopeIdentity":{"type":"object","properties":{"permissions":{"$ref":"#/components/schemas/AiIdentityMinimalEnvelopeIdentityPermissions"},"likenessConsented":{"type":"boolean","description":"A live consent allows generation use of the likeness."},"voiceConsented":{"type":"boolean","description":"A live consent allows voice use."},"registeredIdentityRoles":{"type":"array","items":{"type":"string"}},"observedAt":{"type":"string","format":"date-time"}},"required":["permissions","likenessConsented","voiceConsented","registeredIdentityRoles","observedAt"],"title":"AiIdentityMinimalEnvelopeIdentity"},"AiIdentityMinimalEnvelope":{"type":"object","properties":{"identity":{"$ref":"#/components/schemas/AiIdentityMinimalEnvelopeIdentity"}},"required":["identity"],"title":"AiIdentityMinimalEnvelope"},"AiStudioImageOptionsAspectRatio":{"type":"string","enum":["1:1","4:5","3:2","2:3","16:9","9:16"],"title":"AiStudioImageOptionsAspectRatio"},"AiStudioImageOptionsQuality":{"type":"string","enum":["AUTO","DRAFT","STANDARD","PREMIUM"],"title":"AiStudioImageOptionsQuality"},"AiStudioImageOptionsLook":{"type":"string","enum":["NATURAL","EDITORIAL","CINEMATIC","ILLUSTRATION","PRODUCT"],"title":"AiStudioImageOptionsLook"},"AiStudioImageOptionsOutputFormat":{"type":"string","enum":["png","jpeg","webp"],"title":"AiStudioImageOptionsOutputFormat"},"AiStudioImageOptionsSubject":{"type":"string","enum":["GENERIC","CREATOR"],"description":"`CREATOR` pictures the creator — the partner also needs `write:ai` and `write:ai:voice`; the creator's likeness permission and live consent decide.","title":"AiStudioImageOptionsSubject"},"AiStudioImageOptions":{"type":"object","properties":{"aspectRatio":{"$ref":"#/components/schemas/AiStudioImageOptionsAspectRatio"},"quality":{"$ref":"#/components/schemas/AiStudioImageOptionsQuality"},"look":{"$ref":"#/components/schemas/AiStudioImageOptionsLook"},"outputCount":{"type":"integer","minimum":1,"maximum":4},"outputFormat":{"$ref":"#/components/schemas/AiStudioImageOptionsOutputFormat"},"subject":{"$ref":"#/components/schemas/AiStudioImageOptionsSubject","description":"`CREATOR` pictures the creator — the partner also needs `write:ai` and `write:ai:voice`; the creator's likeness permission and live consent decide."},"avoid":{"type":"string","maxLength":1000},"commercialUse":{"type":"boolean"}},"title":"AiStudioImageOptions"},"AiStudioImageRequest":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"maturity":{"$ref":"#/components/schemas/AiMaturity"},"options":{"$ref":"#/components/schemas/AiStudioImageOptions"},"jurisdiction":{"type":"string","minLength":2,"maxLength":2}},"required":["prompt"],"description":"Strict — an unknown key (a consent flag, a model, a seed) is 400, never silently dropped.","title":"AiStudioImageRequest"},"AiStudioImage":{"type":"object","properties":{"ref":{"type":"string"},"state":{"type":"string"},"origin":{"type":"string"},"parentRef":{"type":["string","null"]},"rootRef":{"type":["string","null"]}},"required":["ref","state"],"description":"A studio image. No provider, model or routing evidence is ever included.","title":"AiStudioImage"},"AiGenerationEnvelope":{"type":"object","properties":{"generation":{"$ref":"#/components/schemas/AiStudioImage"}},"required":["generation"],"title":"AiGenerationEnvelope"},"AiStudioCancelResultOutcome":{"type":"string","enum":["CANCELLED","CANCELLATION_REQUESTED"],"title":"AiStudioCancelResultOutcome"},"AiStudioCancelResult":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/AiStudioCancelResultOutcome"},"generation":{"$ref":"#/components/schemas/AiStudioImage"}},"required":["outcome"],"title":"AiStudioCancelResult"},"AiGenerationList":{"type":"object","properties":{"generations":{"type":"array","items":{"$ref":"#/components/schemas/AiStudioImage"}}},"required":["generations"],"title":"AiGenerationList"},"AiStudioVariationRequest":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"maturity":{"$ref":"#/components/schemas/AiMaturity"},"options":{"$ref":"#/components/schemas/AiStudioImageOptions"}},"title":"AiStudioVariationRequest"},"AiStudioPresets":{"type":"object","properties":{"presets":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["presets"],"title":"AiStudioPresets"},"AiWorkflowList":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"#/components/schemas/AiOpaqueObject"}}},"required":["workflows"],"title":"AiWorkflowList"},"AiWorkflowDefinitionRequest":{"type":"object","properties":{"definition":{"type":"object","additionalProperties":{"description":"Any type"},"description":"`DefinitionSchema` — nodes, slots, defaults. A `VOICE_CLONE` node is refused for a partner."}},"required":["definition"],"title":"AiWorkflowDefinitionRequest"},"AiWorkflowEnvelope":{"type":"object","properties":{"workflow":{"$ref":"#/components/schemas/AiOpaqueObject"}},"required":["workflow"],"title":"AiWorkflowEnvelope"},"AiWorkflowRemixRequest":{"type":"object","properties":{"runRef":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"definition":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["runRef"],"title":"AiWorkflowRemixRequest"},"AiWorkflowRunList":{"type":"object","properties":{"runs":{"type":"array","items":{"$ref":"#/components/schemas/AiOpaqueObject"}}},"required":["runs"],"title":"AiWorkflowRunList"},"AiWorkflowRunRequestBindingsItemsKind":{"type":"string","enum":["ASSET","IDENTITY","VALUE"],"title":"AiWorkflowRunRequestBindingsItemsKind"},"AiWorkflowRunRequestBindingsItems":{"type":"object","properties":{"role":{"type":"string"},"kind":{"$ref":"#/components/schemas/AiWorkflowRunRequestBindingsItemsKind"},"assetRef":{"type":"string"},"identityRef":{"type":"string","description":"An IDENTITY binding uses the creator's likeness — the partner also needs `write:ai` and `write:ai:voice`."},"value":{"type":"string","maxLength":1000}},"required":["role","kind"],"title":"AiWorkflowRunRequestBindingsItems"},"AiWorkflowRunRequest":{"type":"object","properties":{"templateRef":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"revision":{"type":"integer","minimum":1},"bindings":{"type":"array","items":{"$ref":"#/components/schemas/AiWorkflowRunRequestBindingsItems"}},"profile":{"type":"string"},"maturity":{"$ref":"#/components/schemas/AiMaturity"}},"required":["templateRef"],"title":"AiWorkflowRunRequest"},"AiWorkflowRunEnvelope":{"type":"object","properties":{"run":{"$ref":"#/components/schemas/AiOpaqueObject"}},"required":["run"],"title":"AiWorkflowRunEnvelope"},"WebhooksOnConversationCreatedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"conversationId":{"description":"Any type"},"createdAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnConversationCreatedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMessageReceivedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"messageId":{"description":"Any type"},"conversationId":{"description":"Any type"},"senderRole":{"description":"Any type"},"authorship":{"description":"Any type"},"locked":{"description":"Any type"},"createdAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMessageReceivedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMessageSentPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"messageId":{"description":"Any type"},"conversationId":{"description":"Any type"},"senderRole":{"description":"Any type"},"authorship":{"description":"Any type"},"locked":{"description":"Any type"},"createdAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMessageSentPayloadContentApplicationJsonSchemaData"},"WebhooksOnMessageReadPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"conversationId":{"description":"Any type"},"messageIds":{"description":"Any type"},"truncated":{"description":"Any type"},"readThrough":{"description":"Any type"},"readAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMessageReadPayloadContentApplicationJsonSchemaData"},"WebhooksOnMessageDeliveredPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"conversationId":{"description":"Any type"},"messageIds":{"description":"Any type"},"truncated":{"description":"Any type"},"deliveredThrough":{"description":"Any type"},"acknowledgedAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMessageDeliveredPayloadContentApplicationJsonSchemaData"},"WebhooksOnPpvPurchasedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"messageId":{"description":"Any type"},"conversationId":{"description":"Any type"},"purchasedAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnPpvPurchasedPayloadContentApplicationJsonSchemaData"},"WebhooksOnPpvRefundedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"messageId":{"description":"Any type"},"conversationId":{"description":"Any type"},"full":{"description":"Any type"},"refundedAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnPpvRefundedPayloadContentApplicationJsonSchemaData"},"WebhooksOnSubscriberStartedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"conversationId":{"description":"Any type"},"startedAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnSubscriberStartedPayloadContentApplicationJsonSchemaData"},"WebhooksOnSubscriberRenewedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"conversationId":{"description":"Any type"},"renewedAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnSubscriberRenewedPayloadContentApplicationJsonSchemaData"},"WebhooksOnSubscriberEndedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"conversationId":{"description":"Any type"},"state":{"description":"Any type"},"reason":{"description":"Any type"},"endedAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnSubscriberEndedPayloadContentApplicationJsonSchemaData"},"WebhooksOnTipReceivedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"target":{"description":"Any type"},"conversationId":{"description":"Any type"},"messageId":{"description":"Any type"},"paidAt":{"description":"Any type"},"buyerRef":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnTipReceivedPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderPaidPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"paidAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderPaidPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderDeliveredPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"deliveredAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderDeliveredPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderAcceptedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"acceptanceKind":{"description":"Any type"},"acceptedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderAcceptedPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderClaimOpenedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"claimId":{"description":"Any type"},"claimKind":{"description":"Any type"},"reason":{"description":"Any type"},"sellerDueAt":{"description":"Any type"},"openedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderClaimOpenedPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderClaimAnsweredPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"claimId":{"description":"Any type"},"claimKind":{"description":"Any type"},"answeredBy":{"description":"Any type"},"answeredAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderClaimAnsweredPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderClaimResolvedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"claimId":{"description":"Any type"},"claimKind":{"description":"Any type"},"resolution":{"description":"Any type"},"resolvedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderClaimResolvedPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderRefundRequestedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"requestId":{"description":"Any type"},"reason":{"description":"Any type"},"requestedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderRefundRequestedPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderRefundRequestDeclinedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"requestId":{"description":"Any type"},"declinedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderRefundRequestDeclinedPayloadContentApplicationJsonSchemaData"},"WebhooksOnOrderRefundedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"orderId":{"description":"Any type"},"subject":{"description":"Any type"},"full":{"description":"Any type"},"refundedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnOrderRefundedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMarketplaceRequestChangedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"requestId":{"description":"Any type"},"state":{"description":"Any type"},"version":{"description":"Any type"},"changedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMarketplaceRequestChangedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMarketplaceMatchChangedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"matchId":{"description":"Any type"},"requestId":{"description":"Any type"},"state":{"description":"Any type"},"changedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMarketplaceMatchChangedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMarketplaceProposalChangedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"proposalId":{"description":"Any type"},"subjectKind":{"description":"Any type"},"subjectId":{"description":"Any type"},"state":{"description":"Any type"},"version":{"description":"Any type"},"changedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMarketplaceProposalChangedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMarketplaceDealAcceptedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"dealId":{"description":"Any type"},"proposalId":{"description":"Any type"},"subjectKind":{"description":"Any type"},"subjectId":{"description":"Any type"},"agreedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMarketplaceDealAcceptedPayloadContentApplicationJsonSchemaData"},"WebhooksOnContentPublishedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"contentId":{"description":"Any type"},"via":{"description":"Any type"},"publishedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnContentPublishedPayloadContentApplicationJsonSchemaData"},"WebhooksOnContentRetractedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"contentId":{"description":"Any type"},"reason":{"description":"Any type"},"retractedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnContentRetractedPayloadContentApplicationJsonSchemaData"},"WebhooksOnContentRemovedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"contentId":{"description":"Any type"},"removedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnContentRemovedPayloadContentApplicationJsonSchemaData"},"WebhooksOnContentReviewDecidedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"contentId":{"description":"Any type"},"decision":{"description":"Any type"},"revision":{"description":"Any type"},"decidedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnContentReviewDecidedPayloadContentApplicationJsonSchemaData"},"WebhooksOnCommentCreatedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"commentId":{"description":"Any type"},"targetKind":{"description":"Any type"},"contentId":{"description":"Any type"},"authorRole":{"description":"Any type"},"createdAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnCommentCreatedPayloadContentApplicationJsonSchemaData"},"WebhooksOnCommentDeletedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"commentId":{"description":"Any type"},"targetKind":{"description":"Any type"},"contentId":{"description":"Any type"},"deletedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnCommentDeletedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMediaQuarantinedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"mediaAssetId":{"description":"Any type"},"quarantinedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMediaQuarantinedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMediaReleasedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"mediaAssetId":{"description":"Any type"},"releasedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMediaReleasedPayloadContentApplicationJsonSchemaData"},"WebhooksOnMediaBytesLostPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"mediaAssetId":{"description":"Any type"},"recoverability":{"description":"Any type"},"detectedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMediaBytesLostPayloadContentApplicationJsonSchemaData"},"WebhooksOnMassMessageDeliveredPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"massMessageId":{"description":"Any type"},"outcome":{"description":"Any type"},"completedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMassMessageDeliveredPayloadContentApplicationJsonSchemaData"},"WebhooksOnMassMessageFailedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"massMessageId":{"description":"Any type"},"outcome":{"description":"Any type"},"completedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnMassMessageFailedPayloadContentApplicationJsonSchemaData"},"LeaseLostDataReason":{"type":"string","enum":["TAKEN_OVER","HUMAN_REPLIED","EXPIRED"],"title":"LeaseLostDataReason"},"LeaseLostData":{"type":"object","properties":{"conversationId":{"type":"string"},"fencingToken":{"type":"string","description":"The token that died with the lease (never current again)."},"reason":{"$ref":"#/components/schemas/LeaseLostDataReason"},"lostAt":{"type":"string","format":"date-time"}},"required":["conversationId","fencingToken","reason","lostAt"],"title":"LeaseLostData"},"LeaseAcquiredDataHolderKind":{"type":"string","enum":["APPLICATION","STAFF"],"title":"LeaseAcquiredDataHolderKind"},"LeaseAcquiredData":{"type":"object","properties":{"conversationId":{"type":"string"},"holderKind":{"$ref":"#/components/schemas/LeaseAcquiredDataHolderKind"},"applicationId":{"type":["string","null"],"description":"The holder when it is an application."},"expiresAt":{"type":"string","format":"date-time"},"acquiredAt":{"type":"string","format":"date-time"}},"required":["conversationId","holderKind","applicationId","expiresAt","acquiredAt"],"title":"LeaseAcquiredData"},"HandoffRequestedDataTo":{"type":"string","enum":["HUMAN","APPLICATION"],"title":"HandoffRequestedDataTo"},"HandoffRequestedDataRequestedByKind":{"type":"string","enum":["APPLICATION","STAFF"],"title":"HandoffRequestedDataRequestedByKind"},"HandoffRequestedData":{"type":"object","properties":{"conversationId":{"type":"string"},"to":{"$ref":"#/components/schemas/HandoffRequestedDataTo"},"applicationId":{"type":["string","null"],"description":"To = APPLICATION: the application it is reserved for."},"requestedByKind":{"$ref":"#/components/schemas/HandoffRequestedDataRequestedByKind"},"requestedByApplicationId":{"type":["string","null"]},"requestedAt":{"type":"string","format":"date-time"}},"required":["conversationId","to","applicationId","requestedByKind","requestedByApplicationId","requestedAt"],"title":"HandoffRequestedData"},"HandoffCompletedDataTo":{"type":"string","enum":["HUMAN","APPLICATION"],"title":"HandoffCompletedDataTo"},"HandoffCompletedDataCompletedByKind":{"type":"string","enum":["STAFF","CREATOR","APPLICATION"],"title":"HandoffCompletedDataCompletedByKind"},"HandoffCompletedData":{"type":"object","properties":{"conversationId":{"type":"string"},"to":{"$ref":"#/components/schemas/HandoffCompletedDataTo"},"applicationId":{"type":["string","null"]},"completedByKind":{"$ref":"#/components/schemas/HandoffCompletedDataCompletedByKind"},"completedAt":{"type":"string","format":"date-time"}},"required":["conversationId","to","applicationId","completedByKind","completedAt"],"title":"HandoffCompletedData"},"AutomationResumedDataResumedByKind":{"type":"string","enum":["STAFF"],"title":"AutomationResumedDataResumedByKind"},"AutomationResumedData":{"type":"object","properties":{"conversationId":{"type":"string"},"resumedByKind":{"$ref":"#/components/schemas/AutomationResumedDataResumedByKind"},"resumedAt":{"type":"string","format":"date-time"}},"required":["conversationId","resumedByKind","resumedAt"],"title":"AutomationResumedData"},"WebhooksOnGrantChangedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"creatorId":{"description":"Any type"},"change":{"description":"Any type"},"grantId":{"description":"Any type"},"groupId":{"description":"Any type"},"scopes":{"description":"Any type"},"changedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnGrantChangedPayloadContentApplicationJsonSchemaData"},"WebhooksOnAccessRevokedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"creatorId":{"description":"Any type"},"change":{"description":"Any type"},"grantId":{"description":"Any type"},"groupId":{"description":"Any type"},"reason":{"description":"Any type"},"changedAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnAccessRevokedPayloadContentApplicationJsonSchemaData"},"WebhooksOnApprovalRequestedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"approvalId":{"description":"Any type"},"creatorId":{"description":"Any type"},"operation":{"description":"Any type"},"status":{"description":"Any type"},"reason":{"description":"Any type"},"requestedAt":{"description":"Any type"},"expiresAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnApprovalRequestedPayloadContentApplicationJsonSchemaData"},"WebhooksOnApprovalDecidedPayloadContentApplicationJsonSchemaData":{"type":"object","properties":{"approvalId":{"description":"Any type"},"creatorId":{"description":"Any type"},"operation":{"description":"Any type"},"decision":{"description":"Any type"},"reason":{"description":"Any type"},"decidedAt":{"description":"Any type"},"expiresAt":{"description":"Any type"}},"description":"The event's data: references and fixed values only, never message text or amounts. The field names are listed in the [event catalogue](/webhooks/events).","title":"WebhooksOnApprovalDecidedPayloadContentApplicationJsonSchemaData"},"WebhookEndpointUnreachableDataStage":{"type":"string","enum":["WARNING","CRITICAL","DISABLED","RECOVERED"],"description":"WARNING 6 h unreachable · CRITICAL 24 h (expired cycles moved to the DLQ) · DISABLED 72 h or the breaker's failure window (re-enable the endpoint) · RECOVERED it answered again.","title":"WebhookEndpointUnreachableDataStage"},"WebhookEndpointUnreachableData":{"type":"object","properties":{"endpointId":{"type":"string"},"stage":{"$ref":"#/components/schemas/WebhookEndpointUnreachableDataStage","description":"WARNING 6 h unreachable · CRITICAL 24 h (expired cycles moved to the DLQ) · DISABLED 72 h or the breaker's failure window (re-enable the endpoint) · RECOVERED it answered again."},"failingSince":{"type":"string","format":"date-time","description":"When the episode began."},"hoursUnreachable":{"type":"integer","minimum":0},"disablesAfterHours":{"type":["integer","null"],"description":"Hours from failingSince at which the endpoint is disabled; null once it is, and for RECOVERED."}},"required":["endpointId","stage","failingSince","hoursUnreachable","disablesAfterHours"],"title":"WebhookEndpointUnreachableData"}},"securitySchemes":{"clientSecretBasic":{"type":"http","scheme":"basic","description":"Client authentication at the token and revocation endpoints with the client id and secret (`client_secret_basic`, RFC 6749, section 2.3.1). `client_secret_post` and `private_key_jwt` send the credentials in the form body instead."},"applicationOAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 client credentials. Request an access token at `POST /partner/v1/oauth/token` (`grant_type=client_credentials`) with the application's client secret or a `private_key_jwt` assertion, then send it as `Authorization: Bearer evpa_live_…` (or `evpa_test_…` for a sandbox application). Tokens are opaque and short lived (see `expires_in`); there is no refresh token. Each operation lists the scopes it requires."}}}}