Webhooks
Events pushed to integrations, and their configuration.
- GET
/webhooks/eventsEvent catalogue - GET
/webhooksWebhook configuration of the key - POST
/webhooks/endpointsDeclare a receiving endpoint - GET
/webhooks/endpoints/{id}Get a receiving endpoint - PATCH
/webhooks/endpoints/{id}Update a receiving endpoint - DELETE
/webhooks/endpoints/{id}Delete a receiving endpoint - POST
/webhooks/endpoints/{id}/secretRotate the signing secret - POST
/webhooks/endpoints/{id}/testSend a test event - GET
/webhooks/deliveriesDelivery log - GET
/webhooks/deliveries/{id}Get a delivery - POST
/webhooks/deliveries/{id}/redeliverRedeliver an event - POST
/webhooks/secretGenerate the key's signing secret (deprecated)
Event catalogue #
/api/public/v1/quoshop/webhooks/eventswebhooks:readlistWebhookEventTypesEvents 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[]requiredWebhookEventTypeDto 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.
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/events' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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 #
/api/public/v1/quoshop/webhookswebhooks:readgetWebhookConfigReceiving 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.
signingWebhookSigningDtorequiredWebhookSigningDto details
retryWebhookRetryPolicyDtorequiredWebhookRetryPolicyDto details
endpointsWebhookEndpointDto[]requiredReceiving endpoints declared by this key.
WebhookEndpointDto details
maxEndpointsnumberrequirede.g.10payloadExampleobjectrequiredShape of a posted event (JSON):
id,type,apiVersion,perimeter,createdAt,store(QuoShop),previous(values before a change), anddata— 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.
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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 #
/api/public/v1/quoshop/webhooks/endpointswebhooks:writecreateWebhookEndpointPublic 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
urlstringrequiredPublic 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/webhookeventsstring[]requiredWanted 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.
descriptionstringe.g.Site WooCommerceactivebooleanInactive: nothing is sent to it. Reactivating an endpoint disabled by the platform resets its failures.
defaulttrue
Response 201application/json
Created.
idstring (uuid)requiredperimeterstringrequiredvaluesQUOSUITEQUOSHOPQUORENTurlstringrequirede.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhookeventsstring[]requiredstoreIdsstring[]requiredStores whose events are sent (QuoShop) — empty: all.
descriptionstring | nullactivebooleanrequiredEnabled by its owner.
statusstringrequiredPAUSED: disabled by its owner;DISABLED: disabled by the platform (repeated failures,410 Gone) — seedisabledReason, reactivate withactive: true.valuesACTIVEPAUSEDDISABLEDdisabledReasonstring | nullcredentialWebhookCredentialRefDto | nullOwning key;
nullfor an endpoint declared by the workspace.WebhookCredentialRefDto details
secretConfiguredbooleanrequiredAn endpoint-specific signing secret is set.
secretSetAtstring | nullpreviousSecretValidUntilstring | nullEnd of the grace period: until then, deliveries also carry the old secret's signature.
consecutiveFailuresnumberrequirede.g.0lastDeliveryAtstring | nulllastSuccessAtstring | nullcreatedAtstringrequiredupdatedAtstringrequiredsecretstringrequiredSigning 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.
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"
]
}'{
"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 #
/api/public/v1/quoshop/webhooks/endpoints/{id}webhooks:readgetWebhookEndpointState, latest deliveries, possible deactivation by the platform.
Parameters
idstring (uuid)pathrequiredReceiving endpoint identifier.
Response 200application/json
Success.
idstring (uuid)requiredperimeterstringrequiredvaluesQUOSUITEQUOSHOPQUORENTurlstringrequirede.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhookeventsstring[]requiredstoreIdsstring[]requiredStores whose events are sent (QuoShop) — empty: all.
descriptionstring | nullactivebooleanrequiredEnabled by its owner.
statusstringrequiredPAUSED: disabled by its owner;DISABLED: disabled by the platform (repeated failures,410 Gone) — seedisabledReason, reactivate withactive: true.valuesACTIVEPAUSEDDISABLEDdisabledReasonstring | nullcredentialWebhookCredentialRefDto | nullOwning key;
nullfor an endpoint declared by the workspace.WebhookCredentialRefDto details
secretConfiguredbooleanrequiredAn endpoint-specific signing secret is set.
secretSetAtstring | nullpreviousSecretValidUntilstring | nullEnd of the grace period: until then, deliveries also carry the old secret's signature.
consecutiveFailuresnumberrequirede.g.0lastDeliveryAtstring | nulllastSuccessAtstring | nullcreatedAtstringrequiredupdatedAtstringrequired
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.
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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 #
/api/public/v1/quoshop/webhooks/endpoints/{id}webhooks:writeupdateWebhookEndpointAddress, events, stores, description, activation — partial update. active: true reactivates an endpoint disabled by the platform.
Parameters
idstring (uuid)pathrequiredReceiving endpoint identifier.
Request body application/json
urlstringPublic 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/webhookeventsstring[]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.
descriptionstringe.g.Site WooCommerceactivebooleanInactive: nothing is sent to it. Reactivating an endpoint disabled by the platform resets its failures.
defaulttrue
Response 200application/json
Success.
idstring (uuid)requiredperimeterstringrequiredvaluesQUOSUITEQUOSHOPQUORENTurlstringrequirede.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhookeventsstring[]requiredstoreIdsstring[]requiredStores whose events are sent (QuoShop) — empty: all.
descriptionstring | nullactivebooleanrequiredEnabled by its owner.
statusstringrequiredPAUSED: disabled by its owner;DISABLED: disabled by the platform (repeated failures,410 Gone) — seedisabledReason, reactivate withactive: true.valuesACTIVEPAUSEDDISABLEDdisabledReasonstring | nullcredentialWebhookCredentialRefDto | nullOwning key;
nullfor an endpoint declared by the workspace.WebhookCredentialRefDto details
secretConfiguredbooleanrequiredAn endpoint-specific signing secret is set.
secretSetAtstring | nullpreviousSecretValidUntilstring | nullEnd of the grace period: until then, deliveries also carry the old secret's signature.
consecutiveFailuresnumberrequirede.g.0lastDeliveryAtstring | nulllastSuccessAtstring | nullcreatedAtstringrequiredupdatedAtstringrequired
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.
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"
}'{
"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 #
/api/public/v1/quoshop/webhooks/endpoints/{id}webhooks:writedeleteWebhookEndpointIts pending deliveries are abandoned, its log erased.
Parameters
idstring (uuid)pathrequiredReceiving endpoint identifier.
Response 200application/json
Success.
idstring (uuid)requireddeletedbooleanrequirede.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.
curl -X DELETE 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"success": true,
"data": {
"id": "241bc3aa-2664-49aa-8a7c-be1797106e91",
"deleted": true
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Rotate the signing secret #
/api/public/v1/quoshop/webhooks/endpoints/{id}/secretwebhooks:writerotateWebhookEndpointSecretNew 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)pathrequiredReceiving endpoint identifier.
Request body application/json
gracePeriodMinutesnumberGrace 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)requiredperimeterstringrequiredvaluesQUOSUITEQUOSHOPQUORENTurlstringrequirede.g.https://boutique.exemple.tn/wp-json/quoshop/v1/webhookeventsstring[]requiredstoreIdsstring[]requiredStores whose events are sent (QuoShop) — empty: all.
descriptionstring | nullactivebooleanrequiredEnabled by its owner.
statusstringrequiredPAUSED: disabled by its owner;DISABLED: disabled by the platform (repeated failures,410 Gone) — seedisabledReason, reactivate withactive: true.valuesACTIVEPAUSEDDISABLEDdisabledReasonstring | nullcredentialWebhookCredentialRefDto | nullOwning key;
nullfor an endpoint declared by the workspace.WebhookCredentialRefDto details
secretConfiguredbooleanrequiredAn endpoint-specific signing secret is set.
secretSetAtstring | nullpreviousSecretValidUntilstring | nullEnd of the grace period: until then, deliveries also carry the old secret's signature.
consecutiveFailuresnumberrequirede.g.0lastDeliveryAtstring | nulllastSuccessAtstring | nullcreatedAtstringrequiredupdatedAtstringrequiredsecretstringrequiredSigning 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.
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
}'{
"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 #
/api/public/v1/quoshop/webhooks/endpoints/{id}/testwebhooks:writetestWebhookEndpointImmediately sends webhook.ping, signed like a real event, and returns the delivery (status, receiver response). A single attempt.
Parameters
idstring (uuid)pathrequiredReceiving endpoint identifier.
Response 201application/json
Created.
idstring (uuid)requiredeventIdstringrequirede.g.evt_2b7f3c9d4e5a6b7c8d9e0f1aeventTypestringrequirede.g.order.createdendpointIdstring (uuid)requiredendpointUrlstringrequiredstatusstringrequiredvaluesPENDINGRETRYINGSUCCEEDEDFAILEDCANCELLEDattemptsnumberrequirede.g.2maxAttemptsnumberrequirede.g.8nextAttemptAtstring | nulllastAttemptAtstring | nulllastStatusCodenumber | nulle.g.200lastErrorstring | nulllastDurationMsnumber | nulldeliveredAtstring | nullmanualbooleanrequiredManual redelivery or test event.
redeliveryOfstring (uuid) | nullRedelivered delivery.
createdAtstringrequiredpayloadobjectrequiredBody sent — exactly the signed bytes, decoded here.
lastResponsestring | nullBeginning of the last response (1 KB).
attemptLogWebhookAttemptDto[]requiredWebhookAttemptDto 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.
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/endpoints/aac39e3a-0c40-44b2-8697-b597f357c5a9/test' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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 #
/api/public/v1/quoshop/webhooks/deliverieswebhooks:readlistWebhookDeliveriesDeliveries 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)queryA receiving endpoint.
statusstring[]queryStatuses, comma-separated.
eventTypestringqueryeventIdstringquerycursorstringqueryCursor pagination:
nextCursorof 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 withpage.limitnumberqueryCursor pagination: items per page (100 at most).
?limit=100starts a cursor walk; the response returnspagination.nextCursor.
Response 200application/json
Success.
itemsWebhookDeliveryDto[]requiredWebhookDeliveryDto details
paginationPaginationDtorequiredPaginationDto 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.
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/deliveries' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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 #
/api/public/v1/quoshop/webhooks/deliveries/{id}webhooks:readgetWebhookDeliveryBody sent, attempt log, beginning of the last response.
Parameters
idstring (uuid)pathrequiredDelivery identifier.
Response 200application/json
Success.
idstring (uuid)requiredeventIdstringrequirede.g.evt_2b7f3c9d4e5a6b7c8d9e0f1aeventTypestringrequirede.g.order.createdendpointIdstring (uuid)requiredendpointUrlstringrequiredstatusstringrequiredvaluesPENDINGRETRYINGSUCCEEDEDFAILEDCANCELLEDattemptsnumberrequirede.g.2maxAttemptsnumberrequirede.g.8nextAttemptAtstring | nulllastAttemptAtstring | nulllastStatusCodenumber | nulle.g.200lastErrorstring | nulllastDurationMsnumber | nulldeliveredAtstring | nullmanualbooleanrequiredManual redelivery or test event.
redeliveryOfstring (uuid) | nullRedelivered delivery.
createdAtstringrequiredpayloadobjectrequiredBody sent — exactly the signed bytes, decoded here.
lastResponsestring | nullBeginning of the last response (1 KB).
attemptLogWebhookAttemptDto[]requiredWebhookAttemptDto 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.
curl 'https://quosuite.com/api/public/v1/quoshop/webhooks/deliveries/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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 #
/api/public/v1/quoshop/webhooks/deliveries/{id}/redeliverwebhooks:writeredeliverWebhookNew 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)pathrequiredDelivery identifier.
Response 201application/json
Created.
idstring (uuid)requiredeventIdstringrequirede.g.evt_2b7f3c9d4e5a6b7c8d9e0f1aeventTypestringrequirede.g.order.createdendpointIdstring (uuid)requiredendpointUrlstringrequiredstatusstringrequiredvaluesPENDINGRETRYINGSUCCEEDEDFAILEDCANCELLEDattemptsnumberrequirede.g.2maxAttemptsnumberrequirede.g.8nextAttemptAtstring | nulllastAttemptAtstring | nulllastStatusCodenumber | nulle.g.200lastErrorstring | nulllastDurationMsnumber | nulldeliveredAtstring | nullmanualbooleanrequiredManual redelivery or test event.
redeliveryOfstring (uuid) | nullRedelivered delivery.
createdAtstringrequiredpayloadobjectrequiredBody sent — exactly the signed bytes, decoded here.
lastResponsestring | nullBeginning of the last response (1 KB).
attemptLogWebhookAttemptDto[]requiredWebhookAttemptDto 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.
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/deliveries/aac39e3a-0c40-44b2-8697-b597f357c5a9/redeliver' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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) #
/api/public/v1/quoshop/webhooks/secretwebhooks:writeDeprecatedrotateWebhookSecretDeprecated 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.
secretstringrequiredSigning 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.
curl -X POST 'https://quosuite.com/api/public/v1/quoshop/webhooks/secret' \
-H "Authorization: Bearer $QUOSHOP_API_KEY"{
"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.