Get all persons (BETA)

GET {{baseUrl}}/persons/collection?cursor=<string>&limit=<integer>&since=<string>&until=<string>&owner_id=<integer>&first_char=<string>

Returns all persons. 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.
owner_idstringIf supplied, only persons owned by the given user will be returned
first_charstringIf supplied, only persons whose name starts with the specified letter will be returned (case-insensitive)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:1,&quot;active_flag&quot;:true,&quot;owner_id&quot;:123,&quot;org_id&quot;:1234,&quot;name&quot;:&quot;Will Smith&quot;,&quot;phone&quot;:[{&quot;value&quot;:&quot;12345&quot;,&quot;primary&quot;:true,&quot;label&quot;:&quot;work&quot;},{&quot;value&quot;:&quot;56789&quot;,&quot;primary&quot;:false,&quot;label&quot;:&quot;home&quot;}],&quot;email&quot;:[{&quot;value&quot;:&quot;12345@email.com&quot;,&quot;primary&quot;:true,&quot;label&quot;:&quot;work&quot;}],&quot;update_time&quot;:&quot;2023-02-08 05:30:20&quot;,&quot;delete_time&quot;:null,&quot;add_time&quot;:&quot;2023-01-08 05:30:20&quot;,&quot;visible_to&quot;:&quot;3&quot;,&quot;picture_id&quot;:12,&quot;label&quot;:1,&quot;cc_email&quot;:&quot;org@pipedrivemail.com&quot;}],&quot;additional_data&quot;:{&quot;next_cursor&quot;:&quot;eyJhY3Rpdml0aWVzIjoyN30&quot;}}