Organizational Unit Members ALPHA

Required plan: Scheduler

Returns a list of all members of an Organizational Unit.

Authentication uses a client_secret of an Internal Application linked to the Organizational Unit.

URL format #

{data_center_url}/v1/organizational_unit_members

Example Request #

GET /v1/organizational_unit_members HTTP/1.1
Host: {data_center_url}
Authorization: Bearer {API_KEY}

Example Response #

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
    "organizational_unit_members": [
        {
            "sub": "acc_61815034636bd5c5ce4edd0d",
            "email": "marty@evenitron.com",
            "roles": [
                "owner"
            ],
            "scheduler": {
                "enabled": true,
                "public_url": null
            }
        },
        {
            "sub": "acc_61815038636bd5c5ce4edd14",
            "email": "doc@evenitron.com",
            "roles": [
                "member"
            ],
            "scheduler": {
                "enabled": true,
                "public_url": "https://app.cronofy.com/pls/Eetyjuy0"
            }
        }
    ],
    "pages": {
        "current": 1,
        "total": 1
    }
}

Request Parameters #

data_center_url required

The URL for the data center you want to communicate with. Possible choices are:

  • api-au.cronofy.com - πŸ‡¦πŸ‡Ί Australia
  • api-ca.cronofy.com - πŸ‡¨πŸ‡¦ Canada
  • api-de.cronofy.com - πŸ‡©πŸ‡ͺ Germany
  • api-sg.cronofy.com - πŸ‡ΈπŸ‡¬ Singapore
  • api-uk.cronofy.com - πŸ‡¬πŸ‡§ United Kingdom
  • api.cronofy.com - πŸ‡ΊπŸ‡Έ United States

Find out more about Cronofy's data centers.

Response parameters #

organizational_unit_members.sub  #

This specifies the internal Cronofy ID for the Account, as an ASCII-only String.

organizational_unit_members.email  #

The primary email address for the Account.

organizational_unit_members.roles  #

An array of String values indicating the roles that the member has within the Organizational Unit.

Current possible values

  • member
  • developer
  • developer_admin
  • owner
organizational_unit_members.scheduler.enabled  #

Boolean indicating whether the Account has the Scheduler enabled for this Organizational Unit.

organizational_unit_members.scheduler.public_url  #

URL String for the Account’s public Scheduler link.

This is null when the Account doesn’t have a public Scheduler link enabled.