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
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 with provider
pipedrive-catalog and key id. Use these resource and path pairs.
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
Write records
Follow the native write mount guide. At a protecteddata 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