/products/{id}/followers
Adds a follower to a product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the product |
application/json
ProductsAddFollowerRequest
| Property | Type | Required |
|---|---|---|
| user_id | integer | required |
Adds a follower to a product
POST /products/{id}/followers
/products/{id}/followers/{follower_id}
Deletes a follower from a product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the product |
| follower_id | path | required | integer | The ID of the relationship between the follower and the product |
Deletes a follower from a product
DELETE /products/{id}/followers/{follower_id}
/products/{id}/permittedUsers
Lists users permitted to access a product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the product |
Lists users permitted to access a product
GET /products/{id}/permittedUsers
/projectTemplates
Returns all not deleted project templates. This is a cursor-paginated endpoint. For more information, please refer to our documentation on pagination.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| cursor | query | optional | string | For pagination, the marker (an opaque string value) representing the first item on the next page |
| limit | query | optional | integer | For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned. |
A list of project template.
GET /projectTemplates
/projectTemplates/{id}
Returns the details of a specific project template.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project template |
Get a project template.
GET /projectTemplates/{id}
/projects/boards/{id}
Returns the details of a specific project board.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project board |
Get a project board.
GET /projects/boards/{id}
/projects/phases/{id}
Returns the details of a specific project phase.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project phase |
Get a project phase.
GET /projects/phases/{id}
/projects
Returns all projects. This is a cursor-paginated endpoint. For more information, please refer to our documentation on pagination.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| cursor | query | optional | string | For pagination, the marker (an opaque string value) representing the first item on the next page |
| limit | query | optional | integer | For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. |
| filter_id | query | optional | integer | The ID of the filter to use |
| status | query | optional | string | If supplied, includes only projects with the specified statuses. Possible values are |
| phase_id | query | optional | integer | If supplied, only projects in specified phase are returned |
| include_archived | query | optional | boolean | If supplied with |
A list of projects.
GET /projects
/projects
Adds a new project. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys.
application/json
ProjectsCreateProjectRequest
| Property | Type | Required |
|---|---|---|
| title | string | required |
| board_id | number | required |
| phase_id | number | required |
| labels | array | optional |
| org_id | number | optional |
| status | string | optional |
| deal_ids | array | optional |
| end_date | string | optional |
| owner_id | number | optional |
| person_id | number | optional |
| start_date | string | optional |
| description | string | optional |
| template_id | number | optional |
Created project.
POST /projects
/projects/boards
Returns all projects boards that are not deleted.
A list of project board.
GET /projects/boards
/projects/phases
Returns all active project phases under a specific board.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| board_id | query | required | integer | ID of the board for which phases are requested |
A list of project phases.
GET /projects/phases
/projects/{id}
Marks a project as deleted.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
Delete a project.
DELETE /projects/{id}
/projects/{id}
Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the key value of project fields.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
Get a project.
GET /projects/{id}
/projects/{id}
Updates a project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
application/json
ProjectsUpdateProjectRequest
| Property | Type | Required |
|---|---|---|
| title | string | optional |
| board_id | number | optional |
| phase_id | number | optional |
| labels | array | optional |
| org_id | number | optional |
| status | string | optional |
| deal_ids | array | optional |
| end_date | string | optional |
| owner_id | number | optional |
| person_id | number | optional |
| start_date | string | optional |
| description | string | optional |
Updated project.
PUT /projects/{id}
/projects/{id}/activities
Returns activities linked to a specific project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
A list of activities
GET /projects/{id}/activities
/projects/{id}/archive
Archives a project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
Updated project.
POST /projects/{id}/archive
/projects/{id}/groups
Returns all active groups under a specific project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
Get a project groups.
GET /projects/{id}/groups
/projects/{id}/plan
Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
Get a project plan.
GET /projects/{id}/plan
/projects/{id}/plan/activities/{activityId}
Updates an activity phase or group in a project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
| activityId | path | required | integer | The ID of the activity |
application/json
ProjectsUpdateProjectPlanActivityRequest
| Property | Type | Required |
|---|---|---|
| group_id | number | optional |
| phase_id | number | optional |
Updated activity in plan.
PUT /projects/{id}/plan/activities/{activityId}
/projects/{id}/plan/tasks/{taskId}
Updates a task phase or group in a project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
| taskId | path | required | integer | The ID of the task |
application/json
ProjectsUpdatePlanTaskRequest
| Property | Type | Required |
|---|---|---|
| group_id | number | optional |
| phase_id | number | optional |
Updated task in plan.
PUT /projects/{id}/plan/tasks/{taskId}
/projects/{id}/tasks
Returns tasks linked to a specific project.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the project |
A list of tasks.
GET /projects/{id}/tasks
/recents
Returns data about all recent changes occurred after the given timestamp.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| since_timestamp | query | required | string | The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS. |
| items | query | optional | string | Multiple selection of item types to include in the query (optional) |
| start | query | optional | integer | Pagination start |
| limit | query | optional | integer | Items shown per page |
List of items changed since “since_timestamp”
GET /recents
/roles
Returns all the roles within the company.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| start | query | optional | integer | Pagination start |
| limit | query | optional | integer | Items shown per page |
Get all roles
GET /roles
/roles
Adds a new role.
application/json
RolesCreateRoleRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| parent_role_id | integer | optional |
Add a role
POST /roles
/roles/{id}
Marks a role as deleted.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
Delete a role
DELETE /roles/{id}
/roles/{id}
Returns the details of a specific role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
Get one role
GET /roles/{id}
/roles/{id}
Updates the parent role and/or the name of a specific role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
application/json
RolesUpdateRoleDetailsRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| parent_role_id | integer | optional |
Update role details
PUT /roles/{id}
/roles/{id}/assignments
Removes the assigned user from a role and adds to the default role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
application/json
RolesRemoveAssignmentRequest
| Property | Type | Required |
|---|---|---|
| user_id | integer | required |
Delete assignment from a role
DELETE /roles/{id}/assignments
/roles/{id}/assignments
Returns all users assigned to a role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
| start | query | optional | integer | Pagination start |
| limit | query | optional | integer | Items shown per page |
List assignments for a role
GET /roles/{id}/assignments
/roles/{id}/assignments
Assigns a user to a role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
application/json
RolesAssignUserRequest
| Property | Type | Required |
|---|---|---|
| user_id | integer | required |
Add assignment for a role
POST /roles/{id}/assignments
/roles/{id}/pipelines
Returns the list of either visible or hidden pipeline IDs for a specific role. For more information on pipeline visibility, please refer to the Visibility groups article.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
| visible | query | optional | boolean | Whether to return the visible or hidden pipelines for the role |
Get either visible or hidden pipeline ids for a role
GET /roles/{id}/pipelines
/roles/{id}/pipelines
Updates the specified pipelines to be visible and/or hidden for a specific role. For more information on pipeline visibility, please refer to the Visibility groups article.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
application/json
RolesUpdatePipelineVisibilityRequest
| Property | Type | Required |
|---|---|---|
| visible_pipeline_ids | object | required |
Update pipeline visibility for a role
PUT /roles/{id}/pipelines
/roles/{id}/settings
Returns the visibility settings of a specific role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
List role settings
GET /roles/{id}/settings
/roles/{id}/settings
Adds or updates the visibility setting for a role.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the role |
application/json
RolesAddOrUpdateSettingRequest
| Property | Type | Required |
|---|---|---|
| value | integer | required |
| setting_key | string | required |
List role settings
POST /roles/{id}/settings
/stages
Marks multiple stages as deleted.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ids | query | required | string | The comma-separated stage IDs to delete |
Delete multiple stages
DELETE /stages
/stages
Returns data about all stages.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| pipeline_id | query | optional | integer | The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched. |
| start | query | optional | integer | Pagination start |
| limit | query | optional | integer | Items shown per page |
Get all stages
GET /stages
/stages
Adds a new stage, returns the ID upon success.
application/json
StagesCreateNewStageRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| pipeline_id | integer | required |
| rotten_days | integer | optional |
| rotten_flag | boolean | optional |
| deal_probability | integer | optional |
Get all stages
POST /stages
/stages/{id}
Marks a stage as deleted.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the stage |
Delete stage
DELETE /stages/{id}
/stages/{id}
Returns data about a specific stage.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the stage |
| everyone | query | optional | number | If |
Get stage
GET /stages/{id}
/stages/{id}
Updates the properties of a stage.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the stage |
application/json
StagesUpdateDetailsRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| pipeline_id | integer | optional |
| rotten_days | integer | optional |
| rotten_flag | boolean | optional |
| deal_probability | integer | optional |
| order_nr | integer | optional |
Get all stages
PUT /stages/{id}
/stages/{id}/deals
Lists deals in a specific stage.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the stage |
| filter_id | query | optional | integer | If supplied, only deals matching the given filter will be returned |
| user_id | query | optional | integer | If supplied, |
| everyone | query | optional | number | If supplied, |
| start | query | optional | integer | Pagination start |
| limit | query | optional | integer | Items shown per page |
Get deals in a stage
GET /stages/{id}/deals
/subscriptions/find/{dealId}
Returns details of an installment or a recurring subscription by the deal ID.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| dealId | path | required | integer | The ID of the deal |
Success
GET /subscriptions/find/{dealId}
/subscriptions/installment
Adds a new installment subscription.
application/json
SubscriptionsAddInstallmentSubscriptionRequest
| Property | Type | Required |
|---|---|---|
| deal_id | integer | required |
| currency | string | required |
| payments | array | required |
| update_deal_value | boolean | optional |
Success
POST /subscriptions/installment
/subscriptions/installment/{id}
Updates an installment subscription.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the subscription |
application/json
SubscriptionsUpdateInstallmentSubscriptionRequest
| Property | Type | Required |
|---|---|---|
| payments | array | required |
| update_deal_value | boolean | optional |
Success
PUT /subscriptions/installment/{id}
/subscriptions/recurring
Adds a new recurring subscription.
application/json
SubscriptionsAddRecurringRequest
| Property | Type | Required |
|---|---|---|
| deal_id | integer | required |
| currency | string | required |
| infinite | boolean | optional |
| payments | array | optional |
| start_date | string | required |
| description | string | optional |
| cadence_type | string | required |
| cycle_amount | integer | required |
| cycles_count | integer | optional |
| update_deal_value | boolean | optional |
Success
POST /subscriptions/recurring
/subscriptions/recurring/{id}
Updates a recurring subscription.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the subscription |
application/json
SubscriptionsUpdateRecurringRequest
| Property | Type | Required |
|---|---|---|
| payments | array | optional |
| description | string | optional |
| cycle_amount | integer | optional |
| effective_date | string | required |
| update_deal_value | boolean | optional |
Success
PUT /subscriptions/recurring/{id}
/subscriptions/recurring/{id}/cancel
Cancels a recurring subscription.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the subscription |
application/json
SubscriptionsCancelRecurringSubscriptionRequest
| Property | Type | Required |
|---|---|---|
| end_date | string | optional |
Success
PUT /subscriptions/recurring/{id}/cancel
/subscriptions/{id}
Marks an installment or a recurring subscription as deleted.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the subscription |
Success
DELETE /subscriptions/{id}
/subscriptions/{id}
Returns details of an installment or a recurring subscription.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the subscription |
Success
GET /subscriptions/{id}
/subscriptions/{id}/payments
Returns all payments of an installment or recurring subscription.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | The ID of the subscription |
Success
GET /subscriptions/{id}/payments