Set up webhooks and authorizations

Updated

Who can do this: Super Admins, Creators and Integrators

A webhook sends data from OnRamp to a URL you choose. A global webhook fires every time its event happens, such as a task being completed. A specific-use webhook fires only when a project automation calls it.

Before you begin

  • Have the destination URL ready. This is the endpoint that receives OnRamp's data.

  • If the endpoint needs credentials, create an authorization first. See Create an authorization.

Open the Webhooks page

Where you find it depends on your settings menu:

  • If your settings menu is grouped: go to Settings, open Data & apps > API & webhooks, then select the Webhooks tab.

  • If your settings menu isn't grouped: go to Settings and select Webhooks under Advanced.

The page has three tabs: Webhooks, Authorizations and Events.

Create an authorization

  1. On the Webhooks page, select the Authorizations tab.

  2. Select New authorization.

  3. Enter an Authorization Name.

  4. Choose an Authorization Type, then fill in the fields it shows:

    • Basic auth: Username and Password.

    • Bearer token: Token.

    • API key: Key, Value, and Add to. Choose Header or Query params, whichever your endpoint expects.

  5. Select Create authorization.

When you edit an authorization later, saved credentials stay hidden. Leave a credential field blank to keep its saved value, or enter a new one to replace it.

Create a webhook

  1. On the Webhooks tab, select New webhook.

  2. Enter a Webhook Name.

  3. Enter the Webhook URL. It must be a valid URL.

  4. Optional: Under Authorizations, choose a saved authorization. Leave it empty if the endpoint doesn't need credentials.

  5. Choose how the webhook fires:

    • To fire on an OnRamp event, turn on Global webhook, then choose an event under Trigger event.

    • To call it only from a project automation, leave Global webhook off. The webhook is listed as Specific use.

  6. Select Create webhook.

A new webhook is enabled as soon as you create it. To call a specific-use webhook, add a Call Webhook action to a project automation. See Create project automations.

Find events and example payloads

The Events tab lists each available event, grouped by object, with an Example Payload showing the data OnRamp sends. To create a global webhook with an event already chosen, select New webhook from event beside it.

Manage webhooks

On the Webhooks tab, you can search the list and filter it by All, Global or Specific.

  • Pause or resume: use the toggle in the Enabled column. You can also turn off Enabled in the edit dialog. Pausing keeps the webhook so you can turn it back on later.

  • Edit: open the row's menu, select Edit, make your changes, then select Save changes.

  • Delete: open the row's menu and select Delete. The webhook is removed permanently.

  • See where it's used: select the uses button on a row. Webhook Usages lists everything that calls the webhook, grouped by type. Check it before you change or delete a specific-use webhook.

More in Webhooks & API