For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Outbound webhooks for events in your account. Payloads are HMAC-signed and failed deliveries are retried for up to 72 hours. The delivery log is kept for 30 days and any delivery can be replayed.

List webhook endpoints.

get

Returns all webhook endpoints for the account. Outbound delivery is not active yet (delivery_active: false) β€” see createWebhook. Common filters: ?filter[status]=active, ?filter[url]=<substring>.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

limitinteger Β· min: 1 Β· max: 100Optional

Page size. Default 25, max 100.

Default: 25
cursorstringOptional

Opaque cursor from a prior response's next_cursor, to fetch the NEXT page (alias - after). On listContacts and listSegmentContacts, use before with a prev_cursor to page backward; other list endpoints are forward-only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Responses
200

A page of webhook endpoints.

application/json
objectconst: listRequired
has_morebooleanRequired

True if additional records exist beyond this page.

next_cursorstring Β· nullableRequired

Opaque cursor for the next page. Null on the last page.

prev_cursorstring Β· nullableRequired

Cursor for the previous page. Supported on listContacts and listSegmentContacts: pass it back as ?before=... to page backward; null on the first page. On every other list endpoint paging is forward-only and this is always null.

get/webhooks
GET /v3/webhooks HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

A page of webhook endpoints.

{
  "object": "text",
  "data": [
    {
      "id": "whk_01H8XL4...",
      "object": "text",
      "url": "https://example.com",
      "status": "active",
      "delivery_active": true,
      "events": [
        "contact.created",
        "contact.updated",
        "opportunity.*"
      ],
      "description": "text",
      "api_version": "text",
      "signing_secret_last4": "text",
      "created_at": "2026-05-27T14:23:11.482Z",
      "updated_at": "2026-05-27T14:23:11.482Z",
      "last_delivery_at": "2026-05-27T14:23:11.482Z",
      "last_delivery_status": "text"
    }
  ],
  "has_more": true,
  "next_cursor": "text",
  "prev_cursor": "text"
}

Create a webhook endpoint.

post

Not active yet. Outbound delivery has not launched: subscriptions are stored, but no events are sent and no deliveries are recorded. Every webhook response carries delivery_active: false, and create/update add a webhook_delivery_not_active warning. Do not build integrations on it yet.

Creates a new webhook subscription. The response includes the signing_secret β€” this is the only time it's ever returned. Store it; rotate via POST /v3/webhooks/{id}/rotate_secret if lost. Verify each incoming delivery's Gleantap-Signature header (HMAC-SHA256 of the raw body).

Requires the destination URL and which events to send. Optional fields fall back to a server-side default when omitted. That includes the workroom: an omitted workroom resolves to the account default, and a record created in the wrong workroom is invisible where it was expected. Half-specified records are created successfully and then have to be hunted down and fixed by hand.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Idempotency-Keystring Β· max: 255Optional

A unique key (≀255 chars) chosen by the client. Replays with the same key + same body return the cached response. Replays with the same key + different body return 409 idempotency_conflict. Required on messaging sends and bulk operations; recommended elsewhere.

Example: 8e3c7a90-7c4d-4f8e-8e3c-7a907c4d4f8e
Body
urlstring Β· uriRequired

HTTPS URL. Localhost and private IPs (10.x, 172.16-31.x, 192.168.x) are rejected on prod.

eventsstring[] Β· min: 1Required

Event types to subscribe to. Wildcards allowed (contact.*, opportunity.*, *).

descriptionstring Β· max: 500Optional
api_versionstringOptional

Optional. Defaults to the account's currently-pinned version.

Pattern: ^\d{4}-\d{2}-\d{2}$
Responses
201

Endpoint created. Includes signing_secret β€” save it now.

application/json
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
objectconst: webhookRequired
urlstring Β· uriRequired

HTTPS URL to POST events to. HTTP is rejected.

statusstring Β· enumRequiredPossible values:
delivery_activebooleanOptional

Always false for now β€” outbound delivery has not launched, so no events are sent regardless of status.

eventsstring[]Required

Event types this endpoint subscribes to. Wildcards supported: contact.*, campaign.*. See the main spec Β§6.25 event catalog for the full list. Use ["*"] to subscribe to everything.

Example: ["contact.created","contact.updated","opportunity.*"]
descriptionstring Β· max: 500 Β· nullableOptional
api_versionstringRequired

The Gleantap-Version this endpoint's payloads will be rendered against. Payload shapes are frozen to this version even as newer versions ship.

Pattern: ^\d{4}-\d{2}-\d{2}$
signing_secret_last4stringOptional

Last 4 chars of the current signing secret, for identification. The full secret is returned only on create and rotate.

created_atstring Β· date-timeRequired

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
updated_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_atstring Β· date-time Β· nullableOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_statusstring Β· nullableOptional

Status of the most recent delivery attempt (success, failed, disabled_backoff).

signing_secretstringOptional

The signing secret. Only returned once, at creation. Store it β€” you cannot retrieve it again. Rotate via POST /v3/webhooks/{id}/rotate_secret if lost.

post/webhooks
POST /v3/webhooks HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 177

{
  "url": "https://example.com/hooks/gleantap",
  "events": [
    "contact.created",
    "contact.updated",
    "contact.deleted"
  ],
  "description": "Sync contacts to our CRM",
  "api_version": "2026-05-27"
}
{
  "id": "whk_01H8XL4...",
  "object": "text",
  "url": "https://example.com",
  "status": "active",
  "delivery_active": true,
  "events": [
    "contact.created",
    "contact.updated",
    "opportunity.*"
  ],
  "description": "text",
  "api_version": "text",
  "signing_secret_last4": "text",
  "created_at": "2026-05-27T14:23:11.482Z",
  "updated_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_status": "text",
  "signing_secret": "text"
}

Retrieve a webhook endpoint.

get

Fetch a single endpoint. The signing_secret field is never included; only signing_secret_last4.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Responses
200

The webhook endpoint.

application/json
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
objectconst: webhookRequired
urlstring Β· uriRequired

HTTPS URL to POST events to. HTTP is rejected.

statusstring Β· enumRequiredPossible values:
delivery_activebooleanOptional

Always false for now β€” outbound delivery has not launched, so no events are sent regardless of status.

eventsstring[]Required

Event types this endpoint subscribes to. Wildcards supported: contact.*, campaign.*. See the main spec Β§6.25 event catalog for the full list. Use ["*"] to subscribe to everything.

Example: ["contact.created","contact.updated","opportunity.*"]
descriptionstring Β· max: 500 Β· nullableOptional
api_versionstringRequired

The Gleantap-Version this endpoint's payloads will be rendered against. Payload shapes are frozen to this version even as newer versions ship.

Pattern: ^\d{4}-\d{2}-\d{2}$
signing_secret_last4stringOptional

Last 4 chars of the current signing secret, for identification. The full secret is returned only on create and rotate.

created_atstring Β· date-timeRequired

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
updated_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_atstring Β· date-time Β· nullableOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_statusstring Β· nullableOptional

Status of the most recent delivery attempt (success, failed, disabled_backoff).

get/webhooks/{id}
GET /v3/webhooks/{id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "whk_01H8XL4...",
  "object": "text",
  "url": "https://example.com",
  "status": "active",
  "delivery_active": true,
  "events": [
    "contact.created",
    "contact.updated",
    "opportunity.*"
  ],
  "description": "text",
  "api_version": "text",
  "signing_secret_last4": "text",
  "created_at": "2026-05-27T14:23:11.482Z",
  "updated_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_status": "text"
}

Update a webhook endpoint.

patch

Change URL, events, status, or api_version. Changing api_version re-renders subsequent payloads against the new version (existing queued deliveries are not re-rendered). Setting status: "disabled" halts new deliveries; already-queued attempts still process.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Body

Partial update. URL, events, and status are all editable. Changing api_version re-renders subsequent payloads against the new version.

urlstring Β· uriOptional
eventsstring[]Optional
statusstring Β· enumOptionalPossible values:
descriptionstring Β· max: 500 Β· nullableOptional
api_versionstringOptionalPattern: ^\d{4}-\d{2}-\d{2}$
Responses
200

Updated.

application/json
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
objectconst: webhookRequired
urlstring Β· uriRequired

HTTPS URL to POST events to. HTTP is rejected.

statusstring Β· enumRequiredPossible values:
delivery_activebooleanOptional

Always false for now β€” outbound delivery has not launched, so no events are sent regardless of status.

eventsstring[]Required

Event types this endpoint subscribes to. Wildcards supported: contact.*, campaign.*. See the main spec Β§6.25 event catalog for the full list. Use ["*"] to subscribe to everything.

Example: ["contact.created","contact.updated","opportunity.*"]
descriptionstring Β· max: 500 Β· nullableOptional
api_versionstringRequired

The Gleantap-Version this endpoint's payloads will be rendered against. Payload shapes are frozen to this version even as newer versions ship.

Pattern: ^\d{4}-\d{2}-\d{2}$
signing_secret_last4stringOptional

Last 4 chars of the current signing secret, for identification. The full secret is returned only on create and rotate.

created_atstring Β· date-timeRequired

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
updated_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_atstring Β· date-time Β· nullableOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_statusstring Β· nullableOptional

Status of the most recent delivery attempt (success, failed, disabled_backoff).

patch/webhooks/{id}
PATCH /v3/webhooks/{id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 107

{
  "url": "https://example.com",
  "events": [
    "text"
  ],
  "status": "active",
  "description": "text",
  "api_version": "text"
}
{
  "id": "whk_01H8XL4...",
  "object": "text",
  "url": "https://example.com",
  "status": "active",
  "delivery_active": true,
  "events": [
    "contact.created",
    "contact.updated",
    "opportunity.*"
  ],
  "description": "text",
  "api_version": "text",
  "signing_secret_last4": "text",
  "created_at": "2026-05-27T14:23:11.482Z",
  "updated_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_status": "text"
}

Delete a webhook endpoint.

delete

Removes the endpoint. Already-queued deliveries are canceled. Delivery history is retained for the standard 30 days.

Permanent. There is no undo and no trash to restore from. Anything that references the deleted record is affected too.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Responses
204

Deleted.

No content

delete/webhooks/{id}
DELETE /v3/webhooks/{id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Rotate the signing secret.

post

Generates a new signing secret and returns it β€” this is the only time it's returned. The previous secret remains valid for a 24h grace window (both signatures accepted). Rotate your consumer to the new secret within that window.

Breaks live integrations. Anything using the current secret stops working the moment this is called, until it is updated with the new one.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Responses
200

Secret rotated. Save the new one.

application/json
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
objectconst: webhookRequired
urlstring Β· uriRequired

HTTPS URL to POST events to. HTTP is rejected.

statusstring Β· enumRequiredPossible values:
delivery_activebooleanOptional

Always false for now β€” outbound delivery has not launched, so no events are sent regardless of status.

eventsstring[]Required

Event types this endpoint subscribes to. Wildcards supported: contact.*, campaign.*. See the main spec Β§6.25 event catalog for the full list. Use ["*"] to subscribe to everything.

Example: ["contact.created","contact.updated","opportunity.*"]
descriptionstring Β· max: 500 Β· nullableOptional
api_versionstringRequired

The Gleantap-Version this endpoint's payloads will be rendered against. Payload shapes are frozen to this version even as newer versions ship.

Pattern: ^\d{4}-\d{2}-\d{2}$
signing_secret_last4stringOptional

Last 4 chars of the current signing secret, for identification. The full secret is returned only on create and rotate.

created_atstring Β· date-timeRequired

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
updated_atstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_atstring Β· date-time Β· nullableOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
last_delivery_statusstring Β· nullableOptional

Status of the most recent delivery attempt (success, failed, disabled_backoff).

signing_secretstringOptional

New signing secret. Old secret remains valid for a 24h grace window (both signatures are computed and both accepted); rotate your consumer to the new secret within that window.

previous_secret_valid_untilstring Β· date-timeOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
post/webhooks/{id}/rotate_secret
POST /v3/webhooks/{id}/rotate_secret HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "whk_01H8XL4...",
  "object": "text",
  "url": "https://example.com",
  "status": "active",
  "delivery_active": true,
  "events": [
    "contact.created",
    "contact.updated",
    "opportunity.*"
  ],
  "description": "text",
  "api_version": "text",
  "signing_secret_last4": "text",
  "created_at": "2026-05-27T14:23:11.482Z",
  "updated_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_at": "2026-05-27T14:23:11.482Z",
  "last_delivery_status": "text",
  "signing_secret": "text",
  "previous_secret_valid_until": "2026-05-27T14:23:11.482Z"
}

List recent delivery attempts for an endpoint.

get

Paginated list of delivery attempts, most recent first. Retention: 30 days. Common filters: ?filter[status]=failed, ?filter[event_type]=contact.created, ?filter[created_at][gte]=....

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

limitinteger Β· min: 1 Β· max: 100Optional

Page size. Default 25, max 100.

Default: 25
cursorstringOptional

Opaque cursor from a prior response's next_cursor, to fetch the NEXT page (alias - after). On listContacts and listSegmentContacts, use before with a prev_cursor to page backward; other list endpoints are forward-only.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Responses
200

A page of deliveries.

application/json
objectconst: listRequired
has_morebooleanRequired

True if additional records exist beyond this page.

next_cursorstring Β· nullableRequired

Opaque cursor for the next page. Null on the last page.

prev_cursorstring Β· nullableRequired

Cursor for the previous page. Supported on listContacts and listSegmentContacts: pass it back as ?before=... to page backward; null on the first page. On every other list endpoint paging is forward-only and this is always null.

get/webhooks/{id}/deliveries
GET /v3/webhooks/{id}/deliveries HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "object": "text",
  "data": [
    {
      "id": "whd_01H8XL5...",
      "object": "text",
      "webhook_id": "whk_01H8XL4...",
      "event_id": "text",
      "event_type": "contact.created",
      "status": "pending",
      "attempt": 1,
      "request": {
        "url": "text",
        "headers": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "body_sample": "text"
      },
      "response": {
        "status_code": 1,
        "headers": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "body_sample": "text"
      },
      "duration_ms": 1,
      "error": "text",
      "next_retry_at": "2026-05-27T14:23:11.482Z",
      "created_at": "2026-05-27T14:23:11.482Z",
      "completed_at": "2026-05-27T14:23:11.482Z"
    }
  ],
  "has_more": true,
  "next_cursor": "text",
  "prev_cursor": "text"
}

Retrieve a webhook delivery.

get

Fetch a single delivery attempt, including request/response samples and any error.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whd_01H8XL5...Pattern: ^whd_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Responses
200

The delivery.

application/json
idstringRequiredExample: whd_01H8XL5...Pattern: ^whd_[0-9A-HJKMNP-TV-Z]{26}$
objectconst: webhook_deliveryRequired
webhook_idstringRequiredExample: whk_01H8XL4...Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
event_idstringOptional

The event this delivery represents.

event_typestringRequiredExample: contact.created
statusstring Β· enumRequiredPossible values:
attemptinteger Β· min: 1Required

Which delivery attempt this record represents (1-indexed).

duration_msinteger Β· nullableOptional
errorstring Β· nullableOptional

Failure reason when applicable (network timeout, TLS error, 5xx status).

next_retry_atstring Β· date-time Β· nullableOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
created_atstring Β· date-timeRequired

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
completed_atstring Β· date-time Β· nullableOptional

RFC 3339 timestamp, always UTC, millisecond precision.

Example: 2026-05-27T14:23:11.482Z
get/webhook_deliveries/{id}
GET /v3/webhook_deliveries/{id} HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "whd_01H8XL5...",
  "object": "text",
  "webhook_id": "whk_01H8XL4...",
  "event_id": "text",
  "event_type": "contact.created",
  "status": "pending",
  "attempt": 1,
  "request": {
    "url": "text",
    "headers": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "body_sample": "text"
  },
  "response": {
    "status_code": 1,
    "headers": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "body_sample": "text"
  },
  "duration_ms": 1,
  "error": "text",
  "next_retry_at": "2026-05-27T14:23:11.482Z",
  "created_at": "2026-05-27T14:23:11.482Z",
  "completed_at": "2026-05-27T14:23:11.482Z"
}

Manually retry a delivery.

post

Not active yet β€” returns 501 webhook_delivery_not_active and queues nothing, because outbound delivery has not launched (see createWebhook). Once it has, this will enqueue a fresh attempt for the same event with attempt: 1.

Authorizations
AuthorizationstringRequired

The API Secret from the Gleantap dashboard under Settings β†’ API (Generate New Key if none exists). Send it bare (40 hex characters) or prefixed as gltp_sk_live_<40-hex>. There is no sandbox: every key acts on the live account.

Keys are account-scoped and carry all permissions on that account (no per-key scope selection). Cross-workroom reads are unrestricted by default β€” narrow with ?workroom= / Gleantap-Workroom on each request. Revoke via the dashboard.

For per-user consent, per-workroom scoping, and short-lived tokens, use OAuth 2.1 instead.

Path parameters
idstringRequiredExample: whd_01H8XL5...Pattern: ^whd_[0-9A-HJKMNP-TV-Z]{26}$
Query parameters
workroomstringOptional

Same semantics as the Gleantap-Workroom header, including that a write should never be sent without a workroom the user actually chose, and that an omitted workroom scopes a read to the account default rather than spanning the account. Prefer this on GETs so proxies and caches can key on it. Accepts name, prefixed ID, raw hex, or all.

Header parameters
Gleantap-VersionstringOptional

Minor version to run the request under (date-based). Older dates remain supported for at least 24 months. If omitted, the account's default pinned version is used.

Example: 2026-05-27Pattern: ^\d{4}-\d{2}-\d{2}$
Gleantap-AccountstringOptional

Target customer account, as acc_<24-hex> or a bare 24-hex ID. Only for Gleantap staff (CSM) tokens, which authenticate against the internal staff directory and are bound to no account; for a normal customer token the account is fixed by the token and this header is ignored.

A staff token MUST name an account on every request β€” there is no default, and omitting it returns 400 admin_account_required rather than falling back to some first account. Switching accounts is just a different value here; no re-authorization. Account names are rejected (400 admin_account_invalid) because they are neither unique nor stable β€” list IDs with GET /v3/accounts.

Every impersonated response carries an impersonation block naming the account actually acted on, so an account switch mid-session is always visible. Also settable via ?account=.

Example: acc_59fca1e3d2a57d28a10b0442
Gleantap-WorkroomstringOptional

Which workroom to act in. Accepts a workroom name (case-insensitive), a prefixed ID (wrm_<hex>), a raw 24-hex ID, or the literal all.

On any write, ask the user which workroom β€” do not omit this. Optional here means the server has a fallback, not that the fallback is what anyone wanted: an omitted workroom sends the write to the account's default workroom, and accounts routinely have dozens. Creating a contact, flow, campaign or segment in the wrong workroom puts it where nobody is looking, and moving it afterwards is manual.

The one case where you need not ask: the account has exactly one workroom. Call listWorkrooms to find out β€” if it returns a single row, use it; if it returns several, ask which one before writing.

Reads are scoped too. Omitting a workroom on a read does not span the account β€” it narrows to the same default workroom a write would go to, and the response carries a workroom_defaulted warning saying so. So a count, a list or a segment preview describes one workroom unless you said otherwise. Pass all to deliberately span every workroom; that is the only way to get account-wide figures, and it is never the default. listWorkrooms itself is never narrowed, since it is how you discover what to ask for.

Also settable via ?workroom= or a workroom body field (POST/PATCH only) β€” query wins over header wins over body.

Example: G Test1
Idempotency-Keystring Β· max: 255Optional

A unique key (≀255 chars) chosen by the client. Replays with the same key + same body return the cached response. Replays with the same key + different body return 409 idempotency_conflict. Required on messaging sends and bulk operations; recommended elsewhere.

Example: 8e3c7a90-7c4d-4f8e-8e3c-7a907c4d4f8e
Responses
404

The resource doesn't exist or isn't visible to this caller.

application/problem+json

RFC 9457 Problem Details with Gleantap extensions. Every error response follows this shape. Handle by inspecting the code field (not the human-readable title or detail), which is stable across versions.

typestring Β· uriRequired

URL to the human-readable error documentation.

Example: https://docs.gleantap.com/errors/contact_not_found
titlestringRequired

Short human-readable summary.

Example: Contact not found
statusintegerRequired

HTTP status code repeated in the body for convenience.

detailstring Β· nullableOptional

Longer human-readable explanation. May be null.

codestringRequired

Machine-readable error code. This is the field to switch on programmatically. Standard values include: authentication_required, invalid_credentials, permission_denied, scope_required, resource_not_found, validation_error, invalid_field, missing_field, idempotency_conflict, rate_limited, quota_exceeded, internal_error, service_unavailable, feature_not_enabled, compliance_block, version_conflict.

Example: contact_not_found
request_idstringRequired

The X-Request-ID for this response. Include when reporting issues.

Example: req_01H8XL9K2X5F...
post/webhook_deliveries/{id}/redeliver
POST /v3/webhook_deliveries/{id}/redeliver HTTP/1.1
Host: api.gleantap.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "type": "https://docs.gleantap.com/errors/contact_not_found",
  "title": "Contact not found",
  "status": 1,
  "detail": "text",
  "code": "contact_not_found",
  "request_id": "req_01H8XL9K2X5F...",
  "errors": [
    {
      "field": "email",
      "code": "invalid_format",
      "message": "Must be a valid email address."
    }
  ]
}