API Keys and Webhooks

Let your own software ask Pipeline for data with an API key, and have Pipeline tell it the moment something changes with a webhook.

Introduction

Your office runs more than Pipeline: an accounting system, a CRM, a spreadsheet someone keeps by hand. Two tools connect them to Pipeline, and the difference is which side speaks first.

With an API key, your program asks. It asks Pipeline for what it needs, such as a transaction or its documents, and makes changes, such as creating a contact. Nothing happens until it asks.

With a webhook, Pipeline tells. You give Pipeline a web address ahead of time, and each time an event you picked happens, Pipeline sends a message there right away. Your program doesn't ask. It waits and acts on the message.

Every webhook belongs to a key, so the key comes first. Someone has to write the program, so both are for offices with a developer or a technical team. Both come with your plan. If nobody on your team writes code, Zapier is the way to connect Pipeline to other apps.

How It Works

You make a key, and your developer's program sends it with each request to ask Pipeline for data or make a change. Add webhooks to the key, and Pipeline sends a message to your address each time one of your events happens. The key decides what the program can see, and its webhooks hear about the same things.

A Key Lets a Program Ask

A program with a key can create and change transactions, contacts, and users, upload and assign documents, add checklists and tasks, and read a closed deal's commission breakdown from its finalized CDA. It can't delete a transaction or a document.

A Key Acts as the Person Who Made It

Each key carries its maker's permissions. An agent's key sees what that agent sees, and a master admin's key reaches the whole account. A Read only key can look but not change anything, which makes it the one to give a vendor. Master admins see every key in the company, and the Enable API keys setting decides whether anyone else can make one.

A Webhook Tells Your Program When Something Changes

You pick the events: a transaction created, changed, closed, or moved to a new status, a document assigned or reviewed, a task changing status, a CDA finalized. financials.ready waits until a deal is both closed and has a finalized CDA, so your accounting system hears about it when its numbers are final. Pipeline signs each message, so your developer can check it came from Pipeline.

Webhooks Depend on Their Key

Each key can have up to five webhooks, and they stop when it does. Revoking a key turns its webhooks off. If your system doesn't answer, Pipeline tries again over about a day, then turns the webhook off and emails the key's owner. Every delivery stays on your Webhooks page for 30 days, and you can send any of them again from there.

The Documentation Your Developer Needs

Your developer works from the API documentation. It describes every request, field, and webhook event, and the limits on keys and requests.

Create an API Key

Make a key for a program, or for the developer building one.

Who Can Do This: Anyone, while Enable API keys is on. When it's off, master admins only.

To create an API key:

  1. Click the Gear in the upper-right corner, then [My Info].
  2. Click [API Keys] under Integrations in the left menu.
  3. Enter a Label that says what the key is for, such as the accounting sync.
  4. Check Read only if the program only needs to look.
  5. Click [Create Key].

Your new key is on your API Keys page, with when it was created, when it was last used, and whether it's active. Give it to your developer, who sends it with every request.

Revoke an API Key

Stop a key from working, such as when a vendor no longer needs it.

Who Can Do This: Anyone, for their own keys.

To revoke an API key:

  1. Click the Gear in the upper-right corner, then [My Info].
  2. Click [API Keys] under Integrations in the left menu.
  3. Click the gear at the end of the key's row, then [Revoke Key].

The key stops working, and its webhooks are turned off.

Add a Webhook

Have Pipeline send a message to your system each time an event you choose happens.

Who Can Do This: Anyone with an API key.

To add a webhook:

  1. Click the Gear in the upper-right corner, then [My Info].
  2. Click [Webhooks] under Integrations in the left menu.
  3. Add a webhook to one of your keys, with the https web address that should receive the messages and the events to send.

Pipeline starts sending those events. Your developer uses the webhook's secret to check that each message came from Pipeline.

Stop Other Users From Creating Keys

Keep API keys to master admins only.

Who Can Do This: Master admins.

To stop other users from creating keys:

  1. Click the Gear in the upper-right corner, then [Admin / Settings].
  2. Under Feature Settings, uncheck Enable API keys.
  3. Click [Save Settings].

Only master admins can create keys now, and other people's keys stop working while the setting is off.

More Topics

Connect Other Apps Without Code

Zapier hears about one thing: a transaction moving into a status. It needs no code, which makes it the place to start for an office without a developer.

Connect Pipeline to QuickBooks, your CRM, or a spreadsheet, and let a transaction changing status kick off whatever comes next.

See Zapier Integration

Bring In the Deals You Already Have

The API creates deals as they happen. For the deals already behind you, the import takes a spreadsheet instead.

Import your past transactions from a spreadsheet, up to 50 at a time.

See Transaction Imports

Frequently Asked Questions

Does Paperless Pipeline have an open API?

Yes. A developer can read and change your transactions, documents, tasks, and users, and read your commission data. Webhooks tell your systems when something changes.

Do I need a developer to use the API?

Yes. Someone has to write the code that sends requests and receives webhooks. Without a developer, connect Pipeline to other apps through Zapier.

Does the API cost anything?

No. The API and webhooks come with your plan.

Can I give a vendor access without letting them change anything?

Yes. Create a Read only key and give them that. It can look at everything you can see, but it can't change anything.

Can Pipeline tell my accounting system about a closed deal after the CDA is final?

Yes. The financials.ready webhook waits until a transaction is closed and its CDA is finalized, and your program can then read the commission breakdown with its key.