Developers
Reference

Webhooks

Events pushed to integrations, and their configuration.

Event catalogue #

GET/api/public/v1/quoshop/webhooks/events
Scope : webhooks:readlistWebhookEventTypes

Events pushed to integrations, the read scope each one requires, and the schema of its data — the resource in its API form. available tells whether this key can subscribe to it.

Response 200application/json

Success.

  • itemsWebhookEventTypeDto[]required
    WebhookEventTypeDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/events' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "type": "order.created",
        "perimeter": "QUOSUITE",
        "resource": "order",
        "description": "Nouvelle commande — passée sur la vitrine ou créée par l’API.",
        "requiredScope": "orders:read",
        "dataModel": "OrderDto",
        "available": true
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Webhook configuration of the key #

GET/api/public/v1/quoshop/webhooks
Scope : webhooks:readgetWebhookConfig

Receiving endpoints of this key, verification contract and delivery policy. Each delivery carries X-QuoShop-Signature: t=<unix>,v1=<hex>, where v1 is the HMAC-SHA256 of "{t}.{raw body}" with the endpoint’s secret. Verify the signature (constant-time comparison), reject a t more than 300 s away, answer 2xx quickly (before any long processing), and ignore an event identifier already processed: an event can arrive more than once.

Response 200application/json

Success.

  • signingWebhookSigningDtorequired
    WebhookSigningDto details
  • retryWebhookRetryPolicyDtorequired
    WebhookRetryPolicyDto details
  • endpointsWebhookEndpointDto[]required

    Receiving endpoints declared by this key.

    WebhookEndpointDto details
  • maxEndpointsnumberrequired
    e.g.10
  • payloadExampleobjectrequired

    Shape of a posted event (JSON): id, type, apiVersion, perimeter, createdAt, store (QuoShop), previous (values before a change), and data — the resource in its API form.

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "signing": {
      "algorithm": "HMAC-SHA256",
      "signatureHeader": "X-QuoShop-Signature",
      "eventHeader": "X-QuoShop-Event",
      "deliveryHeader": "X-QuoShop-Delivery",
      "attemptHeader": "X-QuoShop-Attempt",
      "signedPayload": "{t}.{corps brut de la requête}",
      "toleranceSeconds": 300
    },
    "retry": {
      "maxAttempts": 8,
      "scheduleSeconds": [
        0
      ],
      "timeoutSeconds": 10,
      "autoDisableAfter": 20
    },
    "endpoints": [
      {
        "id": "0d30ec99-b83f-4a3a-8f8b-2e06a83fd895",
        "perimeter": "QUOSUITE",
        "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
        "events": [
          "string"
        ],
        "storeIds": [
          "string"
        ],
        "description": null,
        "active": true,
        "status": "ACTIVE",
        "disabledReason": null,
        "credential": {
          "id": "8d5003a2-e63c-497e-8430-e11fdd8de5f9",
          "name": "Site WooCommerce",
          "prefix": "qsh_k3v9x2m4p7r8t1wq"
        },
        "secretConfigured": true,
        "secretSetAt": "2026-10-02T09:15:00.000Z",
        "previousSecretValidUntil": null,
        "consecutiveFailures": 0,
        "lastDeliveryAt": "2026-10-02T09:15:00.000Z",
        "lastSuccessAt": "2026-10-02T09:15:00.000Z",
        "createdAt": "2026-10-02T09:15:00.000Z",
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "maxEndpoints": 10,
    "payloadExample": {}
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Declare a receiving endpoint #

POST/api/public/v1/quoshop/webhooks/endpoints
Scope : webhooks:writecreateWebhookEndpoint

Public https address and wanted events (or ["*"]). An event whose resource the key cannot read is refused (403 API_INSUFFICIENT_SCOPE): you only receive by webhook what you are allowed to read. The response carries the endpoint's signing secret (secret), shown this one time only. 10 receiving endpoints per key.

Request body application/json

  • urlstringrequired

    Public https address. Refused: internal addresses, private IPs, credentials in the address. Checked again on every delivery against the resolved address.

    e.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhook
  • eventsstring[]required

    Wanted events (GET /webhooks/events), or ["*"] for all those the key can read.

  • storesstring[]

    QuoShop: stores (identifiers or slugs) to receive events from — empty or absent: all. Refused on QuoSuite.

  • descriptionstring
    e.g.Site WooCommerce
  • activeboolean

    Inactive: nothing is sent to it. Reactivating an endpoint disabled by the platform resets its failures.

    defaulttrue

Response 201application/json

Created.

  • idstring (uuid)required
  • perimeterstringrequired
    valuesQUOSUITEQUOSHOPQUORENT
  • urlstringrequired
    e.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhook
  • eventsstring[]required
  • storeIdsstring[]required

    Stores whose events are sent (QuoShop) — empty: all.

  • descriptionstring | null
  • activebooleanrequired

    Enabled by its owner.

  • statusstringrequired

    PAUSED: disabled by its owner; DISABLED: disabled by the platform (repeated failures, 410 Gone) — see disabledReason, reactivate with active: true.

    valuesACTIVEPAUSEDDISABLED
  • disabledReasonstring | null
  • credentialWebhookCredentialRefDto | null

    Owning key; null for an endpoint declared by the workspace.

    WebhookCredentialRefDto details
  • secretConfiguredbooleanrequired

    An endpoint-specific signing secret is set.

  • secretSetAtstring | null
  • previousSecretValidUntilstring | null

    End of the grace period: until then, deliveries also carry the old secret's signature.

  • consecutiveFailuresnumberrequired
    e.g.0
  • lastDeliveryAtstring | null
  • lastSuccessAtstring | null
  • createdAtstringrequired
  • updatedAtstringrequired
  • secretstringrequired

    Signing secret of this receiving endpoint — shown only once.

    e.g.whsec_5Hk2…

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
  "events": [
    "string"
  ]
}'
Response example
{
  "success": true,
  "data": {
    "id": "efe21441-a176-4772-8bb8-44829106ca25",
    "perimeter": "QUOSUITE",
    "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
    "events": [
      "string"
    ],
    "storeIds": [
      "string"
    ],
    "description": null,
    "active": true,
    "status": "ACTIVE",
    "disabledReason": null,
    "credential": {
      "id": "8d5003a2-e63c-497e-8430-e11fdd8de5f9",
      "name": "Site WooCommerce",
      "prefix": "qsh_k3v9x2m4p7r8t1wq"
    },
    "secretConfigured": true,
    "secretSetAt": "2026-10-02T09:15:00.000Z",
    "previousSecretValidUntil": null,
    "consecutiveFailures": 0,
    "lastDeliveryAt": "2026-10-02T09:15:00.000Z",
    "lastSuccessAt": "2026-10-02T09:15:00.000Z",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z",
    "secret": "whsec_5Hk2…"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Get a receiving endpoint #

GET/api/public/v1/quoshop/webhooks/endpoints/{id}
Scope : webhooks:readgetWebhookEndpoint

State, latest deliveries, possible deactivation by the platform.

Parameters

  • idstring (uuid)pathrequired

    Receiving endpoint identifier.

Response 200application/json

Success.

  • idstring (uuid)required
  • perimeterstringrequired
    valuesQUOSUITEQUOSHOPQUORENT
  • urlstringrequired
    e.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhook
  • eventsstring[]required
  • storeIdsstring[]required

    Stores whose events are sent (QuoShop) — empty: all.

  • descriptionstring | null
  • activebooleanrequired

    Enabled by its owner.

  • statusstringrequired

    PAUSED: disabled by its owner; DISABLED: disabled by the platform (repeated failures, 410 Gone) — see disabledReason, reactivate with active: true.

    valuesACTIVEPAUSEDDISABLED
  • disabledReasonstring | null
  • credentialWebhookCredentialRefDto | null

    Owning key; null for an endpoint declared by the workspace.

    WebhookCredentialRefDto details
  • secretConfiguredbooleanrequired

    An endpoint-specific signing secret is set.

  • secretSetAtstring | null
  • previousSecretValidUntilstring | null

    End of the grace period: until then, deliveries also carry the old secret's signature.

  • consecutiveFailuresnumberrequired
    e.g.0
  • lastDeliveryAtstring | null
  • lastSuccessAtstring | null
  • createdAtstringrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "0d30ec99-b83f-4a3a-8f8b-2e06a83fd895",
    "perimeter": "QUOSUITE",
    "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
    "events": [
      "string"
    ],
    "storeIds": [
      "string"
    ],
    "description": null,
    "active": true,
    "status": "ACTIVE",
    "disabledReason": null,
    "credential": {
      "id": "8d5003a2-e63c-497e-8430-e11fdd8de5f9",
      "name": "Site WooCommerce",
      "prefix": "qsh_k3v9x2m4p7r8t1wq"
    },
    "secretConfigured": true,
    "secretSetAt": "2026-10-02T09:15:00.000Z",
    "previousSecretValidUntil": null,
    "consecutiveFailures": 0,
    "lastDeliveryAt": "2026-10-02T09:15:00.000Z",
    "lastSuccessAt": "2026-10-02T09:15:00.000Z",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Update a receiving endpoint #

PATCH/api/public/v1/quoshop/webhooks/endpoints/{id}
Scope : webhooks:writeupdateWebhookEndpoint

Address, events, stores, description, activation — partial update. active: true reactivates an endpoint disabled by the platform.

Parameters

  • idstring (uuid)pathrequired

    Receiving endpoint identifier.

Request body application/json

  • urlstring

    Public https address. Refused: internal addresses, private IPs, credentials in the address. Checked again on every delivery against the resolved address.

    e.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhook
  • eventsstring[]

    Wanted events (GET /webhooks/events), or ["*"] for all those the key can read.

  • storesstring[]

    QuoShop: stores (identifiers or slugs) to receive events from — empty or absent: all. Refused on QuoSuite.

  • descriptionstring
    e.g.Site WooCommerce
  • activeboolean

    Inactive: nothing is sent to it. Reactivating an endpoint disabled by the platform resets its failures.

    defaulttrue

Response 200application/json

Success.

  • idstring (uuid)required
  • perimeterstringrequired
    valuesQUOSUITEQUOSHOPQUORENT
  • urlstringrequired
    e.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhook
  • eventsstring[]required
  • storeIdsstring[]required

    Stores whose events are sent (QuoShop) — empty: all.

  • descriptionstring | null
  • activebooleanrequired

    Enabled by its owner.

  • statusstringrequired

    PAUSED: disabled by its owner; DISABLED: disabled by the platform (repeated failures, 410 Gone) — see disabledReason, reactivate with active: true.

    valuesACTIVEPAUSEDDISABLED
  • disabledReasonstring | null
  • credentialWebhookCredentialRefDto | null

    Owning key; null for an endpoint declared by the workspace.

    WebhookCredentialRefDto details
  • secretConfiguredbooleanrequired

    An endpoint-specific signing secret is set.

  • secretSetAtstring | null
  • previousSecretValidUntilstring | null

    End of the grace period: until then, deliveries also carry the old secret's signature.

  • consecutiveFailuresnumberrequired
    e.g.0
  • lastDeliveryAtstring | null
  • lastSuccessAtstring | null
  • createdAtstringrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X PATCH 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
  "description": "Site WooCommerce"
}'
Response example
{
  "success": true,
  "data": {
    "id": "0d30ec99-b83f-4a3a-8f8b-2e06a83fd895",
    "perimeter": "QUOSUITE",
    "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
    "events": [
      "string"
    ],
    "storeIds": [
      "string"
    ],
    "description": null,
    "active": true,
    "status": "ACTIVE",
    "disabledReason": null,
    "credential": {
      "id": "8d5003a2-e63c-497e-8430-e11fdd8de5f9",
      "name": "Site WooCommerce",
      "prefix": "qsh_k3v9x2m4p7r8t1wq"
    },
    "secretConfigured": true,
    "secretSetAt": "2026-10-02T09:15:00.000Z",
    "previousSecretValidUntil": null,
    "consecutiveFailures": 0,
    "lastDeliveryAt": "2026-10-02T09:15:00.000Z",
    "lastSuccessAt": "2026-10-02T09:15:00.000Z",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Delete a receiving endpoint #

DELETE/api/public/v1/quoshop/webhooks/endpoints/{id}
Scope : webhooks:writedeleteWebhookEndpoint

Its pending deliveries are abandoned, its log erased.

Parameters

  • idstring (uuid)pathrequired

    Receiving endpoint identifier.

Response 200application/json

Success.

  • idstring (uuid)required
  • deletedbooleanrequired
    e.g.true

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X DELETE 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "241bc3aa-2664-49aa-8a7c-be1797106e91",
    "deleted": true
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Rotate the signing secret #

POST/api/public/v1/quoshop/webhooks/endpoints/{id}/secret
Scope : webhooks:writerotateWebhookEndpointSecret

New secret, shown only once. With gracePeriodMinutes, each delivery carries two v1 signatures (old and new secret) until the end of the period: the receiver switches whenever it wants, without losing anything.

Parameters

  • idstring (uuid)pathrequired

    Receiving endpoint identifier.

Request body application/json

  • gracePeriodMinutesnumber

    Grace period (minutes, 7 days at most) during which each delivery carries two signatures — old and new secret — while the receiver is updated.

    default0min.0max.10080

Response 200application/json

Success.

  • idstring (uuid)required
  • perimeterstringrequired
    valuesQUOSUITEQUOSHOPQUORENT
  • urlstringrequired
    e.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhook
  • eventsstring[]required
  • storeIdsstring[]required

    Stores whose events are sent (QuoShop) — empty: all.

  • descriptionstring | null
  • activebooleanrequired

    Enabled by its owner.

  • statusstringrequired

    PAUSED: disabled by its owner; DISABLED: disabled by the platform (repeated failures, 410 Gone) — see disabledReason, reactivate with active: true.

    valuesACTIVEPAUSEDDISABLED
  • disabledReasonstring | null
  • credentialWebhookCredentialRefDto | null

    Owning key; null for an endpoint declared by the workspace.

    WebhookCredentialRefDto details
  • secretConfiguredbooleanrequired

    An endpoint-specific signing secret is set.

  • secretSetAtstring | null
  • previousSecretValidUntilstring | null

    End of the grace period: until then, deliveries also carry the old secret's signature.

  • consecutiveFailuresnumberrequired
    e.g.0
  • lastDeliveryAtstring | null
  • lastSuccessAtstring | null
  • createdAtstringrequired
  • updatedAtstringrequired
  • secretstringrequired

    Signing secret of this receiving endpoint — shown only once.

    e.g.whsec_5Hk2…

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9/secret' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "gracePeriodMinutes": 0
}'
Response example
{
  "success": true,
  "data": {
    "id": "efe21441-a176-4772-8bb8-44829106ca25",
    "perimeter": "QUOSUITE",
    "url": "https://boutique.exemple.tn/wp-json/quoshop/v1/webhook",
    "events": [
      "string"
    ],
    "storeIds": [
      "string"
    ],
    "description": null,
    "active": true,
    "status": "ACTIVE",
    "disabledReason": null,
    "credential": {
      "id": "8d5003a2-e63c-497e-8430-e11fdd8de5f9",
      "name": "Site WooCommerce",
      "prefix": "qsh_k3v9x2m4p7r8t1wq"
    },
    "secretConfigured": true,
    "secretSetAt": "2026-10-02T09:15:00.000Z",
    "previousSecretValidUntil": null,
    "consecutiveFailures": 0,
    "lastDeliveryAt": "2026-10-02T09:15:00.000Z",
    "lastSuccessAt": "2026-10-02T09:15:00.000Z",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z",
    "secret": "whsec_5Hk2…"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Send a test event #

POST/api/public/v1/quoshop/webhooks/endpoints/{id}/test
Scope : webhooks:writetestWebhookEndpoint

Immediately sends webhook.ping, signed like a real event, and returns the delivery (status, receiver response). A single attempt.

Parameters

  • idstring (uuid)pathrequired

    Receiving endpoint identifier.

Response 201application/json

Created.

  • idstring (uuid)required
  • eventIdstringrequired
    e.g.evt_2b7f3c9d4e5a6b7c8d9e0f1a
  • eventTypestringrequired
    e.g.order.created
  • endpointIdstring (uuid)required
  • endpointUrlstringrequired
  • statusstringrequired
    valuesPENDINGRETRYINGSUCCEEDEDFAILEDCANCELLED
  • attemptsnumberrequired
    e.g.2
  • maxAttemptsnumberrequired
    e.g.8
  • nextAttemptAtstring | null
  • lastAttemptAtstring | null
  • lastStatusCodenumber | null
    e.g.200
  • lastErrorstring | null
  • lastDurationMsnumber | null
  • deliveredAtstring | null
  • manualbooleanrequired

    Manual redelivery or test event.

  • redeliveryOfstring (uuid) | null

    Redelivered delivery.

  • createdAtstringrequired
  • payloadobjectrequired

    Body sent — exactly the signed bytes, decoded here.

  • lastResponsestring | null

    Beginning of the last response (1 KB).

  • attemptLogWebhookAttemptDto[]required
    WebhookAttemptDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9/test' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "aa64c95d-e7b5-4a62-86a1-8bbad1c60a05",
    "eventId": "evt_2b7f3c9d4e5a6b7c8d9e0f1a",
    "eventType": "order.created",
    "endpointId": "53b42df0-180e-475c-8b5f-7549904870d5",
    "endpointUrl": "string",
    "status": "PENDING",
    "attempts": 2,
    "maxAttempts": 8,
    "nextAttemptAt": "2026-10-02T09:15:00.000Z",
    "lastAttemptAt": "2026-10-02T09:15:00.000Z",
    "lastStatusCode": 200,
    "lastError": null,
    "lastDurationMs": null,
    "deliveredAt": "2026-10-02T09:15:00.000Z",
    "manual": true,
    "redeliveryOf": "1913cb68-ce65-4544-8cdc-a5891dc73c65",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "payload": {},
    "lastResponse": null,
    "attemptLog": [
      {
        "attempt": 1,
        "at": "string",
        "statusCode": 503,
        "durationMs": 182,
        "error": "réponse HTTP 503"
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Delivery log #

GET/api/public/v1/quoshop/webhooks/deliveries
Scope : webhooks:readlistWebhookDeliveries

Deliveries of this key's receiving endpoints, most recent first — status, attempts, last response. Filters: endpointId, status, eventType, eventId. Cursor pagination (limit, cursor).

Parameters

  • endpointIdstring (uuid)query

    A receiving endpoint.

  • statusstring[]query

    Statuses, comma-separated.

  • eventTypestringquery
  • eventIdstringquery
  • cursorstringquery

    Cursor pagination: nextCursor of the previous page, to be passed back as is with the same filters and the same sort. Stable even if items are created during the walk, and constant cost whatever the depth. Mutually exclusive with page.

  • limitnumberquery

    Cursor pagination: items per page (100 at most). ?limit=100 starts a cursor walk; the response returns pagination.nextCursor.

Response 200application/json

Success.

  • itemsWebhookDeliveryDto[]required
    WebhookDeliveryDto details
  • paginationPaginationDtorequired
    PaginationDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/deliveries' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "70fb7ec8-7dbf-45a0-88e6-c2f1627192d5",
        "eventId": "evt_2b7f3c9d4e5a6b7c8d9e0f1a",
        "eventType": "order.created",
        "endpointId": "9fac383d-2812-4682-8b57-6002e4253215",
        "endpointUrl": "string",
        "status": "PENDING",
        "attempts": 2,
        "maxAttempts": 8,
        "nextAttemptAt": "2026-10-02T09:15:00.000Z",
        "lastAttemptAt": "2026-10-02T09:15:00.000Z",
        "lastStatusCode": 200,
        "lastError": null,
        "lastDurationMs": null,
        "deliveredAt": "2026-10-02T09:15:00.000Z",
        "manual": true,
        "redeliveryOf": "38427665-f82b-4272-8841-4d42d223e3a5",
        "createdAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "pageSize": 25,
      "totalItems": 132,
      "totalPages": 6,
      "limit": 100,
      "nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
      "hasMore": true
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Get a delivery #

GET/api/public/v1/quoshop/webhooks/deliveries/{id}
Scope : webhooks:readgetWebhookDelivery

Body sent, attempt log, beginning of the last response.

Parameters

  • idstring (uuid)pathrequired

    Delivery identifier.

Response 200application/json

Success.

  • idstring (uuid)required
  • eventIdstringrequired
    e.g.evt_2b7f3c9d4e5a6b7c8d9e0f1a
  • eventTypestringrequired
    e.g.order.created
  • endpointIdstring (uuid)required
  • endpointUrlstringrequired
  • statusstringrequired
    valuesPENDINGRETRYINGSUCCEEDEDFAILEDCANCELLED
  • attemptsnumberrequired
    e.g.2
  • maxAttemptsnumberrequired
    e.g.8
  • nextAttemptAtstring | null
  • lastAttemptAtstring | null
  • lastStatusCodenumber | null
    e.g.200
  • lastErrorstring | null
  • lastDurationMsnumber | null
  • deliveredAtstring | null
  • manualbooleanrequired

    Manual redelivery or test event.

  • redeliveryOfstring (uuid) | null

    Redelivered delivery.

  • createdAtstringrequired
  • payloadobjectrequired

    Body sent — exactly the signed bytes, decoded here.

  • lastResponsestring | null

    Beginning of the last response (1 KB).

  • attemptLogWebhookAttemptDto[]required
    WebhookAttemptDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/deliveries/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "aa64c95d-e7b5-4a62-86a1-8bbad1c60a05",
    "eventId": "evt_2b7f3c9d4e5a6b7c8d9e0f1a",
    "eventType": "order.created",
    "endpointId": "53b42df0-180e-475c-8b5f-7549904870d5",
    "endpointUrl": "string",
    "status": "PENDING",
    "attempts": 2,
    "maxAttempts": 8,
    "nextAttemptAt": "2026-10-02T09:15:00.000Z",
    "lastAttemptAt": "2026-10-02T09:15:00.000Z",
    "lastStatusCode": 200,
    "lastError": null,
    "lastDurationMs": null,
    "deliveredAt": "2026-10-02T09:15:00.000Z",
    "manual": true,
    "redeliveryOf": "1913cb68-ce65-4544-8cdc-a5891dc73c65",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "payload": {},
    "lastResponse": null,
    "attemptLog": [
      {
        "attempt": 1,
        "at": "string",
        "statusCode": 503,
        "durationMs": 182,
        "error": "réponse HTTP 503"
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Redeliver an event #

POST/api/public/v1/quoshop/webhooks/deliveries/{id}/redeliver
Scope : webhooks:writeredeliverWebhook

New delivery of the same event (same evt_… identifier, same body) to the same receiving endpoint, with its own attempts; the first one leaves immediately. Used after a receiver has been fixed.

Parameters

  • idstring (uuid)pathrequired

    Delivery identifier.

Response 201application/json

Created.

  • idstring (uuid)required
  • eventIdstringrequired
    e.g.evt_2b7f3c9d4e5a6b7c8d9e0f1a
  • eventTypestringrequired
    e.g.order.created
  • endpointIdstring (uuid)required
  • endpointUrlstringrequired
  • statusstringrequired
    valuesPENDINGRETRYINGSUCCEEDEDFAILEDCANCELLED
  • attemptsnumberrequired
    e.g.2
  • maxAttemptsnumberrequired
    e.g.8
  • nextAttemptAtstring | null
  • lastAttemptAtstring | null
  • lastStatusCodenumber | null
    e.g.200
  • lastErrorstring | null
  • lastDurationMsnumber | null
  • deliveredAtstring | null
  • manualbooleanrequired

    Manual redelivery or test event.

  • redeliveryOfstring (uuid) | null

    Redelivered delivery.

  • createdAtstringrequired
  • payloadobjectrequired

    Body sent — exactly the signed bytes, decoded here.

  • lastResponsestring | null

    Beginning of the last response (1 KB).

  • attemptLogWebhookAttemptDto[]required
    WebhookAttemptDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/deliveries/aac39e3a-0c40-44b2-8697-b597f357c5a9/redeliver' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "aa64c95d-e7b5-4a62-86a1-8bbad1c60a05",
    "eventId": "evt_2b7f3c9d4e5a6b7c8d9e0f1a",
    "eventType": "order.created",
    "endpointId": "53b42df0-180e-475c-8b5f-7549904870d5",
    "endpointUrl": "string",
    "status": "PENDING",
    "attempts": 2,
    "maxAttempts": 8,
    "nextAttemptAt": "2026-10-02T09:15:00.000Z",
    "lastAttemptAt": "2026-10-02T09:15:00.000Z",
    "lastStatusCode": 200,
    "lastError": null,
    "lastDurationMs": null,
    "deliveredAt": "2026-10-02T09:15:00.000Z",
    "manual": true,
    "redeliveryOf": "1913cb68-ce65-4544-8cdc-a5891dc73c65",
    "createdAt": "2026-10-02T09:15:00.000Z",
    "payload": {},
    "lastResponse": null,
    "attemptLog": [
      {
        "attempt": 1,
        "at": "string",
        "statusCode": 503,
        "durationMs": 182,
        "error": "réponse HTTP 503"
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Generate the key's signing secret (deprecated) #

POST/api/public/v1/quoshop/webhooks/secret
Scope : webhooks:writeDeprecatedrotateWebhookSecret

Deprecated since 2026-10-06, removal on 2027-04-06 (410 ENDPOINT_RETIRED afterwards). Each receiving endpoint now has its own secret, returned on creation and rotatable with a grace period. Replaced by /api/public/v1/quoshop/webhooks/endpoints/{id}/secret.

Generates a whsec_… secret for the key and returns it only once. It only signs the receiving endpoints declared before each one had its own secret.

Response 201application/json

Created.

  • secretstringrequired

    Signing secret — shown only once: keep it.

    e.g.whsec_5Hk2…
  • setAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

410ENDPOINT_RETIRED

Deprecated route whose end date (Sunset) has passed: it no longer answers. Follow the Link header (rel="successor-version") announced during the deprecation.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/secret' \
  -H "Authorization: Bearer $QUOSHOP_API_KEY"
Response example
{
  "success": true,
  "data": {
    "secret": "whsec_5Hk2…",
    "setAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Generated from the QuoShop API OpenAPI contract v1.0.0.