Skip to Content
APIOrganizationsGET

GET Organizations

Use this endpoint to retrieve organizations.

User level: Advanced

Endpoint

GET /v1/{organizationId}/organizations
PropertyValue
MethodGET
Scope IDOrganization UUID
AuthenticationAuthorization: Bearer <access_token>

Query parameters

ParameterTypeDefaultMaxDescription
limitinteger501000Number of records per page.
offsetinteger0-Pagination offset.
sortstring-Sort expression in the format field:asc or field:desc.
filterstring-Filter expression in the format field:operator:value. Repeat filter to combine multiple filters.

Filtering and sorting

Syntax

sort=field:asc sort=field:desc filter=field:operator:value

You can repeat filter in the same request.

Supported operators

OperatorMeaning
eqExact match
neNot equal
inValue is part of a list
gtGreater than
gteGreater than or equal
ltLess than
lteLess than or equal
likeCase-sensitive text match
ilikeCase-insensitive text match
isnullNull check

Resource rules

  • Filtering and sorting are whitelisted per resource.
  • organization_id and branch_id are reserved for server-side scoping and cannot be filtered by clients.
  • Tenant scope remains server-controlled.
  • Use an organization UUID in {scopeId} for this resource.

Example filters for organizations

?filter=trial_end_date:lt:2026-12-31 ?filter=name:ilike:%logistics% ?sort=name:asc

Example request

curl -X GET "https://api.routix.com/v1/123e4567-e89b-12d3-a456-426614174000/organizations?limit=25&offset=0&sort=name:asc&filter=trial_end_date:lt:2026-12-31" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."

Example response for v1

{ "data": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Acme Logistics B.V.", "email": "[email protected]", "phone": "+31 20 123 4567", "trial_end_date": "2026-12-31", "created_at": "2026-01-10T09:15:00Z" } ], "pagination": { "limit": 10, "offset": 0, "total": 1 }, "version": "v1" }

Fields

FieldDescription
idOrganization UUID.
nameOrganization name.
emailPrimary organization email address.
phoneOrganization phone number.
trial_end_dateTrial end date.
created_atRecord creation date.

Response format

Success: list response

{ "data": [], "pagination": { "limit": 50, "offset": 0, "total": 123 }, "version": "v1" }

Error response

{ "error": "insufficient_scope", "error_description": "Token does not contain the required scope for organizations" }
  • API integration
  • API calls & examples
  • Setup guide
Last updated on