> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pipedrive CRM resources

> Install Pipedrive CRM record, catalog, relationship and history sources.

Bind `declaredResourceEndpoint(selection, auth, data)` at
`receivers.resource` with the company's `https://SITE.pipedrive.com` origin and
a protected `data` label. Seal a read-scoped OAuth bearer or site
`x-api-token`.

Use [schema discovery](https://docs.bijection.com/integrations/native-rest.md#discover-and-approve-a-provider-schema)
with provider `pipedrive`, resource `organizations`, `persons`, `deals`
or `products` and path `/api/v2/RESOURCE`. Use provider
`pipedrive-leads` and `/api/v1/leads` for leads, which use the deal-field
schema and lead UUIDs. Select discovered standard and custom fields.
Pipedrive exposes custom fields on its built-in types.

For the remaining objects initialize a
[declared profile](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind) with provider
`pipedrive-catalog` and key `id`. Use these resource and path pairs.

| Resource | Fixed path |
| - | - |
| `activities`, `pipelines`, `stages` | `/api/v2/RESOURCE` |
| `users` | `/api/v1/users` |
| `deals/DEAL_ID/products`, `deals/DEAL_ID/followers` | `/api/v2/RESOURCE` |
| `deals/DEAL_ID/participants` | `/api/v1/RESOURCE` |
| `deals/ID/changelog`, `persons/ID/changelog`, `organizations/ID/changelog` | `/api/v1/RESOURCE` |

Deal products are line items. Participant and follower sources are scoped
to one deal. CRM records also expose their organization, person, deal,
pipeline, stage and owner references through selected ID fields.

The feed uses the endpoint’s next cursor or offset and restarts after the
last page. Returned `is_deleted: true` removes an observed key. Omissions
and archive moves alone retain existing rows. A response accepts at most
100 records within 36 KiB. Configuration that comes as one answer must
fit the entire bound.
[Pipedrive API reference](https://developers.pipedrive.com/docs/api/v1)

## Write records

Follow the [native write mount guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes).
At a protected `data` label, use `providerWriter` with HTTPS company origin for `pipedrive.records.create-update-delete`.
Scope it to one of `persons`, `organizations`, `deals`, `activities`,
`products`, `pipelines` or `stages`. Use `pipedrive.leads.create-update-delete`
in `receivers.writers` for v1 Leads with UUIDs. Seal a write-scoped OAuth
bearer or the site's `x-api-token`. Bind `pipedrive.deal-products.create-update-delete`
in `receivers.writers` with a one-element scope holding the
parent deal ID to add, patch or remove its line items by attachment ID.

A successful response must carry `success: true`. Creates and updates require
the provider's returned ID, and updates must match the supplied ID. Lead
delete is acknowledged by HTTP 200 and the success flag. Commands take up
to 24 KiB JSON and use an exact key and one send per task.
Provider REST exposes separate create and update actions. To update an
existing resource, supply its provider ID.
[Pipedrive API reference](https://developers.pipedrive.com/docs/api/v1)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.