Skip to content
Adoptiv

Manage API keys

Updated 3 min read3 videos

Integrations

New to Adoptiv?

Try it free for 14 days: a US number for every rep, unlimited US and Canada calling and the Android app.

Table of contents
  1. Before you start
  2. Create a workspace API key
  3. Use the key
  4. Check and revoke keys
  5. Use your own Blacklist Alliance key
  6. Read the API log

To give another system a key for posting into your incoming webhooks, open Settings → API Keys and press Create key. The same page holds your own Blacklist Alliance key for compliance lookups, and a log of the lookups Adoptiv made.

Before you start

  • API keys are managed by workspace owners and admins, and by roles with Manage Settings.
  • A workspace API key works only with incoming webhooks; Adoptiv has no other API that takes it. See Send leads in with incoming webhooks.

Create a workspace API key

  1. Open Settings → API Keys.
  2. Under Workspace API keys, press Create key.
  3. Enter a Name after the system that will use it, so you know later what revoking it would stop.
  4. Choose an Expiry: No expiry, 30 days, 90 days or 1 year.
  5. Press Create key.
  6. Under Copy your API key, press Copy and store the key somewhere safe. This is the only time it's shown: Adoptiv doesn't keep the key itself, so it can't be recovered.
  7. Press Done.

A workspace can have up to 25 active keys.

On Settings, API Keys, pressing Create key, naming the key Lead vendor with a 90-day expiry, pressing Create key, copying the key from Copy your API key and pressing Done; the new key is listed as Never used.

Use the key

The other system sends the key, which starts with adk_, with each request to one of your incoming webhooks, in either header:

  • Authorization: Bearer adk_…
  • x-webhook-token: adk_…

One key works on every webhook in the workspace, so you don't have to hand out a separate token for each. A webhook with a signing secret still needs a valid signature: the key doesn't replace it.

Check and revoke keys

The list shows each key's Name with its last four characters, its Status (Active, Never used, Expired or Revoked), when it was Last used and who created it. To revoke one:

  1. Press Revoke on the key's row.
  2. Press Revoke key.

Any system still sending that key is refused at once with a 401. A revoked key can't be turned back on, so create a new one instead. The row stays, so you can still see what the key was and when it last worked.

The Workspace API keys list shows each key's name with its last four characters, status, last used, who created it and when; pressing Revoke on Old lead vendor and then Revoke key turns its status to Revoked.

Use your own Blacklist Alliance key

Without a key here, your workspace's litigator lookups use Adoptiv's own key. Add yours to run them on your own Blacklist Alliance account.

  1. On Settings → API Keys, find Blacklist Alliance (BLA) key.
  2. Paste your key into API key.
  3. Choose the API version your account uses, or leave it on Provider default.
  4. Press Save credential.

A saved key is never shown, only its first characters and length. To replace it, type a new one; leave the field blank to keep it. To see the whole key, use the reveal button in the field and confirm your password. That's recorded in the audit trail.

Read the API log

Below the keys, the log lists the outside lookups, such as compliance checks, that Adoptiv made for your workspace: When, the Call, its Status, how long it Took and who it was Started by (a person, or Adoptiv for automatic ones).

  1. Filter by API name, by who started it, or by dates, and press Refresh.
  2. Press Details on a row to see the request and the response.

Requests to your incoming webhooks aren't in this log. They're on each webhook's page in Settings → Incoming webhooks.

On Settings, API Keys, scrolling past the Blacklist Alliance key card to the API log, pointing at the Calls, Errors and Slowest tiles, choosing a From date, and pressing Details on a lookup to see its request and response.

Feedback on this article

Was this helpful?

Still need help?

Chat with our team, or email us and we will get back to you.

support@adoptiv.com