Create and manage OnRamp API keys

Updated

Who can do this: Super Admins and Integrators

An API key authenticates your requests to the OnRamp API. You create keys on the Keys tab, and you can rename, regenerate, revoke or delete them there.

Before you begin

  • Your organization needs API credits. Without them, New API key opens a dialog titled You don't have API credits yet. Select Get free API credits to request credits to prototype and test.

Create an API key

  1. Go to Settings > API. If your Settings menu is grouped into sections, select API & webhooks, then the API tab.

  2. On the Keys tab, select New API key.

  3. In Name, enter what the key is for, for example Billing sync.

  4. Select Create.

  5. Copy the key. Once you close the window, it can't be shown again.

  6. Select Done.

The key appears in the list with its name, a masked token and its status. The list also shows who created it, when it was last used, and its calls in the last 30 days.

Send the key as a bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Important: Treat each key like a password. Don't put it in client-side code or share it in chat or email.

Key statuses

Status

What it means

Active

The key has been used in the last 90 days.

Unused

The key has never been used, or hasn't been used for more than 90 days.

Revoked

The key no longer works. It stays in the list.

Filter the list with Status and Created by, or search by name.

Rename, regenerate, revoke or delete a key

Select the actions menu at the end of a key's row, then choose an action and confirm it.

Action

What happens

Edit

Change the key's name. The key itself doesn't change.

Regenerate

Anything using the current secret stops working immediately. The new secret is shown once. A revoked key can't be regenerated.

Revoke

Requests made with the key stop working immediately. The key stays listed as Revoked.

Delete

Requests made with the key stop working immediately, and the key is removed from the list.

More in Webhooks & API