Skip to content

Pipedrive

The first CRM designed by salespeople, for salespeople. Do more to grow your business.

Categories: crm

Type: pipedrive/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Get Deals

Name: getDeals

Returns all deals.

Properties

NameLabelTypeDescriptionRequired
user_idUser IDINTEGERDeals matching the given user will be returned. However, filter_id and owned_by_you takes precedence over user_id when supplied.false
filter_idFilter IDINTEGERID of the filter to use.false
stage_idStage IDINTEGERDeals within the given stage will be returned.false
statusStatusSTRING
Options open, won, lost, deleted, all_not_deleted
false
sortSortSTRINGThe field names and sorting mode separated by a comma. Only first-level field keys are supported (no nested keys).false

Example JSON Structure

{
"label" : "Get Deals",
"name" : "getDeals",
"parameters" : {
"user_id" : 1,
"filter_id" : 1,
"stage_id" : 1,
"status" : "",
"sort" : ""
},
"type" : "pipedrive/v1/getDeals"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataARRAY
Items [{INTEGER(id), {INTEGER(id), STRING(name), STRING(email)}(user_id), {STRING(name)}(person_id), {STRING(name), STRING(owner_id)}(org_id), INTEGER(stage_id), STRING(title), INTEGER(value), STRING(currency), STRING(status)}]

Output Example

{
"data" : [ {
"id" : 1,
"user_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"person_id" : {
"name" : ""
},
"org_id" : {
"name" : "",
"owner_id" : ""
},
"stage_id" : 1,
"title" : "",
"value" : 1,
"currency" : "",
"status" : ""
} ]
}

Add Deal

Name: addDeal

Adds a new deal.

Properties

NameLabelTypeDescriptionRequired
titleTitleSTRINGThe title of the dealtrue
valueValueSTRINGThe value of the deal.false
currencyCurrencySTRINGThe currency of the deal. If omitted, currency will be set to the default currency of the authorized user.false
user_idUser IDINTEGERID of the user which will be the owner of the created deal. If not provided, the user making the request will be used.false
person_idPerson IDINTEGERID of the person which this deal will be linked to. This property is required unless org_id is specified.false
org_idOrganization IDINTEGERID of the organization which this deal will be linked to. This property is required unless person_id is specified.false
pipeline_idPipeline IDINTEGERId of the pipeline this deal will be added to. By default, the deal will be added to the first stage of the specified pipeline. Please note that pipeline_id and stage_id should not be used together as pipeline_id will be ignored.false
stage_idStage IDINTEGERStage this deal will be added to. Please note that a pipeline will be assigned automatically based on the stage_id. If omitted, the deal will be placed in the first stage of the default pipeline.false
statusStatusSTRING
Options open, won, lost, deleted
false
expected_close_dateExpected Close DateDATEThe expected close date of the deal.false
probabilityProbabilityNUMBERThe success probability percentage of the deal. Used/shown only when deal_probability for the pipeline of the deal is enabled.false
lost_reasonLost ReasonSTRINGThe optional message about why the deal was lost.false

Example JSON Structure

{
"label" : "Add Deal",
"name" : "addDeal",
"parameters" : {
"title" : "",
"value" : "",
"currency" : "",
"user_id" : 1,
"person_id" : 1,
"org_id" : 1,
"pipeline_id" : 1,
"stage_id" : 1,
"status" : "",
"expected_close_date" : "2021-01-01",
"probability" : 0.0,
"lost_reason" : ""
},
"type" : "pipedrive/v1/addDeal"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id), {INTEGER(id), STRING(name), STRING(email)}(user_id), {STRING(name)}(person_id), {STRING(name), STRING(owner_id)}(org_id), INTEGER(stage_id), STRING(title), INTEGER(value), STRING(currency), STRING(status)}

Output Example

{
"data" : {
"id" : 1,
"user_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"person_id" : {
"name" : ""
},
"org_id" : {
"name" : "",
"owner_id" : ""
},
"stage_id" : 1,
"title" : "",
"value" : 1,
"currency" : "",
"status" : ""
}
}

Search Deals

Name: searchDeals

Searches all deals by title, notes and/or custom fields.

Properties

NameLabelTypeDescriptionRequired
termTermSTRINGThe search term to look for. Minimum 2 characters (or 1 if using exact_match). Please note that the search term has to be URL encoded.true
fieldsFieldsSTRING
Options custom_fields, notes, title
A comma-separated string array. The fields to perform the search from. Defaults to all of them.false
exact_matchExact MatchBOOLEAN
Options true, false
When enabled, only full exact matches against the given term are returned. It is not case sensitive.false
person_idPerson IDINTEGERWill filter deals by the provided person.false
organization_idOrganization IDINTEGERWill filter deals by the provided organization.false
statusStatusSTRING
Options open, won, lost
Will filter deals by the provided specific status.false
include_fieldsInclude FieldsSTRING
Options deal.cc_email
Supports including optional fields in the results which are not provided by default.false

Example JSON Structure

{
"label" : "Search Deals",
"name" : "searchDeals",
"parameters" : {
"term" : "",
"fields" : "",
"exact_match" : false,
"person_id" : 1,
"organization_id" : 1,
"status" : "",
"include_fields" : ""
},
"type" : "pipedrive/v1/searchDeals"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {[{STRING(id), STRING(type), {INTEGER(id), STRING(name), STRING(email)}(user_id), {STRING(name)}(person_id), {STRING(name), STRING(owner_id)}(org_id), INTEGER(stage_id), STRING(title), INTEGER(value), STRING(currency), STRING(status)}](items)}

Output Example

{
"data" : {
"items" : [ {
"id" : "",
"type" : "",
"user_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"person_id" : {
"name" : ""
},
"org_id" : {
"name" : "",
"owner_id" : ""
},
"stage_id" : 1,
"title" : "",
"value" : 1,
"currency" : "",
"status" : ""
} ]
}
}

Delete Deal

Name: deleteDeal

Marks a deal as deleted. After 30 days, the deal will be permanently deleted.

Properties

NameLabelTypeDescriptionRequired
idDeal IDINTEGERId of the deal to delete.true

Example JSON Structure

{
"label" : "Delete Deal",
"name" : "deleteDeal",
"parameters" : {
"id" : 1
},
"type" : "pipedrive/v1/deleteDeal"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id)}

Output Example

{
"data" : {
"id" : 1
}
}

Get Details of Deal

Name: getDealDetails

Returns the details of a specific deal.

Properties

NameLabelTypeDescriptionRequired
idDealINTEGERtrue

Example JSON Structure

{
"label" : "Get Details of Deal",
"name" : "getDealDetails",
"parameters" : {
"id" : 1
},
"type" : "pipedrive/v1/getDealDetails"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id), {INTEGER(id), STRING(name), STRING(email)}(user_id), {STRING(name)}(person_id), {STRING(name), STRING(owner_id)}(org_id), INTEGER(stage_id), STRING(title), INTEGER(value), STRING(currency), STRING(status)}

Output Example

{
"data" : {
"id" : 1,
"user_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"person_id" : {
"name" : ""
},
"org_id" : {
"name" : "",
"owner_id" : ""
},
"stage_id" : 1,
"title" : "",
"value" : 1,
"currency" : "",
"status" : ""
}
}

Get Leads

Name: getLeads

Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest.

Properties

NameLabelTypeDescriptionRequired
archived_statusArchived StatusSTRING
Options archived, not_archived, all
Filtering based on the archived status of a lead.false
owner_idOwner iDINTEGERLeads matching the given user will be returned. However, filter_id takes precedence over owner_id when supplied.false
person_idPerson IDINTEGERIf supplied, only leads matching the given person will be returned. However, filter_id takes precedence over person_id when supplied.false
organization_idOrganization IDINTEGERIf supplied, only leads matching the given organization will be returned. However, filter_id takes precedence over organization_id when supplied.false
filter_idFilter IDINTEGERFilter to usefalse
sortSortSTRING
Options id, title, owner_id, creator_id, was_seen, expected_close_date, next_activity_id, add_time, update_time
The field names and sorting mode separated by a comma. Only first-level field keys are supported (no nested keys).false

Example JSON Structure

{
"label" : "Get Leads",
"name" : "getLeads",
"parameters" : {
"archived_status" : "",
"owner_id" : 1,
"person_id" : 1,
"organization_id" : 1,
"filter_id" : 1,
"sort" : ""
},
"type" : "pipedrive/v1/getLeads"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataARRAY
Items [{STRING(id), STRING(title), INTEGER(owner_id), {INTEGER(amount), STRING(currency)}(value), DATE(expected_close_date), INTEGER(person_id)}]

Output Example

{
"data" : [ {
"id" : "",
"title" : "",
"owner_id" : 1,
"value" : {
"amount" : 1,
"currency" : ""
},
"expected_close_date" : "2021-01-01",
"person_id" : 1
} ]
}

Add Lead

Name: addLead

Creates a lead. A lead always has to be linked to a person or an organization or both.

Properties

NameLabelTypeDescriptionRequired
titleTitleSTRINGThe name of the lead.true
owner_idOwner IDINTEGERUser which will be the owner of the created lead.false
label_idsLead Labels IDsARRAY
Items [STRING]
ID of the labels which will be associated with the lead.false
person_idPerson IDINTEGERPerson which this lead will be linked to.false
organization_idOrganization IDINTEGEROrganization which this lead will be linked to.false
valueValueOBJECT
Properties {NUMBER(amount), STRING(currency)}
The potential value of the leadfalse
expected_close_dateExpected Close DateDATEThe date of when the deal which will be created from the lead is expected to be closed. In ISO 8601 format: YYYY-MM-DD.false

Example JSON Structure

{
"label" : "Add Lead",
"name" : "addLead",
"parameters" : {
"title" : "",
"owner_id" : 1,
"label_ids" : [ "" ],
"person_id" : 1,
"organization_id" : 1,
"value" : {
"amount" : 0.0,
"currency" : ""
},
"expected_close_date" : "2021-01-01"
},
"type" : "pipedrive/v1/addLead"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(id), STRING(title), INTEGER(owner_id), {INTEGER(amount), STRING(currency)}(value), DATE(expected_close_date), INTEGER(person_id)}

Output Example

{
"data" : {
"id" : "",
"title" : "",
"owner_id" : 1,
"value" : {
"amount" : 1,
"currency" : ""
},
"expected_close_date" : "2021-01-01",
"person_id" : 1
}
}

Delete Lead

Name: deleteLead

Deletes a specific lead.

Properties

NameLabelTypeDescriptionRequired
idLead IDSTRINGThe ID of the leadtrue

Example JSON Structure

{
"label" : "Delete Lead",
"name" : "deleteLead",
"parameters" : {
"id" : ""
},
"type" : "pipedrive/v1/deleteLead"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(id)}

Output Example

{
"data" : {
"id" : ""
}
}

Get Lead Details

Name: getLeadDetails

Returns details of a specific lead.

Properties

NameLabelTypeDescriptionRequired
idLead IDSTRINGtrue

Example JSON Structure

{
"label" : "Get Lead Details",
"name" : "getLeadDetails",
"parameters" : {
"id" : ""
},
"type" : "pipedrive/v1/getLeadDetails"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(id), STRING(title), INTEGER(owner_id), {INTEGER(amount), STRING(currency)}(value), DATE(expected_close_date), INTEGER(person_id)}

Output Example

{
"data" : {
"id" : "",
"title" : "",
"owner_id" : 1,
"value" : {
"amount" : 1,
"currency" : ""
},
"expected_close_date" : "2021-01-01",
"person_id" : 1
}
}

Search Leads

Name: searchLeads

Searches all leads by title, notes and/or custom fields.

Properties

NameLabelTypeDescriptionRequired
termTermSTRINGThe search term to look for. Minimum 2 characters (or 1 if using exact_match). Please note that the search term has to be URL encoded.true
fieldsFieldsSTRING
Options custom_fields, notes, title
A comma-separated string array. The fields to perform the search from. Defaults to all of them.false
exact_matchExact MatchBOOLEAN
Options true, false
When enabled, only full exact matches against the given term are returned. It is not case sensitive.false
person_idPerson IDINTEGERWill filter leads by the provided person ID.false
organization_idOrganization IDINTEGERWill filter leads by the provided organization ID.false
include_fieldsInclude FieldsSTRING
Options lead.was_seen
Supports including optional fields in the results which are not provided by default.false

Example JSON Structure

{
"label" : "Search Leads",
"name" : "searchLeads",
"parameters" : {
"term" : "",
"fields" : "",
"exact_match" : false,
"person_id" : 1,
"organization_id" : 1,
"include_fields" : ""
},
"type" : "pipedrive/v1/searchLeads"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {[{STRING(id), STRING(title), INTEGER(owner_id), {INTEGER(amount), STRING(currency)}(value), DATE(expected_close_date), INTEGER(person_id)}](items)}

Output Example

{
"data" : {
"items" : [ {
"id" : "",
"title" : "",
"owner_id" : 1,
"value" : {
"amount" : 1,
"currency" : ""
},
"expected_close_date" : "2021-01-01",
"person_id" : 1
} ]
}
}

Get All Organizations

Name: getOrganizations

Returns all organizations.

Properties

NameLabelTypeDescriptionRequired
user_idUser IDINTEGEROrganizations owned by the given user will be returned. However, filter_id takes precedence over user_id when both are supplied.false
filter_idFilter IDINTEGERFilter to usefalse
first_charFirst CharactersSTRINGOrganizations whose name starts with the specified letter will be returned (case insensitive)false
sortSortSTRINGThe field names and sorting mode separated by a comma (field_name_1ASC, field_name_2 DESC). Only first-level field keys are supported (no nested keys).false

Example JSON Structure

{
"label" : "Get All Organizations",
"name" : "getOrganizations",
"parameters" : {
"user_id" : 1,
"filter_id" : 1,
"first_char" : "",
"sort" : ""
},
"type" : "pipedrive/v1/getOrganizations"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataARRAY
Items [{INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), STRING(name)}]

Output Example

{
"data" : [ {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"name" : ""
} ]
}

Add Organization

Name: addOrganization

Adds a new organization.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGThe name of the organization.true
owner_idOwner IDINTEGERID of the user who will be marked as the owner of this organization.false

Example JSON Structure

{
"label" : "Add Organization",
"name" : "addOrganization",
"parameters" : {
"name" : "",
"owner_id" : 1
},
"type" : "pipedrive/v1/addOrganization"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), STRING(name)}

Output Example

{
"data" : {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"name" : ""
}
}

Search Organizations

Name: searchOrganization

Searches all organizations by name, address, notes and/or custom fields. This endpoint is a wrapper of /v1/itemSearch with a narrower OAuth scope.

Properties

NameLabelTypeDescriptionRequired
termTermSTRINGThe search term to look for. Minimum 2 characters (or 1 if using exact_match). Please note that the search term has to be URL encoded.true
fieldsFieldsSTRING
Options address, custom_fields, notes, name
A comma-separated string array. The fields to perform the search from. Defaults to all of them.false
exact_matchExact MatchBOOLEAN
Options true, false
When enabled, only full exact matches against the given term are returned. It is not case sensitive.false

Example JSON Structure

{
"label" : "Search Organizations",
"name" : "searchOrganization",
"parameters" : {
"term" : "",
"fields" : "",
"exact_match" : false
},
"type" : "pipedrive/v1/searchOrganization"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {[{INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), STRING(name)}](items)}

Output Example

{
"data" : {
"items" : [ {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"name" : ""
} ]
}
}

Delete Organization

Name: deleteOrganization

Marks an organization as deleted. After 30 days, the organization will be permanently deleted.

Properties

NameLabelTypeDescriptionRequired
idOrganizationINTEGEROrganization to deletetrue

Example JSON Structure

{
"label" : "Delete Organization",
"name" : "deleteOrganization",
"parameters" : {
"id" : 1
},
"type" : "pipedrive/v1/deleteOrganization"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id)}

Output Example

{
"data" : {
"id" : 1
}
}

Get Details of Organization

Name: getOrganizationDetails

Returns the details of an organization.

Properties

NameLabelTypeDescriptionRequired
idOrganizatonINTEGEROrganization to get details.true

Example JSON Structure

{
"label" : "Get Details of Organization",
"name" : "getOrganizationDetails",
"parameters" : {
"id" : 1
},
"type" : "pipedrive/v1/getOrganizationDetails"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), STRING(name)}

Output Example

{
"data" : {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"name" : ""
}
}

Get Persons

Name: getPersons

Returns all persons.

Properties

NameLabelTypeDescriptionRequired
user_idUser IDINTEGERPersons owned by the given user will be returned. However, filter_id takes precedence over user_id when both are supplied.false
filter_idFilter IDINTEGERFilter to use.false
first_charFirst CharactersSTRINGPersons whose name starts with the specified letter will be returned (case insensitive)false
sortSortSTRINGThe field names and sorting mode separated by a comma. Only first-level field keys are supported (no nested keys).false

Example JSON Structure

{
"label" : "Get Persons",
"name" : "getPersons",
"parameters" : {
"user_id" : 1,
"filter_id" : 1,
"first_char" : "",
"sort" : ""
},
"type" : "pipedrive/v1/getPersons"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataARRAY
Items [{INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), {STRING(name), INTEGER(owner_id), STRING(cc_email)}(org_id), STRING(name), [{STRING(value), BOOLEAN(primary), STRING(label)}](phone), [{STRING(value), BOOLEAN(primary), STRING(label)}](email)}]

Output Example

{
"data" : [ {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"org_id" : {
"name" : "",
"owner_id" : 1,
"cc_email" : ""
},
"name" : "",
"phone" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ],
"email" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ]
} ]
}

Add Person

Name: addPerson

Adds a new person.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGPerson full nametrue
owner_idOwner IDINTEGERID of the user who will be marked as the owner of this person.false
org_idOrganization IDINTEGERID of the organization this person will belong to.false
emailEmailARRAY
Items [{STRING(value), BOOLEAN(primary), STRING(label)}]
An email addresses related to the person.false
phonePhoneARRAY
Items [{STRING(value), BOOLEAN(primary), STRING(label)}]
A phone numbers related to the person.false

Example JSON Structure

{
"label" : "Add Person",
"name" : "addPerson",
"parameters" : {
"name" : "",
"owner_id" : 1,
"org_id" : 1,
"email" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ],
"phone" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ]
},
"type" : "pipedrive/v1/addPerson"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), {STRING(name), INTEGER(owner_id), STRING(cc_email)}(org_id), STRING(name), [{STRING(value), BOOLEAN(primary), STRING(label)}](phone), [{STRING(value), BOOLEAN(primary), STRING(label)}](email)}

Output Example

{
"data" : {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"org_id" : {
"name" : "",
"owner_id" : 1,
"cc_email" : ""
},
"name" : "",
"phone" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ],
"email" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ]
}
}

Search Persons

Name: searchPersons

Searches all persons by name, email, phone, notes and/or custom fields.

Properties

NameLabelTypeDescriptionRequired
termTermSTRINGThe search term to look for. Minimum 2 characters (or 1 if using exact_match). Please note that the search term has to be URL encoded.true
fieldsFieldsSTRING
Options custom_fields, email, notes, phone, name
A comma-separated string array. The fields to perform the search from. Defaults to all of them.false
exact_matchExact MatchBOOLEAN
Options true, false
When enabled, only full exact matches against the given term are returned. It is not case sensitive.false
organization_idOrganization IDINTEGERWill filter persons by the provided organization.false

Example JSON Structure

{
"label" : "Search Persons",
"name" : "searchPersons",
"parameters" : {
"term" : "",
"fields" : "",
"exact_match" : false,
"organization_id" : 1
},
"type" : "pipedrive/v1/searchPersons"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {[{INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), {STRING(name), INTEGER(owner_id), STRING(cc_email)}(org_id), STRING(name), [{STRING(value), BOOLEAN(primary), STRING(label)}](phone), [{STRING(value), BOOLEAN(primary), STRING(label)}](email)}](items)}

Output Example

{
"data" : {
"items" : [ {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"org_id" : {
"name" : "",
"owner_id" : 1,
"cc_email" : ""
},
"name" : "",
"phone" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ],
"email" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ]
} ]
}
}

Delete Person

Name: deletePerson

Marks a person as deleted. After 30 days, the person will be permanently deleted.

Properties

NameLabelTypeDescriptionRequired
idPersonINTEGERPerson to deletetrue

Example JSON Structure

{
"label" : "Delete Person",
"name" : "deletePerson",
"parameters" : {
"id" : 1
},
"type" : "pipedrive/v1/deletePerson"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id)}

Output Example

{
"data" : {
"id" : 1
}
}

Get Details of Person

Name: getPersonDetails

Returns the details of a person. This also returns some additional fields which are not present when asking for all persons.

Properties

NameLabelTypeDescriptionRequired
idPersonINTEGERPerson to get detailstrue

Example JSON Structure

{
"label" : "Get Details of Person",
"name" : "getPersonDetails",
"parameters" : {
"id" : 1
},
"type" : "pipedrive/v1/getPersonDetails"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {INTEGER(id), INTEGER(company_id), {INTEGER(id), STRING(name), STRING(email)}(owner_id), {STRING(name), INTEGER(owner_id), STRING(cc_email)}(org_id), STRING(name), [{STRING(value), BOOLEAN(primary), STRING(label)}](phone), [{STRING(value), BOOLEAN(primary), STRING(label)}](email)}

Output Example

{
"data" : {
"id" : 1,
"company_id" : 1,
"owner_id" : {
"id" : 1,
"name" : "",
"email" : ""
},
"org_id" : {
"name" : "",
"owner_id" : 1,
"cc_email" : ""
},
"name" : "",
"phone" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ],
"email" : [ {
"value" : "",
"primary" : false,
"label" : ""
} ]
}
}

Triggers

New Activity

Name: newActivity

Trigger off whenever a new activity is added.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
type_nameSTRING
public_descriptionSTRING
subjectSTRING
typeSTRING
idINTEGER
owner_nameSTRING
user_idINTEGER
company_idINTEGER

JSON Example

{
"label" : "New Activity",
"name" : "newActivity",
"type" : "pipedrive/v1/newActivity"
}

New Deal

Name: newDeal

Trigger off whenever a new deal is added.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
email_messages_countINTEGER
cc_emailSTRING
idINTEGER
person_idINTEGER
owner_nameSTRING
statusSTRING
titleSTRING
currencySTRING
valueINTEGER

JSON Example

{
"label" : "New Deal",
"name" : "newDeal",
"type" : "pipedrive/v1/newDeal"
}

New Organization

Name: newOrganization

Trigger off whenever a new organization is added.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
email_messages_countINTEGER
cc_emailSTRING
owner_idINTEGER
idINTEGER
owner_nameSTRING
nameSTRING
company_idINTEGER

JSON Example

{
"label" : "New Organization",
"name" : "newOrganization",
"type" : "pipedrive/v1/newOrganization"
}

New Person

Name: newPerson

Trigger off whenever a new person is added.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
email_messages_countINTEGER
cc_emailSTRING
owner_idINTEGER
idINTEGER
owner_nameSTRING
phoneARRAY
Items [{STRING(value), BOOLEAN(primary)}]
nameSTRING
emailARRAY
Items [{STRING(value), BOOLEAN(primary)}]
company_idINTEGER

JSON Example

{
"label" : "New Person",
"name" : "newPerson",
"type" : "pipedrive/v1/newPerson"
}

Updated Deal

Name: updatedDeal

Trigger off whenever an existing deal is updated.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
email_messages_countINTEGER
cc_emailSTRING
idINTEGER
person_idINTEGER
owner_nameSTRING
statusSTRING
titleSTRING
currencySTRING
valueINTEGER

JSON Example

{
"label" : "Updated Deal",
"name" : "updatedDeal",
"type" : "pipedrive/v1/updatedDeal"
}

Updated Organization

Name: updatedOrganization

Trigger off whenever an existing organization is updated.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
email_messages_countINTEGER
cc_emailSTRING
owner_idINTEGER
idINTEGER
owner_nameSTRING
nameSTRING
company_idINTEGER

JSON Example

{
"label" : "Updated Organization",
"name" : "updatedOrganization",
"type" : "pipedrive/v1/updatedOrganization"
}

Updated Person

Name: updatedPerson

Trigger off whenever an existing person is updated.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
email_messages_countINTEGER
cc_emailSTRING
owner_idINTEGER
idINTEGER
owner_nameSTRING
phoneARRAY
Items [{STRING(value), BOOLEAN(primary)}]
nameSTRING
emailARRAY
Items [{STRING(value), BOOLEAN(primary)}]
company_idINTEGER

JSON Example

{
"label" : "Updated Person",
"name" : "updatedPerson",
"type" : "pipedrive/v1/updatedPerson"
}