Skip to main content
Organizations are the top-level accounts that own tours. These endpoints are read-only and are the usual starting point for an integration — list the user’s organizations, then list tours within one. Organization IDs are UUID strings. All endpoints require the standard authentication headers.

List organizations

GET /v1/organizations
Returns every organization the authenticated user belongs to. Scope: organization.read This endpoint takes no parameters — the organizations are derived from the user token. Example
curl "$BASE/v1/organizations" \
  -H "x-api-key: $KEY" -H "x-api-secret: $SECRET" -H "Authorization: Bearer $TOKEN"
Response data — array of organizations:
{
  "id": "2f1c…",
  "name": "Acme Touring",
  "fileName": "logo.png",
  "orgUserCount": 12,
  "is_deactivated": false,
  "isBeta": false,
  "fromBeta": false,
  "is_unlimited_free": false,
  "is_trial": true,
  "absoluteLink": "https://app.daysync.com/org/2f1c…",
  "loggedInUserRole": { "id": 1, "name": "Owner" },
  "type": { "id": 1, "type": "AGENCY", "description": "Touring agency" },
  "created_by": { "id": "…", "firstname": "Jane", "lastname": "Doe" },
  "avatarColorType": { "id": 1, "type": "BLUE" }
}
  • loggedInUserRole — the authenticated user’s role in this organization.
  • is_unlimited_free / is_trial / isBeta — billing flags; organizations with any of these are exempt from the subscription requirement on writes.

List organization members

GET /v1/organizations/{orgId}/users
Returns active members, seat usage, and pending invites for an organization. Scope: organization.read Path parameters
NameTypeDescription
orgIdstring (UUID)The organization.
Response data
{
  "activeSeats": 10,
  "availableSeats": 2,
  "deactivatedSeats": 1,
  "activeUsers": [
    {
      "user_id": "…",
      "firstname": "Jane",
      "lastname": "Doe",
      "email": "jane@…",
      "phone_number": "+61…",
      "user_image": "https://…",
      "is_owner": true,
      "is_removed": false,
      "is_deleted": false,
      "is_deactivated": false,
      "last_active": "2026-06-01T09:00:00Z",
      "org_join_date": "2025-01-10T00:00:00Z",
      "user_role": { "id": 1, "name": "Owner" }
    }
  ],
  "invitedUsers": [
    {
      "invite_id": "…",
      "email": "newuser@…",
      "role": { "id": 2, "name": "Member" },
      "invited_by_fullname": "Jane Doe",
      "invite_sent_on": "2026-05-30T00:00:00Z",
      "is_deactivated": false
    }
  ]
}

See also: Tours.