/
Get all organizations and teams
Get all organizations and teams
For sending this request, you have to be authorized. See the Authorization page for more details.
Use this request to figure out your Team ID which is required for many Webhook Management API endpoints.
Request
curl -X GET https://rest.doo.net/v1/organizers/current/organizations \
-H 'Content-Type: application/json' \
-H 'x-api-key: <api_key>' \
-H 'Authorization: Bearer <access_token>'
Parameters
Parameter | Required | Description |
---|---|---|
| Yes | See Authorization |
| Yes | See Authorization |
Response example
{
"organizations": [
{
"id": 1,
"name": "Organization 1",
"canEdit": true,
"teams": [
{
"id": 1,
"name": null,
"role": "team_admin"
}
]
},
{
"id": 2,
"name": "Organization 2",
"canEdit": true,
"teams": [
{
"id": 2,
"name": null,
"role": "team_admin"
}
]
}
],
"active_team": {
"permissions": [
"Booking:View",
"Booking:ViewDeleted",
"Event:ViewSettings"
],
"id": 1,
"name": null,
"organization_id": 1,
"user_id": 123,
"role": "team_admin",
"is_all_events_team": true,
"show_info_box": null,
"user_count": null,
"live_events_count": null
},
"_links": {
"self": {
"href": "https://rest.doo.net/v1/organizers/current/organizations"
}
}
}
, multiple selections available,
Related content
List webhook configurations
List webhook configurations
More like this
Webhook initialization
Webhook initialization
More like this
Supported resources and webhook types
Supported resources and webhook types
Read with this
Create webhook configuration
Create webhook configuration
More like this
Webhook configuration object
Webhook configuration object
Read with this
Webhooks
Webhooks
Read with this