Get all organizations (BETA)
GET {{baseUrl}}/organizations/collection?cursor=<string>&limit=<integer>&since=<string>&until=<string>&owner_id=<integer>&first_char=<string>
Returns all organizations. 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
Key | Datatype | Required | Description |
---|---|---|---|
cursor | string | For pagination, the marker (an opaque string value) representing the first item on the next page | |
limit | string | For 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. | |
since | string | The 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. | |
until | string | The 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_id | string | If supplied, only organizations owned by the given user will be returned | |
first_char | string | If supplied, only organizations whose name starts with the specified letter will be returned (case-insensitive) |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":[{"id":1,"active_flag":true,"owner_id":123,"name":"Pipedrive","update_time":"2023-02-08 05:30:20","delete_time":null,"add_time":"2023-01-08 05:30:20","visible_to":"3","label":1,"address":"Mustamäe tee 3a, 10615 Tallinn","address_subpremise":"","address_street_number":"3a","address_route":"Mustamäe tee","address_sublocality":"Kristiine","address_locality":"Tallinn","address_admin_area_level_1":"Harju maakond","address_admin_area_level_2":"","address_country":"Estonia","address_postal_code":"10616","address_formatted_address":"Mustamäe tee 3a, 10616 Tallinn, Estonia","cc_email":"org@pipedrivemail.com"}],"additional_data":{"next_cursor":"eyJhY3Rpdml0aWVzIjoyN30"}}