Get all organizations and teams

For sending this request, you have to be authorized. See the https://viovendi.atlassian.net/wiki/spaces/API/pages/36929656 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

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" } } }