Pipedrive Platinum Partner5.06 reviews on the Pipedrive Marketplace150+ implementations, 100+ clientsTop 8 partner worldwide, July 2026

Glossary

API tokens and webhooks

Two words that appear in every integration brief and are regularly swapped by mistake. One is a key, the other is a doorbell. Here is what each does, how they work together, a worked example, and the security habits every Pipedrive admin needs before connecting anything.

Spec sheet
API token
A key that lets code act as a userCarries that user's full permissions.
Webhook
A message Pipedrive sends on a changePush, not pull. Fire and forget.
Use together
Webhook triggers, API fetchesThe notification is a nudge, not the data.
Verdict
Powerful, and easy to leakService user, least access, planned rotation.

The definition

An API token is a long secret string that identifies one user account to the Pipedrive API. Code that holds the token can do whatever that user can do. It can read every deal that user can see, create records, and change them. There is no second factor and no expiry. The token is the whole credential, which is why it deserves the care you give a password.

A webhook is the opposite direction of travel. You register a URL. Pipedrive then sends a message to it whenever a chosen event happens: a deal is won, a person is updated, a stage changes. Your system does not ask. It gets told. A token is a key you use. A webhook is a doorbell Pipedrive rings. Most real integrations use both, and the order matters, as the next section shows.

Why it matters

Take a company that wants an invoice raised when a deal is won. The naive build polls the API every ten minutes and asks for won deals. That is 4,320 calls a week, most of them returning nothing, and invoices lag by up to ten minutes. The webhook build registers one event, deal updated to won. Pipedrive pushes the change within seconds, the integration fetches the deal with the token, and the invoice appears while the rep is still smiling.

The pattern behind that is worth memorising. The webhook tells you something changed. The API call gets the current truth. Do not trust the payload of the notification as your only source, because messages can arrive late, twice or out of order. Fetch the record before you act on it. Everything built inside Pipedrive itself, rather than outside, is usually simpler and belongs in automations instead.

How to set it up in Pipedrive

Create a dedicated user for the integration. Give it a real mailbox you control and a permission set limited to what the integration needs. Take the API token from that user's personal preferences, under the API tab. Never use a founder account or the account of the person who happens to be building it. When that person leaves and their seat is removed, every integration on their token stops in the same hour.

Register webhooks under Tools and integrations, choosing the event and the object as narrowly as you can. Point them at an HTTPS endpoint, and protect it with a shared secret. A public URL that writes into your systems is an open door. Then decide what the integration user is allowed to see, using permissions and visibility. Keep in mind that any code reading these events needs the record structure in the CRM data model. A webhook returns ids, and expects you to know what they point at.

Where teams get it wrong

The first mistake is the token in the wrong place. Tokens end up pasted in a shared document, in a browser based automation tool, or committed to a repository. Treat every token as production access to your customer database, because that is what it is. Store it in a secrets manager, and rotate it on a schedule as well as after any staff change.

The second mistake is trusting delivery. Webhooks are fire and forget, so an endpoint that was down for an hour has simply missed those events. Every serious integration needs a nightly reconciliation that catches what the push layer dropped. The third mistake is loops: a webhook writes back to Pipedrive, which fires the same webhook again. Filter on the changing user or the changed field to break the circle. The fourth is treating the API as a mail server. It is not, and the correct route for that is email sync.

Questions

What is the difference between an API token and OAuth?

A token belongs to one user and never expires until it is regenerated. OAuth belongs to an app, is granted per scope and can be revoked centrally. Tokens suit an internal script you control. OAuth suits anything you distribute, and any integration that should outlive the person who set it up.

Does an API token respect user permissions?

It carries the permissions of the user it belongs to, and nothing more. So a token from an admin account can read and write everything. So integrations should run on a dedicated service user with only the access they need. Never on the account of whoever happened to build the connection.

What happens if a webhook delivery fails?

Pipedrive retries a failing delivery for a period, then stops sending to that endpoint. The event is gone, because a webhook is a notification and not a queue. Any integration that must not lose records needs its own retry store, plus a scheduled sync that fills gaps after an outage.

How do I rotate a token safely?

Make a list of every place the token is used before you touch it. Regenerating invalidates the old value immediately, so anything still holding it breaks the same minute. Update each consumer, then regenerate, then check each integration ran successfully. Rotate on a schedule and whenever someone with access leaves.

Next step

Not sure where your setup stands?

Answer 10 questions and get a readiness score on screen. The full advice lands in your inbox.

Built by a Pipedrive Platinum Partner, rated 5.0 from 6 marketplace reviews.