Get all activities (BETA)

GET {{baseUrl}}/activities/collection?cursor=<string>&limit=<integer>&since=<string>&until=<string>&user_id=<integer>&done=<boolean>&type=<string>

Returns all activities. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on pagination. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions here.

Request Params

KeyDatatypeRequiredDescription
cursorstringFor pagination, the marker (an opaque string value) representing the first item on the next page
limitstringFor pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
sincestringThe time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the update_time field.
untilstringThe time boundary that points to the end of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the update_time field.
user_idstringThe ID of the user whose activities will be fetched. If omitted, all activities are returned.
donestringWhether the activity is done or not. false = Not done, true = Done. If omitted, returns both done and not done activities.
typestringThe type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the key_string parameter of ActivityTypes.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:8,&quot;company_id&quot;:22122,&quot;user_id&quot;:1234,&quot;done&quot;:false,&quot;type&quot;:&quot;deadline&quot;,&quot;conference_meeting_client&quot;:&quot;871b8bc88d3a1202&quot;,&quot;conference_meeting_url&quot;:&quot;https://pipedrive.zoom.us/link&quot;,&quot;conference_meeting_id&quot;:&quot;17058746701&quot;,&quot;due_date&quot;:&quot;2022-06-09&quot;,&quot;due_time&quot;:&quot;10:00&quot;,&quot;duration&quot;:&quot;01:00&quot;,&quot;busy_flag&quot;:true,&quot;add_time&quot;:&quot;2020-06-08 12:37:56&quot;,&quot;marked_as_done_time&quot;:&quot;2020-08-08 08:08:38&quot;,&quot;subject&quot;:&quot;Deadline&quot;,&quot;public_description&quot;:&quot;This is a description&quot;,&quot;location&quot;:&quot;Mustamäe tee 3, Tallinn, Estonia&quot;,&quot;org_id&quot;:5,&quot;person_id&quot;:1101,&quot;deal_id&quot;:300,&quot;lead_id&quot;:&quot;46c3b0e1-db35-59ca-1828-4817378dff71&quot;,&quot;project_id&quot;:null,&quot;active_flag&quot;:true,&quot;update_time&quot;:&quot;2020-08-08 12:37:56&quot;,&quot;update_user_id&quot;:5596,&quot;source_timezone&quot;:&quot;&quot;,&quot;location_subpremise&quot;:&quot;&quot;,&quot;location_street_number&quot;:&quot;3&quot;,&quot;location_route&quot;:&quot;Mustamäe tee&quot;,&quot;location_sublocality&quot;:&quot;Kristiine&quot;,&quot;location_locality&quot;:&quot;Tallinn&quot;,&quot;location_admin_area_level_1&quot;:&quot;Harju maakond&quot;,&quot;location_admin_area_level_2&quot;:&quot;&quot;,&quot;location_country&quot;:&quot;Estonia&quot;,&quot;location_postal_code&quot;:&quot;10616&quot;,&quot;location_formatted_address&quot;:&quot;Mustamäe tee 3, 10616 Tallinn, Estonia&quot;}],&quot;additional_data&quot;:{&quot;next_cursor&quot;:&quot;eyJhY3Rpdml0aWVzIjoyN30&quot;}}