Organizational Unit Members ALPHA
Required plan: SchedulerReturns 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
- π¦πΊ Australiaapi-ca.cronofy.com
- π¨π¦ Canadaapi-de.cronofy.com
- π©πͺ Germanyapi-sg.cronofy.com
- πΈπ¬ Singaporeapi-uk.cronofy.com
- π¬π§ United Kingdomapi.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.