Pipedrive API

Getting access, Developing, Testing

Back to Pipedrive

List activities associated with an organization

Lists activities associated with an organization.

Input

type: object properties: parameters: type: object properties: id: type: integer description: The ID of the organization start: type: integer default: 0 description: Pagination start limit: type: integer description: Items shown per page done: title: numberBoolean type: number enum: - 0 - 1 description: >- Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both Done and Not done activities. exclude: type: string description: A comma-separated string of activity IDs to exclude from result required: - id

Output

title: getAssociatedActivitiesResponse200 type: object properties: success: type: boolean description: If the response is successful or not data: type: array description: The array of activities items: title: activityResponseObject type: object properties: due_date: description: 'The due date of the activity. Format: YYYY-MM-DD' type: string format: date due_time: description: 'The due time of the activity in UTC. Format: HH:MM' type: string duration: description: 'The duration of the activity. Format: HH:MM' type: string deal_id: description: The ID of the deal this activity is associated with type: integer lead_id: description: The ID of the lead this activity is associated with type: string format: uuid person_id: description: The ID of the person this activity is associated with type: integer org_id: description: The ID of the organization this activity is associated with type: integer note: description: The note of the activity (HTML format) type: string location: description: >- The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps. type: string public_description: description: >- Additional details about the activity that is synced to your external calendar. Unlike the note added to the activity, the description is publicly visible to any guests added to the activity. type: string id: type: integer description: The activity ID, generated when the activity was created done: type: boolean description: Whether the activity is done or not subject: description: The subject of the activity type: string type: description: >- The type of the activity. This is in correlation with the `key_string` parameter of ActivityTypes. type: string user_id: description: The ID of the user whom the activity is assigned to type: integer participants: description: >- List of multiple persons (participants) this activity is associated with type: array nullable: true items: type: object busy_flag: description: >- Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time. type: boolean enum: - true - false attendees: description: >- The attendees of the activity. This can be either your existing Pipedrive contacts or an external email address. type: array nullable: true items: type: object company_id: type: integer description: The user's company ID reference_type: type: string description: >- If the activity references some other object, it is indicated here. For example, value `Salesphone` refers to activities created with Caller. reference_id: type: integer description: Together with the `reference_type`, gives the ID of the other object conference_meeting_client: type: string description: The ID of Marketplace app, which is connected to this activity conference_meeting_url: type: string description: The link to join the meeting which is associated with this activity conference_meeting_id: type: string description: >- The meeting ID of the meeting provider (Zoom, MS Teams etc.) that is associated with this activity add_time: type: string description: >- The creation date and time of the activity in UTC. Format: YYYY-MM-DD HH:MM:SS. marked_as_done_time: type: string description: >- The date and time this activity was marked as done. Format: YYYY-MM-DD HH:MM:SS. last_notification_time: type: string description: >- The date and time of latest notifications sent about this activity to the participants or the attendees of this activity last_notification_user_id: type: integer description: >- The ID of the user who triggered the sending of the latest notifications about this activity to the participants or the attendees of this activity notification_language_id: type: integer description: The ID of the language the notifications are sent in active_flag: type: boolean description: Whether the activity is active or not update_time: type: string description: >- The last update date and time of the activity. Format: YYYY-MM-DD HH:MM:SS. update_user_id: description: The ID of the user who was the last to update this activity type: integer gcal_event_id: type: string description: >- For the activity which syncs to Google calendar, this is the Google event ID. NB! This field is related to old Google calendar sync and will be deprecated soon. google_calendar_id: type: string description: >- The Google calendar ID that this activity syncs to. NB! This field is related to old Google calendar sync and will be deprecated soon. google_calendar_etag: type: string description: >- The Google calendar API etag (version) that is used for syncing this activity. NB! This field is related to old Google calendar sync and will be deprecated soon. calendar_sync_include_context: type: string description: >- For activities that sync to an external calendar, this setting indicates if the activity syncs with context (what are the deals, persons, organizations this activity is related to) source_timezone: type: string description: The timezone the activity was created in an external calendar rec_rule: type: string description: >- The rule for the recurrence of the activity. Is important for activities synced into Pipedrive from an external calendar. Example: "RRULE:FREQ=WEEKLY;BYDAY=WE" rec_rule_extension: type: string description: >- Additional rules for the recurrence of the activity, extend the `rec_rule`. Is important for activities synced into Pipedrive from an external calendar. rec_master_activity_id: type: integer description: >- The ID of parent activity for a recurrent activity if the current activity is an exception to recurrence rules series: description: >- The list of recurring activity instances. It is in a structure as follows: `[{due_date: "2020-06-24", due_time: "10:00:00"}]` type: array items: type: object created_by_user_id: description: The ID of the user who created the activity type: integer location_subpremise: type: string description: Subfield of location field. Indicates apartment/suite number. location_street_number: type: string description: Subfield of location field. Indicates house number. location_route: type: string description: Subfield of location field. Indicates street name. location_sublocality: type: string description: Subfield of location field. Indicates district/sublocality. location_locality: type: string description: Subfield of location field. Indicates city/town/village/locality. location_admin_area_level_1: type: string description: Subfield of location field. Indicates state/county. location_admin_area_level_2: type: string description: Subfield of location field. Indicates region. location_country: type: string description: Subfield of location field. Indicates country. location_postal_code: type: string description: Subfield of location field. Indicates ZIP/postal code. location_formatted_address: type: string description: Subfield of location field. Indicates full/combined address. org_name: description: The name of the organization this activity is associated with type: string person_name: description: The name of the person this activity is associated with type: string deal_title: description: The name of the deal this activity is associated with type: string owner_name: description: The name of the user this activity is owned by type: string person_dropbox_bcc: type: string description: The BCC email address of the person deal_dropbox_bcc: type: string description: The BCC email address of the deal assigned_to_user_id: description: >- The ID of the user to whom the activity is assigned to. Equal to `user_id`. type: integer file: type: object description: >- The file that is attached to this activity. For example, this can be a reference to an audio note file generated with Pipedrive mobile app. additional_data: title: activityDistributionDataWithAdditionalData type: object description: The additional data of the list properties: activity_distribution: description: >- The distribution of activities related to the organization grouped by the user ID type: object properties: ASSIGNED_TO_USER_ID: description: The ID of the user type: object properties: activities: description: >- The count of activities related to the user grouped by activity type type: object properties: ACTIVITY_TYPE_NAME: description: The count of activities related to a specific type type: integer name: type: string description: The name of the user activity_count: type: integer description: The overall count of activities for the user share: type: integer description: The percentage of activities belongs to the user start: type: integer description: Pagination start limit: type: integer description: Items shown per page more_items_in_collection: type: boolean description: If there are more list items in the collection than displayed or not