> ## Documentation Index
> Fetch the complete documentation index at: https://docs.widgetic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks and events

> When Widgetic calls your server, with partner webhooks for your account and your customers and MCP events for the entries visitors send

Instead of asking Widgetic again and again whether something happened, let it tell you. Widgetic sends a signed `POST` with a JSON body to an address on your server, and your code does the rest. There are two sources. They are for different accounts and are turned on in different ways, but a call from either one looks alike and is checked in the same way.

> [card] [Partner webhooks](https://docs.widgetic.com/docs/webhooks/partner-webhooks.md)
>
> For partner accounts. Invoices, credits, the standing of your account, and what your customers make: compositions, widgets, uploads, entries and workflows.

> [card] [MCP events](https://docs.widgetic.com/docs/webhooks/mcp-events.md)
>
> For any workspace on a plan with API access. Be called when a visitor sends an entry (a vote, an RSVP, a form answer) into one of your published widgets.

## Which one do you need?

| | Partner webhooks | MCP events |
| - | - | - |
| Who can use it | A [partner account](https://docs.widgetic.com/docs/api-keys.md#what-makes-a-key-a-partner-key) | Any workspace on a plan with API access |
| How you turn it on | Save a `webhookUrl` in your notification settings, with the API | Call `events/subscribe` on the [MCP server](https://docs.widgetic.com/docs/agents/overview.md) |
| What you are told | [The events of a partner account](https://docs.widgetic.com/docs/webhooks/events.md): invoices, credits, standing, storage, and what your customers do | `submission.created`: an entry arrived in one of your widgets |
| Who makes the secret | Widgetic, and it shows it to you once | You |
| How long it lasts | Until you switch it off | 7 days unless you ask for another time. Refresh it before it ends |
| Tries for a call | 8, over about 45 hours | The first try and 3 retries |
| Time to answer | 10 seconds | 10 seconds |
| If you miss events | Send a delivery again from the delivery log | Catch up with the `cursor` |
| Page | [Partner webhooks](https://docs.widgetic.com/docs/webhooks/partner-webhooks.md) | [MCP events](https://docs.widgetic.com/docs/webhooks/mcp-events.md) |

A workspace that is not a partner has no webhook for its own invoices, credits or widgets: read them with the [API](https://docs.widgetic.com/api-reference/introduction.md). It can be told when a visitor sends an entry, with MCP events.

## What both have in common

* **The same signature.** Every call carries `webhook-id`, `webhook-timestamp` and `webhook-signature`, made as the [Standard Webhooks](https://www.standardwebhooks.com) scheme says, so any of its libraries can check it. [Verify signatures](https://docs.widgetic.com/docs/webhooks/verify-signatures.md) has the check in TypeScript, Python, Go, Java, C#, Ruby and PHP.
* **At least once.** If your answer is lost, the same event arrives again with the same `webhook-id`. Keep the ids you handled and drop a repeat.
* **A quick `2xx`.** Answer with any `2xx` status and do the work afterwards. Anything else, and no answer in time, counts as a failure and is tried again.
* **A safe address.** `https`, on the standard port, the name of a public website, no redirect. Widgetic refuses an address that does not meet these terms.
* **Facts, not content.** A call tells you what happened and where to read it. The values a visitor entered are not in it.

> [card] [Verify signatures](https://docs.widgetic.com/docs/webhooks/verify-signatures.md)
>
> Check a call before you trust it.

> [card] [Events](https://docs.widgetic.com/docs/webhooks/events.md)
>
> Every event of a partner account.

> [card] [Event reference](https://docs.widgetic.com/api-reference/events/invoice-paid.md)
>
> The fields of each call, with an example.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.