Browse the docs

Webhooks & API keys

Point a signed webhook endpoint at your server, start automations from outside, send changes out with an HTTP request step, and manage API keys.

On this page

Outgoing webhooks

Today an outgoing endpoint receives one event, the signed test event webhook.ping, which proves your server checks signatures; record changes go out through an automation’s HTTP request step. Set endpoints up in Settings › Integrations & API › Webhooks, up to 20 per workspace.

  1. 1

    Add an endpoint

    Press Add endpoint and paste an Endpoint URL on a public https address. IP addresses, a user name or password in the URL and a #fragment are refused.

  2. 2

    Receive the test event

    Save, and a signed test event, webhook.ping, is on its way at once. Send test event in the endpoint’s menu sends another whenever you want to check your code.

  3. 3

    Copy the signing secret

    Copy signing secret from the endpoint’s menu. It starts with whsec_; keep it in your server’s secret store.

Signing

  • Webhook-Id

    The event id, the same on every retry of that event, so you can ignore repeats.

  • Webhook-Timestamp

    Unix seconds when this attempt was signed.

  • Webhook-Signature

    v1=<hex>: HMAC-SHA256 of <timestamp>.<raw body>, keyed with the whole secret, whsec_ prefix included.

Deliveries and retries

  • Your server answers 2xx within ten seconds

    The delivery succeeds.

  • Another status, a timeout or no connection

    The delivery is marked failed. Test events are never retried.

  • A redirect

    Not followed. Point the endpoint at the final URL.

  • The URL resolves to a private network

    Blocked and not retried.

Click an endpoint to open Deliveries: each delivery with its status code and how long your server took, kept for 30 days. The endpoint menu also has Pause / Resume and Delete endpoint.

Tip: Send a change out the moment it happens

Give an automation a Record created or Record updated trigger and an HTTP request step: it POSTs the row to your server, with any headers your API needs. The API reference, linked below, walks through the full setup.

Start an automation from your own service

An automation with the Webhook trigger gets a private URL. Any service that POSTs JSON to it starts a run, with that JSON available to every step as Trigger › Payload.

  • Timestamp

    Put the current Unix time in seconds in the Webhook-Timestamp header.

  • Signature

    Sign <timestamp>.<raw body> with HMAC-SHA256 using the signing secret and send it as Webhook-Signature: v1=<hex>.

  • Freshness

    Requests older than five minutes, or with a wrong signature, are refused.

  • Body

    JSON, up to 256 KB.

  • Retries

    Send the same Idempotency-Key header on a redelivery and you get the first run back instead of a second one.

  • Secret rotation

    New signing secret in the automation’s menu replaces it; the old one keeps working for 24 hours.

API keys

  1. 1

    Create a key

    In Settings › Integrations & API › API keys, press Create API key.

  2. 2

    Name it and set an expiry

    Give it a Name (“Reporting script”) and choose Expires: 30 days, 90 days, 1 year or Never.

  3. 3

    Copy it once

    Copy API key now: you won’t be able to see it again. The key acts as you, limited to this workspace.

The list shows each key’s name, prefix, when it was last used and when it expires. Revoke stops it at once, and tells you when it was last used before you confirm.

Today a key opens one endpoint, GET /api-key, which tells it its name and workspace. No endpoint reads or writes records, tasks or documents with a key; to move data, use the Webhook trigger coming in and the HTTP request step going out.