Get all organizations

GET {{baseUrl}}/organizations?filter_id=<integer>&ids=<string>&owner_id=<integer>&updated_since=<string>&updated_until=<string>&sort_by=id&sort_direction=asc&include_fields=<string>&custom_fields=<string>&limit=<integer>&cursor=<string>

Returns data about all organizations.

Request Params

KeyDatatypeRequiredDescription
filter_idstringIf supplied, only organizations matching the specified filter are returned
idsstringOptional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
owner_idstringIf supplied, only organization owned by the specified user are returned. If filter_id is provided, this is ignored.
updated_sincestringIf set, only organizations with an update_time later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
updated_untilstringIf set, only organizations with an update_time earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
sort_bystringThe field to sort by. Supported fields: id, update_time, add_time.
sort_directionstringThe sorting direction. Supported values: asc, desc.
include_fieldsstringOptional comma separated string array of additional fields to include
custom_fieldsstringOptional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
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.
cursorstringFor pagination, the marker (an opaque string value) representing the first item on the next page

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:1,&quot;name&quot;:&quot;Organization Name&quot;,&quot;owner_id&quot;:1,&quot;org_id&quot;:1,&quot;add_time&quot;:&quot;2021-01-01T00:00:00Z&quot;,&quot;update_time&quot;:&quot;2021-01-01T00:00:00Z&quot;,&quot;address&quot;:{&quot;value&quot;:&quot;123 Main St&quot;,&quot;country&quot;:&quot;USA&quot;,&quot;admin_area_level_1&quot;:&quot;CA&quot;,&quot;admin_area_level_2&quot;:&quot;Santa Clara&quot;,&quot;locality&quot;:&quot;Sunnyvale&quot;,&quot;sublocality&quot;:&quot;Downtown&quot;,&quot;route&quot;:&quot;Main St&quot;,&quot;street_number&quot;:&quot;123&quot;,&quot;postal_code&quot;:&quot;94085&quot;},&quot;is_deleted&quot;:false,&quot;visible_to&quot;:7,&quot;label_ids&quot;:[1,2,3],&quot;custom_fields&quot;:{}}],&quot;additional_data&quot;:{&quot;next_cursor&quot;:&quot;eyJmaWVsZCI6ImlkIiwiZmllbGRWYWx1ZSI6Nywic29ydERpcmVjdGlvbiI6ImFzYyIsImlkIjo3fQ&quot;}}