Webhook verification in five languages, a shorter llms.txt, and OpenAPI per area
- One webhooks page, five languages. Signature verification now has samples in Node.js, Python, Go, PHP and Ruby. Each one is run in our test suite against the signing code our webhook worker uses. The other webhook pages link there instead of keeping their own copies.
- If you copied our old Node.js sample, check two things. It verified a re-serialised copy of the parsed JSON instead of the raw body you received, and
crypto.timingSafeEqualthrows when the header has a different length, so a malformed header could crash your handler. Verify over the raw body and compare lengths first, as the new sample does. - Replays: the signature covers the body, not the time it was sent, so process each event once (remember the message id and event type you have handled). The page now says so.
llms.txtis a short index again (the detailed rules moved tollms-full.txt§ Rules for agents, word for word).- OpenAPI per area: send.json, public-api.json, onboarding.json and communications.json, with the same version and
operationIds as the full openapi.json.
Documentation changed