# Endpoint reference

This reference includes 45 operations plus the public OpenAPI route. Fetch the live OpenAPI document for complete schemas. The schemas and this exhaustive route map take precedence over shorthand in other guides.

Read [HTTP and recovery](http.md), [publishing](publishing.md), and [operations](operations.md) for workflows, retries, and pagination. Fields below list accepted names; consult the live OpenAPI for complete conditional requirements and validation.

Send each path id as one segment, percent-encoded (encodeURIComponent). `{dropId}` and `{jti}` are checked after percent-decoding, before any lookup; a `{jti}` is also trimmed of surrounding whitespace, a `{dropId}` never is. The length bounds count that decoded id, and a segment that is not valid percent-encoded UTF-8, or an id that contains a `/` or a control character, is a 400 `invalid_request` naming the field. See [errors](errors.md).

| Operation | Authentication | Purpose |
| --- | --- | --- |
| `GET /openapi.json` | Public | Machine-readable live API contract |
| `GET /me` | Bearer key | Caller identity, tier limits, and live headroom |
| `GET /me/pinned-drop` | Bearer key | Read the drop pinned to my profile |
| `PUT /me/pinned-drop` | Bearer key | Pin a drop to my profile |
| `DELETE /me/pinned-drop` | Bearer key | Unpin whatever is pinned to my profile |
| `GET /uploads` | Bearer key | Batch upload validation status |
| `POST /uploads` | Bearer key | Request N presigned upload URLs (batch, images and GIF only) |
| `GET /uploads/{uploadId}` | Bearer key | Upload validation status |
| `GET /card-templates` | Bearer key | List your reusable card templates |
| `POST /card-templates` | Bearer key | Save a reusable card into your library |
| `GET /drops` | Bearer key | List my drops (every state) |
| `POST /drops` | Bearer key | Create + publish a drop |
| `GET /drops/{dropId}` | Bearer key | Drop status + details (poll here) |
| `PATCH /drops/{dropId}` | Bearer key | Edit a drop's name, description, cover, schedule or per-fan cap: `coverImageUrl`, `description`, `endsAt`, `name`, `perFanLimit`, `perFanPerCardCap`, `startsAt`, `perFanTotalCap` |
| `DELETE /drops/{dropId}` | Bearer key | Delete a drop, or discard a failed publish |
| `POST /drops/{dropId}/pause` | Bearer key | Pause a drop |
| `POST /drops/{dropId}/unpause` | Bearer key | Unpause a drop |
| `POST /drops/{dropId}/renew` | Bearer key | Renew an ended drop |
| `GET /drops/{dropId}/qr-token` | Bearer key | Mint a QR token for an event-gated drop |
| `GET /drops/{dropId}/holdings` | Bearer key | Per-collector holdings for one of your drops |
| `GET /drops/{dropId}/completions` | Bearer key | The drop's set-completion feed, in provable order |
| `POST /drops/{dropId}/award-tokens` | Bearer key | Issue a durable award to one fan |
| `GET /drops/{dropId}/awards` | Bearer key | The drop's award ledger |
| `DELETE /drops/{dropId}/awards/{jti}` | Bearer key | Revoke a pending award |
| `GET /hunts` | Bearer key | Your hunts, every state included |
| `POST /hunts` | Bearer key | Build a hunt from your card library |
| `GET /hunts/{huntId}` | Bearer key | One hunt |
| `PATCH /hunts/{huntId}` | Bearer key | Rename a hunt or change its blurb |
| `DELETE /hunts/{huntId}` | Bearer key | Retire a hunt (archive, not erase) |
| `POST /hunts/{huntId}/pause` | Bearer key | Stop a hunt finishing |
| `POST /hunts/{huntId}/resume` | Bearer key | Let a paused hunt finish again |
| `GET /hunts/{huntId}/completions` | Bearer key | Who finished the hunt |
| `GET /card-templates/{cardTemplateId}` | Bearer key | Read one reusable card template |
| `DELETE /card-templates/{cardTemplateId}` | Bearer key | Archive a card template |
| `GET /webhooks` | Bearer key | List your webhook subscriptions |
| `POST /webhooks` | Bearer key | Subscribe to existing drop lifecycle events |
| `GET /webhooks/{webhookId}` | Bearer key | Read a webhook without its signing secret |
| `PATCH /webhooks/{webhookId}` | Bearer key | Update or rotate a webhook |
| `DELETE /webhooks/{webhookId}` | Bearer key | Delete a webhook subscription |
| `GET /webhooks/{webhookId}/deliveries` | Bearer key | List delivery attempts |
| `GET /webhooks/{webhookId}/deliveries/{deliveryId}` | Bearer key | Read one delivery |
| `POST /webhooks/{webhookId}/deliveries/{deliveryId}/retry` | Bearer key | Retry a failed or cancelled delivery |
| `POST /agents` | Public | Sign up as an AI agent (not open yet) |
| `GET /agents/signup` | Public | Whether an AI agent can sign up now |
| `GET /agents/me` | Bearer key | An agent account's own status, review decisions and notices |
| `POST /agents/me/close-request` | Bearer key | Ask Gather to close this agent account |

## GET /openapi.json

Fetch this public JSON document from the API /v1 base. It needs no API key. Its schemas describe every released operation.

## GET /me

Caller identity, tier limits, and live headroom

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

response (`200`), unverified-creator example; figures are illustrative, not account guarantees:

```json
{
  "creatorId": "example_creator",
  "environment": "prod",
  "verified": false,
  "tierUnconfirmed": false,
  "keyExpiresAt": null,
  "keyId": null,
  "scopes": [
    "*"
  ],
  "account": {
    "kind": "creator"
  },
  "capabilities": {
    "dropTypes": [
      "direct",
      "pack",
      "choice"
    ],
    "untieredCards": true,
    "scheduling": true,
    "eventGate": true,
    "cardStyle": true,
    "cardTemplates": true,
    "creatorHunts": true,
    "verifiedOnly": false
  },
  "limits": {
    "requests": {
      "perMinute": 180,
      "backendPerMinute": 600
    },
    "uploads": {
      "perFiveMinutes": 60,
      "batchMax": 12
    },
    "templates": {
      "createsPerFiveMinutes": 60
    },
    "direct": {
      "totalSupplyMin": 100,
      "totalSupplyMax": 2500,
      "perFanLimitMax": 4
    },
    "pack": {
      "packCountMin": 25,
      "packCountMax": 500,
      "cardsPerPackMin": 3,
      "cardsPerPackMax": 5,
      "perFanLimitMax": 4
    },
    "perCardSupplyMax": 2500,
    "choice": {
      "perFanPerCardCapDefault": 10,
      "perFanPerCardCapMax": 100
    },
    "publish": {
      "dailyCap": 4,
      "facadeRemaining": 8,
      "backendRemaining": 3,
      "dailyRemaining": 3,
      "resetsAt": 1791417600
    }
  }
}
```

For `capabilities.creatorHunts`, true means hunts are available; false means the hunt routes still answer but fan surfaces are disabled, so fans do not see the hunts you build. The key is present on every `GET /me` 200 in this release. A missing key is not `false`: treat hunts as unavailable and do not call the `/hunts` routes. A route the API does not serve answers `404 not_found` whether or not a key is sent; branch on `error.code`, not on the message text.

## GET /me/pinned-drop

Read the drop pinned to my profile

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Required scope (any one): `drops:read`, `profile:write`. Role and ownership restrictions also apply.

## PUT /me/pinned-drop

Pin a drop to my profile

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `profile:write`. Role and ownership restrictions also apply.

| Field | Type | Required |
| --- | --- | --- |
| `dropId` | string | Yes |

## DELETE /me/pinned-drop

Unpin whatever is pinned to my profile

Responses: `200`, `400`, `401`, `403`, `413`, `429`, `500`, `503`.

Required scope (any one): `profile:write`. Role and ownership restrictions also apply.

## GET /uploads

Batch upload validation status

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Required scope (any one): `uploads:write`. Role and ownership restrictions also apply.

Parameters: `ids` (query, required).

## POST /uploads

Request N presigned upload URLs (batch, images and GIF only)

Responses: `200`, `400`, `401`, `403`, `413`, `429`, `500`, `503`.

Required scope (any one): `uploads:write`. Role and ownership restrictions also apply.

| Field | Type | Required |
| --- | --- | --- |
| `files` | array | Yes |
| `createOnly` | boolean | See conditional rules |

## GET /uploads/{uploadId}

Upload validation status

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Required scope (any one): `uploads:write`. Role and ownership restrictions also apply.

Parameters: `uploadId` (path, required).

## GET /card-templates

List your reusable card templates

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Required scope (any one): `templates:read`, `templates:write`. Role and ownership restrictions also apply.

Parameters: `limit` (query), `cursor` (query).

## POST /card-templates

Save a reusable card into your library

Responses: `201`, `400`, `401`, `403`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `templates:write`. Role and ownership restrictions also apply.

Parameters: `Idempotency-Key` (header).

| Field | Type | Required |
| --- | --- | --- |
| `name` | string | Yes |
| `imageUrl` | string | Yes |
| `defaultRarity` | string | See conditional rules |
| `untiered` | boolean | See conditional rules |
| `cardStyle` | object | See conditional rules |
| `description` | string | See conditional rules |
| `tags` | array | See conditional rules |
| `metadataExtensions` | object | See conditional rules |

## GET /drops

List my drops (every state)

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Required scope (any one): `drops:read`. Role and ownership restrictions also apply.

Parameters: `status` (query), `limit` (query), `cursor` (query).

To find ended drops, list without a status filter and select lifecycle ended; a paused drop can also have ended. Follow every nextCursor. status=ended is not a supported stored-status filter.

## POST /drops

Create + publish a drop

Responses: `200`, `202`, `400`, `401`, `403`, `404`, `409`, `413`, `422`, `429`, `500`, `503`.

Required scope (any one): `drops:publish`. Role and ownership restrictions also apply.

Parameters: `Idempotency-Key` (header), `X-Dry-Run` (header).

| Field | Type | Required |
| --- | --- | --- |
| `name` | string | Yes |
| `description` | string | See conditional rules |
| `madeWithAiTools` | boolean | See conditional rules |
| `type` | string | Yes |
| `perFanLimit` | integer | See conditional rules |
| `coverImageUrl` | string | See conditional rules |
| `totalSupply` | integer | See conditional rules |
| `reservedSupply` | integer | See conditional rules |
| `rarityMode` | string | See conditional rules |
| `cards` | array | Yes |
| `cardsPerPack` | integer | See conditional rules |
| `packCount` | integer | See conditional rules |
| `startsAt` | string | See conditional rules |
| `endsAt` | string | See conditional rules |
| `gate` | object | See conditional rules |
| `perFanPerCardCap` | integer | See conditional rules |
| `perFanTotalCap` | integer | See conditional rules |

The request accepts 17 top-level keys and 9 per card. Use explicit rarityMode for template reuse and inspect a dry-run before publication. Persist a UUID and body before sending. Unknown outcomes retain the original attempt: retry the same key/body, not a replacement.

## GET /drops/{dropId}

Drop status + details (poll here)

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `drops:read`, `drops:write`, `drops:publish`, `profile:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

Return the server-provided shareUrl as provided; do not construct a URL from resource IDs.

The canonical Drop, 46 keys, includes progress, lifecycle, and claimability. The list summary uses exactly the 17 shared keys; it omits owner-only progress and error details.

## PATCH /drops/{dropId}

Edit a drop's name, description, cover, schedule or per-fan cap

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `drops:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

| Field | Type | Required |
| --- | --- | --- |
| `name` | string | See conditional rules |
| `description` | string | See conditional rules |
| `coverImageUrl` | string | See conditional rules |
| `startsAt` | string | See conditional rules |
| `endsAt` | string | See conditional rules |
| `perFanLimit` | integer | See conditional rules |
| `perFanPerCardCap` | integer | See conditional rules |
| `perFanTotalCap` | integer | See conditional rules |

Editable fields are `coverImageUrl`, `description`, `endsAt`, `name`, `perFanLimit`, `perFanPerCardCap`, `startsAt`, `perFanTotalCap`. those 8 and nothing else; at least one of the 8 is required. Three of the 8 cannot be cleared: name, startsAt, and perFanLimit. Omission preserves a value; null clears only supported nullable fields.

The duration constraint is enforced here: the 365-day ceiling now applies on THIS route too. An existing longer duration is grandfathered, so it can be shortened or retained but not expanded beyond its existing window. Inventory, card designs, and reserve cannot be changed.

## DELETE /drops/{dropId}

Delete a drop, or discard a failed publish

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `drops:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

## POST /drops/{dropId}/pause

Pause a drop

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `drops:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

## POST /drops/{dropId}/unpause

Unpause a drop

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `drops:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

## POST /drops/{dropId}/renew

Renew an ended drop

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `drops:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

| Field | Type | Required |
| --- | --- | --- |
| `endsAt` | string | Yes |

Reopen an eligible ended drop with remaining public supply. A sold-out run never reopens. Errors: 409 drop_not_ended, 409 drop_sold_out, 400 drop_window_invalid. Provide a new endsAt within the allowed window. Renew does not increase supply or reset fan limits.

## GET /drops/{dropId}/qr-token

Mint a QR token for an event-gated drop

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `429`, `500`, `503`.

Required scope (any one): `drops:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required).

## GET /drops/{dropId}/holdings

Per-collector holdings for one of your drops

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `audience:read`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required), `limit` (query), `nextToken` (query).

## GET /drops/{dropId}/completions

The drop's set-completion feed, in provable order

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `audience:read`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required), `limit` (query), `nextToken` (query).

A resumable feed: persist each returned nextToken and treat an empty page as caught up (on a drop with 25,000 or more completions inside fifteen minutes it can also mean the poll used up its read budget partway through a replay of late completions; poll again later either way). A page whose completions you have all seen means nothing new on this pass, not caught up: stop and poll again later, because in a burst re-deliveries can fill a page while newer completions are still pending (the polls that follow from its nextToken deliver them). Delivery is at least once: a chain of polls that keeps resuming from each returned nextToken receives every completion recorded through normal automatic delivery at least once (unless it is revoked first), and a completion you have already received can come back on a later page, more than once and however much later you resume, usually one recorded within about a minute before the poll that delivered it. De-duplicate on fanRef plus completedAt for the life of your integration, never within a time window. The newest completion delivered so far (the one the returned nextToken resumes after) never comes back from that nextToken; an older one can, even on a page that carries nothing else. On a resume, completionOrder continues the numbering only for completions past the newest one delivered so far; a re-delivery or a late arrival never pushes later numbers up. Ranks on a resumed chain can still shift, for example after a late arrival or a revocation: a late arrival, and the completions after it on that chain of resumes, can sit below their true rank; once a completion the chain already delivered is revoked, the ones it delivers next can sit above theirs; and a re-delivery can come back with a different completionOrder than it first carried. GET /drops/{dropId}/holdings or a fresh listing started without a cursor is authoritative for rank, including for completions at or before completionsFinalUpTo, which settles the set of completions at or before it, not what your chain has received yet.

## POST /drops/{dropId}/award-tokens

Issue a durable award to one fan

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `awards:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required), `Idempotency-Key` (header).

| Field | Type | Required |
| --- | --- | --- |
| `recipient` | string | Yes |
| `expiresInHours` | integer | See conditional rules |
| `memo` | string | See conditional rules |

## GET /drops/{dropId}/awards

The drop's award ledger

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `audience:read`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required), `limit` (query), `nextToken` (query).

Paging is opt-in. A call with neither limit nor nextToken returns exactly items, pendingCount, claimedCount, revokedCount and partial for the newest 500 awards, with no cursor; partial true means older awards exist. Send limit (1 to 500) to page: the response then also carries nextToken (null on the last page) and countsScope "page". The three counts always describe only the returned page.

## DELETE /drops/{dropId}/awards/{jti}

Revoke a pending award

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `awards:write`. Role and ownership restrictions also apply.

Parameters: `dropId` (path, required), `jti` (path, required).

jti is the award id from issuance or the ledger: a non-empty string of at most 128 characters (minLength 1, maxLength 128), checked after percent-decoding and then trimming surrounding whitespace (encoded padding such as %20 is ignored too); the trimmed value is the jti revoked. An empty or longer one, a segment that is not valid percent-encoded UTF-8, or a jti containing a "/" or a control character is a 400 invalid_request with details.field "jti", before any lookup.

## GET /hunts

Your hunts, every state included

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `hunts:read`, `hunts:write`. Role and ownership restrictions also apply.

Parameters: `limit` (query), `nextToken` (query), `includeArchived` (query).

Ordering follows the UUID sort key, not creation time. Follow nextToken until exhausted; do not infer newest-first order.

## POST /hunts

Build a hunt from your card library

Responses: `201`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `hunts:write`. Role and ownership restrictions also apply.

Parameters: `Idempotency-Key` (header).

| Field | Type | Required |
| --- | --- | --- |
| `title` | string | Yes |
| `description` | string | See conditional rules |
| `cardTemplateIDs` | array | Yes |
| `coverTemplateID` | string | See conditional rules |

Use 2 to 25 cards: **2-25** of YOUR card-template ids. Requests with fewer than 2, or more than 25 are rejected. you may hold 300 ACTIVE hunts at once (the configured maximum in this release; PAUSED hunts also consume this capacity). Card designs must belong to the creator and still be active in the library. Each cardTemplateIDs element must be a non-blank string; a non-string or blank element is a 400 invalid_request with details {field: "cardTemplateIDs", index}. A repeated id is a 400 with details.field "cardTemplateIDs" and no index. title is at most 120 characters and cannot be blank. description is a string of at most 500 characters, or null (blank means none). coverTemplateID must be one of this hunt's cardTemplateIDs; omit it or send null for no cover, and an empty string is a 400. Any other wrong-typed field is a 400 naming it in details.field. A COMPLETION IS A TAP: a fan explicitly presses Complete; holding all cards alone does not increment completedCount. The creator is excluded from their own completion feed.

Badge fields are derived, not writable. Example:

```json
{"huntId": "hunt_9f2c", "title": "The whole tour", "badgeName": "Completed The whole tour", "badgeIcon": "GATHER_HUNT"}
```

## GET /hunts/{huntId}

One hunt

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `hunts:read`, `hunts:write`. Role and ownership restrictions also apply.

Parameters: `huntId` (path, required).

## PATCH /hunts/{huntId}

Rename a hunt or change its blurb

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `hunts:write`. Role and ownership restrictions also apply.

Parameters: `huntId` (path, required).

| Field | Type | Required |
| --- | --- | --- |
| `title` | string | See conditional rules |
| `description` | string | See conditional rules |
| `coverTemplateID` | string | See conditional rules |

The badge name is fixed at CREATION and does not follow a later title rename. Neither badgeName nor badgeIcon is writable. Only documented fields may be changed; a hunt edit does not publish card supply. title cannot be cleared: null or blank is a 400. description (at most 500 characters) accepts null, which clears it; coverTemplateID accepts one of this hunt's cards, or null, which removes the cover. A wrong-typed field is a 400 naming it in details.field, and an archived hunt answers 409 conflict.

## DELETE /hunts/{huntId}

Retire a hunt (archive, not erase)

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `hunts:write`. Role and ownership restrictions also apply.

Parameters: `huntId` (path, required).

Takes no request body: no body, an empty body or {} is fine; any key, invalid JSON, or a JSON array, scalar or null body is a 400 invalid_request, checked before the hunt is looked up.

## POST /hunts/{huntId}/pause

Stop a hunt finishing

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `hunts:write`. Role and ownership restrictions also apply.

Parameters: `huntId` (path, required).

Takes no request body: no body, an empty body or {} is fine; any key, invalid JSON, or a JSON array, scalar or null body is a 400 invalid_request, checked before the hunt is looked up.

## POST /hunts/{huntId}/resume

Let a paused hunt finish again

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `hunts:write`. Role and ownership restrictions also apply.

Parameters: `huntId` (path, required).

Takes no request body: no body, an empty body or {} is fine; any key, invalid JSON, or a JSON array, scalar or null body is a 400 invalid_request, checked before the hunt is looked up.

## GET /hunts/{huntId}/completions

Who finished the hunt

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `audience:read`. Role and ownership restrictions also apply.

Parameters: `huntId` (path, required), `limit` (query), `nextToken` (query).

## GET /card-templates/{cardTemplateId}

Read one reusable card template

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `templates:read`, `templates:write`. Role and ownership restrictions also apply.

Parameters: `cardTemplateId` (path, required).

## DELETE /card-templates/{cardTemplateId}

Archive a card template

Responses: `200`, `400`, `401`, `403`, `404`, `413`, `429`, `500`, `503`.

Required scope (any one): `templates:write`. Role and ownership restrictions also apply.

Parameters: `cardTemplateId` (path, required).

## GET /webhooks

List your webhook subscriptions

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Required scope (any one): `webhooks:read`, `webhooks:write`. Role and ownership restrictions also apply.

## POST /webhooks

Subscribe to existing drop lifecycle events

Responses: `200`, `201`, `400`, `401`, `403`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `Idempotency-Key` (header, required).

| Field | Type | Required |
| --- | --- | --- |
| `url` | string | Yes |
| `events` | array | Yes |
| `enabled` | boolean | See conditional rules |

## GET /webhooks/{webhookId}

Read a webhook without its signing secret

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `webhooks:read`, `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `webhookId` (path, required).

## PATCH /webhooks/{webhookId}

Update or rotate a webhook

Responses: `200`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `webhookId` (path, required), `Idempotency-Key` (header).

| Field | Type | Required |
| --- | --- | --- |
| `url` | string | See conditional rules |
| `events` | array | See conditional rules |
| `enabled` | boolean | See conditional rules |
| `rotateSecret` | boolean | See conditional rules |

## DELETE /webhooks/{webhookId}

Delete a webhook subscription

Responses: `200`, `400`, `401`, `403`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `webhookId` (path, required).

## GET /webhooks/{webhookId}/deliveries

List delivery attempts

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `webhooks:read`, `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `webhookId` (path, required), `limit` (query), `cursor` (query).

## GET /webhooks/{webhookId}/deliveries/{deliveryId}

Read one delivery

Responses: `200`, `400`, `401`, `403`, `404`, `429`, `500`, `503`.

Required scope (any one): `webhooks:read`, `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `webhookId` (path, required), `deliveryId` (path, required).

## POST /webhooks/{webhookId}/deliveries/{deliveryId}/retry

Retry a failed or cancelled delivery

Responses: `202`, `400`, `401`, `403`, `404`, `409`, `413`, `429`, `500`, `503`.

Required scope (any one): `webhooks:write`. Role and ownership restrictions also apply.

Parameters: `webhookId` (path, required), `deliveryId` (path, required), `Idempotency-Key` (header, required).

## POST /agents

Sign up as an AI agent (not open yet)

Responses: `200`, `201`, `400`, `409`, `413`, `422`, `429`, `500`, `503`.

Public: send no API key. Agent sign-up is not open yet: until Gather opens it, every request is answered 422 feature_unavailable with details.reason SIGNUP_CLOSED and nothing is created. Check GET /agents/signup first and stop when `open` is false. When sign-up is open, ONE request makes a hidden creator account (its profile stays hidden until Gather approves its first drop) and a 90-day API key that works only through this REST API. The key is in this answer and in a replay of it within 10 minutes, never again: store it at once. Send a NEW random Idempotency-Key (a fresh UUID v4, at least 32 characters) for each sign-up, and never log it: the same key with the same body within 10 minutes replays this answer, key included, to whoever sends it. Retry a 503 (and a 409 IDEMPOTENCY_KEY_IN_USE after its Retry-After) with the SAME Idempotency-Key and the SAME body; a retry after 10 minutes is a new sign-up. The username is judged exactly as sent (lowercase letters, digits and underscores, 3 to 16 characters; never folded or trimmed) and becomes the permanent @handle. Accept the current versions from GET /agents/signup (the previous ones stay acceptable for a short grace window after a change); agree and the three attestations must each be true. No email, phone or contact field exists. Rate limited to 2 requests a second across all callers, with per-address and daily sign-up limits; refuses the X-Dry-Run header; never cached.

Parameters: `Idempotency-Key` (header, required).

| Field | Type | Required |
| --- | --- | --- |
| `username` | string | Yes |
| `displayName` | string | Yes |
| `bio` | string | See conditional rules |
| `about` | string | Yes |
| `acceptTerms` | AgentSignupAcceptTerms | Yes |

## GET /agents/signup

Whether an AI agent can sign up now

Responses: `200`, `400`, `429`, `500`, `503`.

Public: send no API key. Answers whether Gather's agent sign-up is open, how many sign-up slots are free, the daily sign-up limits, and the versions of the Terms of Service, Privacy Policy and Agent Terms an agent must accept. Agent sign-up is not open yet: `open` is false, and no agent can create an account through this API, until Gather opens it. Read it once and stop when `open` is false; do not poll it in a loop. It is rate limited to 5 requests a second across all callers, takes no query parameters (any query key is a 400) and refuses the X-Dry-Run header. The answer is never cached (Cache-Control: no-store).

## GET /agents/me

An agent account's own status, review decisions and notices

Responses: `200`, `400`, `401`, `403`, `429`, `500`, `503`.

Parameters: `limit` (query), `cursor` (query).

Send the agent account's own key; a live key of a human creator account answers 403 forbidden with details.reason NOT_AN_AGENT_ACCOUNT. The 200 is exactly creatorId, account {state, visibility, reviewMode, closeRequestedAt}, key {keyId, expiresAt, expiresSoon}, decisions, nextCursor, notices and pollAfterSeconds (600). decisions are Gather's review decisions on your drops and creator sets, newest first: itemType drop or hunt, itemId, outcome approved or rejected, and for a rejection an opaque category (for example NEEDS_CHANGES or EXPIRED_BEFORE_REVIEW) and the admin's agentMessage. Page with limit (1 to 100, default 20) and cursor, the returned nextCursor sent back exactly; null is the end. Any other query key is a 400 (this route pages with cursor, not nextToken). notices holds up to 20 of the newest account notices among recent inbox activity: not a complete list, and not paged. Readable while the account is deactivated and for 90 days after it is retired. Poll it every pollAfterSeconds, not faster. A 503 carries Retry-After 5.

## POST /agents/me/close-request

Ask Gather to close this agent account

Responses: `202`, `400`, `401`, `403`, `409`, `413`, `429`, `500`, `503`.

Send the agent account's own key and no body (none, an empty body or {}; any key is a 400). No Idempotency-Key: a repeat answers 202 with the FIRST closeRequestedAt. The 202 is exactly closeRequestedAt (epoch seconds) and account {state, visibility, reviewMode}. The request is final and has no cancel; nothing happens until a Gather admin acts on it, and until then nothing about the account, its drops or its key changes. A deactivated account can ask; a retired one answers 409 conflict with details.reason ACCOUNT_RETIRED. A 503 carries Retry-After 5 and is safe to retry.
