{
"success": true,
"data": {
"settings": null,
"webhookSecret": "Example webhookSecret"
},
"meta": {
"page": 1,
"size": 20,
"total": 135,
"limit": 20,
"offset": 0,
"hasNextPage": true,
"hasPreviousPage": false,
"nextCursor": "<string>",
"warnings": [
"<string>"
]
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}Update notification settings
Changes who gets the emails, which events you want by email and by webhook, and the address of your webhook. A key you leave out of the body is left as it was; send only what changes.
Email. emailRecipients is the list of addresses (at most five). While it is empty the emails about
invoices go to the billing emails of your billing profile (your contact email when there are none), and the
others to your contact email. The events about money and about the standing of your account are always
emailed, whatever emailEvents says; it narrows the others.
Webhook. webhookUrl is where Widgetic sends a signed POST for each event, so that your own system
can act on it (mark an invoice paid, warn your team that credits are low). The address must be https on the
standard port, on a public site, and must not redirect. Setting an address when you have no secret yet makes
one, and the answer carries it as webhookSecret: keep it now, it is shown once. webhookEvents narrows
what is sent.
Each call has a JSON body, { "id": "evt_...", "type": "invoice.paid", "createdAt": "...", "partnerId": "...", "data": { ... } } (data is the data of PartnerNotification), and these headers:
webhook-id (the same as id, and the same on every retry), webhook-timestamp (seconds since 1970) and
webhook-signature (v1, and a base64 HMAC-SHA256). It is the Standard Webhooks scheme, so any of its
libraries verifies it. By hand: take your secret without the whsec_ prefix, decode it from base64, and sign
the text <webhook-id>.<webhook-timestamp>.<the raw body> with it; the header holds v1,<base64 of the result> (two signatures separated by a space while a rotated secret overlaps). Reject a webhook-timestamp
that is more than five minutes old.
Answer with a 2xx status within ten seconds. Anything else is tried again, eight attempts in all over about
two days (listPartnerNotificationDeliveries shows each). Delivery is at least once: if your answer was lost
the same event arrives again with the same id, so drop what you have already handled by it.
Changing the settings needs an API key with full access: they decide where your notifications go. The caller must be the person who administers the partner, or a Widgetic administrator.
{
"success": true,
"data": {
"settings": null,
"webhookSecret": "Example webhookSecret"
},
"meta": {
"page": 1,
"size": 20,
"total": 135,
"limit": 20,
"offset": 0,
"hasNextPage": true,
"hasPreviousPage": false,
"nextCursor": "<string>",
"warnings": [
"<string>"
]
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}{
"success": false,
"message": "<string>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Composition not found",
"timestamp": "2026-10-15T10:00:00.000Z",
"param": "name",
"docUrl": "<string>",
"suggestedAction": "<string>",
"retryAfter": 60,
"details": {},
"correlationId": "req_123e4567-e89b-12d3-a456-426614174000"
}
}Authorizations
Headers
Optional: without it the call is carried out every time it is sent. A key of your own that names this one request; a UUID is ideal. It is 8 to 50 characters of letters, digits, - and _. Send the same key again when you retry (after a timeout, a dropped connection or a 5xx) and the call is carried out once: the retry gets the first answer back, marked X-Idempotency-Cached: true. The same key with a different body is refused with 422, and a retry that arrives while the first call is still running with 409 (see Retry-After).
8 - 50^[a-zA-Z0-9_-]{8,50}$"9b2d6f0a-3c41-4e5a-8d77-1f2e3a4b5c6d"
Body
What to change. A key you leave out is left as it was.
The events you want by email. Null for every event.
What happened. The event types you can be told about.
invoice.issued, invoice.due_soon, invoice.overdue, invoice.paid, invoice.failed, credits.low, credits.managed_user_cap_reached, partner.activated, partner.paused, partner.resumed, storage.check_failed, composition.created, composition.updated, widget.published, upload.created, entry.created, workflow.created, workflow.published, workflow.state_changed, workflow.deleted, partner.ending The events to send to your webhook. Null for every event.
What happened. The event types you can be told about.
invoice.issued, invoice.due_soon, invoice.overdue, invoice.paid, invoice.failed, credits.low, credits.managed_user_cap_reached, partner.activated, partner.paused, partner.resumed, storage.check_failed, composition.created, composition.updated, widget.published, upload.created, entry.created, workflow.created, workflow.published, workflow.state_changed, workflow.deleted, partner.ending Response
The settings were saved