Introduction
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
Obtain a bearer token via the OIDC login flow and send it as Authorization: Bearer <token>.
Endpoints
GET api/v1
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "ORBIT API v1"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all event types.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/enums/event-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/enums/event-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"status": 200,
"message": null,
"data": [
{
"value": "conference",
"label": "Conference"
},
{
"value": "workshop",
"label": "Workshop"
},
{
"value": "lecture",
"label": "Lecture"
},
{
"value": "seminar",
"label": "Seminar"
},
{
"value": "meeting",
"label": "Meeting"
},
{
"value": "panel",
"label": "Panel"
},
{
"value": "exhibition",
"label": "Exhibition"
},
{
"value": "performance",
"label": "Performance"
},
{
"value": "other",
"label": "Other"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all event formats.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/enums/event-formats" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/enums/event-formats"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"status": 200,
"message": null,
"data": [
{
"value": "in_person",
"label": "In Person"
},
{
"value": "online",
"label": "Online"
},
{
"value": "hybrid",
"label": "Hybrid"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all seating types.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/enums/seating-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/enums/seating-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"status": 200,
"message": null,
"data": [
{
"value": "theater",
"label": "Theater"
},
{
"value": "classroom",
"label": "Classroom"
},
{
"value": "boardroom",
"label": "Boardroom"
},
{
"value": "u_shape",
"label": "U Shape"
},
{
"value": "banquet",
"label": "Banquet"
},
{
"value": "reception",
"label": "Reception"
},
{
"value": "hollow_square",
"label": "Hollow Square"
},
{
"value": "cinema",
"label": "Cinema"
},
{
"value": "podium",
"label": "Podium"
},
{
"value": "horseshoe",
"label": "Horseshoe"
},
{
"value": "other",
"label": "Other"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of institutions.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/institutions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/institutions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"status": 200,
"message": null,
"data": []
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Export all events as iCal format.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/calendar.ics" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/calendar.ics"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
vary: Origin
{
"message": "Token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Export events for a specific room as iCal format.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/calendar/rooms/architecto.ics" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/calendar/rooms/architecto.ics"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
vary: Origin
{
"message": "Token required"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get the current authenticated user info.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/me" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/me"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Log the user out - invalidates the session.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/auth/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/auth/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get pending events (for managers).
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/events/pending" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/pending"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch approve multiple events.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/batch-approve" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"event_ids\": [
\"6ff8f7f6-1eb3-3525-be4a-3932c805afed\"
],
\"comment\": \"g\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/batch-approve"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_ids": [
"6ff8f7f6-1eb3-3525-be4a-3932c805afed"
],
"comment": "g"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Batch reject multiple events.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/batch-reject" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"event_ids\": [
\"6ff8f7f6-1eb3-3525-be4a-3932c805afed\"
],
\"comment\": \"g\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/batch-reject"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"event_ids": [
"6ff8f7f6-1eb3-3525-be4a-3932c805afed"
],
"comment": "g"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
List notifications for the current user.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/notifications" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/notifications"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get unread notification count for the current user.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/notifications/unread-count" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/notifications/unread-count"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mark a single notification as read.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/notifications/architecto/read" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/notifications/architecto/read"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mark all notifications as read.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/notifications/read-all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/notifications/read-all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of events.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/events" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created event.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"start_at\": \"2026-03-07T17:27:32\",
\"end_at\": \"2052-03-30\",
\"is_recurring\": false,
\"recurrence_rule\": \"n\",
\"recurrence_ends_at\": \"2052-03-30\",
\"recurrence_count\": 22,
\"recurrence_timezone\": \"Antarctica\\/Rothera\",
\"prep_before_minutes\": 12,
\"cleanup_after_minutes\": 77,
\"room_id\": \"a1a0a47d-e8c3-3cf0-8e6e-c1ff9dca5d1f\",
\"notes\": \"architecto\",
\"website\": \"n\",
\"contact_email\": \"ashly64@example.com\",
\"status\": \"approved\",
\"category\": {
\"event_type\": \"conference\",
\"format\": \"hybrid\",
\"institution_id\": \"21c4122b-d554-3723-966c-6d723ea5293f\",
\"institution\": \"l\"
},
\"roles\": [
{
\"user_name\": \"j\",
\"user_email\": \"lafayette.considine@example.com\",
\"role\": \"room_user\"
}
],
\"requirements\": [
{
\"kind\": \"pr\",
\"is_required\": false,
\"details\": \"architecto\"
}
]
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"description": "Eius et animi quos velit et.",
"start_at": "2026-03-07T17:27:32",
"end_at": "2052-03-30",
"is_recurring": false,
"recurrence_rule": "n",
"recurrence_ends_at": "2052-03-30",
"recurrence_count": 22,
"recurrence_timezone": "Antarctica\/Rothera",
"prep_before_minutes": 12,
"cleanup_after_minutes": 77,
"room_id": "a1a0a47d-e8c3-3cf0-8e6e-c1ff9dca5d1f",
"notes": "architecto",
"website": "n",
"contact_email": "ashly64@example.com",
"status": "approved",
"category": {
"event_type": "conference",
"format": "hybrid",
"institution_id": "21c4122b-d554-3723-966c-6d723ea5293f",
"institution": "l"
},
"roles": [
{
"user_name": "j",
"user_email": "lafayette.considine@example.com",
"role": "room_user"
}
],
"requirements": [
{
"kind": "pr",
"is_required": false,
"details": "architecto"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified event.
requires authentication
If $id contains '::' it is an occurrence ID in format {series_id}::{occurrence_date}.
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/events/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified event.
requires authentication
Example request:
curl --request PUT \
"https://orbit.ddev.site/api/v1/events/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"start_at\": \"2026-03-07T17:27:32\",
\"end_at\": \"2052-03-30\",
\"is_recurring\": false,
\"recurrence_rule\": \"n\",
\"recurrence_ends_at\": \"2026-03-07T17:27:32\",
\"recurrence_count\": 7,
\"recurrence_timezone\": \"America\\/Bahia_Banderas\",
\"prep_before_minutes\": 77,
\"cleanup_after_minutes\": 8,
\"room_id\": \"d6fa562b-acd5-35ff-babb-d11194d3737b\",
\"notes\": \"architecto\",
\"website\": \"n\",
\"contact_email\": \"ashly64@example.com\",
\"category\": {
\"event_type\": \"panel\",
\"format\": \"online\",
\"institution_id\": \"21c4122b-d554-3723-966c-6d723ea5293f\",
\"institution\": \"l\"
}
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"description": "Eius et animi quos velit et.",
"start_at": "2026-03-07T17:27:32",
"end_at": "2052-03-30",
"is_recurring": false,
"recurrence_rule": "n",
"recurrence_ends_at": "2026-03-07T17:27:32",
"recurrence_count": 7,
"recurrence_timezone": "America\/Bahia_Banderas",
"prep_before_minutes": 77,
"cleanup_after_minutes": 8,
"room_id": "d6fa562b-acd5-35ff-babb-d11194d3737b",
"notes": "architecto",
"website": "n",
"contact_email": "ashly64@example.com",
"category": {
"event_type": "panel",
"format": "online",
"institution_id": "21c4122b-d554-3723-966c-6d723ea5293f",
"institution": "l"
}
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified event.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/events/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of event templates for the current user.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/event-templates" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/event-templates"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created event template.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/event-templates" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"template\": {
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"room_id\": \"21c4122b-d554-3723-966c-6d723ea5293f\",
\"notes\": \"architecto\",
\"website\": \"n\",
\"contact_email\": \"ashly64@example.com\",
\"prep_before_minutes\": 60,
\"cleanup_after_minutes\": 42,
\"category\": {
\"event_type\": \"performance\",
\"format\": \"online\",
\"institution_id\": \"add3503c-ebff-3875-93af-b8c6a695762b\"
},
\"roles\": [
{
\"user_name\": \"n\",
\"user_email\": \"cecil42@example.com\",
\"role\": \"extra_responsible\"
}
],
\"requirements\": [
{
\"kind\": \"catering\",
\"is_required\": true,
\"details\": \"architecto\"
}
]
}
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/event-templates"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"template": {
"title": "b",
"description": "Eius et animi quos velit et.",
"room_id": "21c4122b-d554-3723-966c-6d723ea5293f",
"notes": "architecto",
"website": "n",
"contact_email": "ashly64@example.com",
"prep_before_minutes": 60,
"cleanup_after_minutes": 42,
"category": {
"event_type": "performance",
"format": "online",
"institution_id": "add3503c-ebff-3875-93af-b8c6a695762b"
},
"roles": [
{
"user_name": "n",
"user_email": "cecil42@example.com",
"role": "extra_responsible"
}
],
"requirements": [
{
"kind": "catering",
"is_required": true,
"details": "architecto"
}
]
}
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a single event template for the current user.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/event-templates/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/event-templates/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update an event template.
requires authentication
Example request:
curl --request PUT \
"https://orbit.ddev.site/api/v1/event-templates/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"template\": {
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"room_id\": \"21c4122b-d554-3723-966c-6d723ea5293f\",
\"notes\": \"architecto\",
\"website\": \"n\",
\"contact_email\": \"ashly64@example.com\",
\"prep_before_minutes\": 60,
\"cleanup_after_minutes\": 42,
\"category\": {
\"event_type\": \"performance\",
\"format\": \"in_person\",
\"institution_id\": \"add3503c-ebff-3875-93af-b8c6a695762b\"
},
\"roles\": [
{
\"user_name\": \"n\",
\"user_email\": \"cecil42@example.com\",
\"role\": \"extra_responsible\"
}
],
\"requirements\": [
{
\"kind\": \"setup\",
\"is_required\": true,
\"details\": \"architecto\"
}
]
}
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/event-templates/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"template": {
"title": "b",
"description": "Eius et animi quos velit et.",
"room_id": "21c4122b-d554-3723-966c-6d723ea5293f",
"notes": "architecto",
"website": "n",
"contact_email": "ashly64@example.com",
"prep_before_minutes": 60,
"cleanup_after_minutes": 42,
"category": {
"event_type": "performance",
"format": "in_person",
"institution_id": "add3503c-ebff-3875-93af-b8c6a695762b"
},
"roles": [
{
"user_name": "n",
"user_email": "cecil42@example.com",
"role": "extra_responsible"
}
],
"requirements": [
{
"kind": "setup",
"is_required": true,
"details": "architecto"
}
]
}
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete an event template.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/event-templates/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/event-templates/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Submit event for approval (DRAFT -> PENDING).
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/architecto/submit" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/submit"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve event (PENDING -> APPROVED).
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/architecto/approve" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"b\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/approve"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reject event (PENDING -> DRAFT).
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/architecto/reject" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"b\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/reject"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Return event in the approval flow.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/architecto/return" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"b\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/return"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Discard event in the approval flow.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/architecto/discard" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"b\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/discard"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cancel event (any -> CANCELLED).
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/architecto/cancel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"b\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/cancel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment": "b"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get approval history for an event.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/events/architecto/approval-history" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/approval-history"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get approval summary steps for an event.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/events/architecto/approval-summary" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/architecto/approval-summary"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show the merged series + override data for a single occurrence.
requires authentication
Returns the series event data merged with any non-null override fields. {occurrence} is a URL-encoded ISO 8601 datetime of the occurrence's original start_at.
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/occurrences/|{+" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/occurrences/|{+"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Upsert an override for a single occurrence.
requires authentication
Example request:
curl --request PUT \
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/occurrences/|{+" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_cancelled\": false,
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"start_at\": \"2026-03-07T17:27:32\",
\"end_at\": \"2052-03-30\",
\"room_id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\",
\"notes\": \"architecto\",
\"website\": \"n\",
\"contact_email\": \"ashly64@example.com\",
\"prep_before_minutes\": 60,
\"cleanup_after_minutes\": 42
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/occurrences/|{+"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_cancelled": false,
"title": "b",
"description": "Eius et animi quos velit et.",
"start_at": "2026-03-07T17:27:32",
"end_at": "2052-03-30",
"room_id": "a4855dc5-0acb-33c3-b921-f4291f719ca0",
"notes": "architecto",
"website": "n",
"contact_email": "ashly64@example.com",
"prep_before_minutes": 60,
"cleanup_after_minutes": 42
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the override for a single occurrence (reverts to series defaults).
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/occurrences/|{+" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/occurrences/|{+"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Upload an attachment to an event.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/attachments" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "file=@/tmp/phptskgt1mlun5s6g2Q1Zi" const url = new URL(
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/attachments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete an event attachment.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/attachments/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/events/019cbe49-8f1e-7039-9d27-a1875bc85179/attachments/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of rooms.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/rooms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/rooms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created room.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/rooms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"capacity\": 16,
\"equipment\": \"architecto\",
\"location\": \"n\",
\"is_active\": true,
\"venue_id\": \"6b72fe4a-5b40-307c-bc24-f79acf9a1bb9\",
\"seating_type\": \"other\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/rooms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Eius et animi quos velit et.",
"capacity": 16,
"equipment": "architecto",
"location": "n",
"is_active": true,
"venue_id": "6b72fe4a-5b40-307c-bc24-f79acf9a1bb9",
"seating_type": "other"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified room.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/rooms/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified room.
requires authentication
Example request:
curl --request PUT \
"https://orbit.ddev.site/api/v1/rooms/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Eius et animi quos velit et.\",
\"capacity\": 16,
\"equipment\": \"architecto\",
\"location\": \"n\",
\"is_active\": true,
\"venue_id\": \"6b72fe4a-5b40-307c-bc24-f79acf9a1bb9\",
\"seating_type\": \"reception\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"description": "Eius et animi quos velit et.",
"capacity": 16,
"equipment": "architecto",
"location": "n",
"is_active": true,
"venue_id": "6b72fe4a-5b40-307c-bc24-f79acf9a1bb9",
"seating_type": "reception"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified room (soft delete via is_active).
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/rooms/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get availability schedules for a room.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/rooms/architecto/availability" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Set availability for a room.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/rooms/architecto/availability" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"type\": \"blocked\",
\"days\": [
\"wednesday\"
],
\"start_date\": \"2026-03-07\",
\"end_date\": \"2052-03-30\",
\"periods\": [
{
\"start\": \"17:27\",
\"end\": \"2052-03-30\"
}
]
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto/availability"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"type": "blocked",
"days": [
"wednesday"
],
"start_date": "2026-03-07",
"end_date": "2052-03-30",
"periods": [
{
"start": "17:27",
"end": "2052-03-30"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete an availability schedule.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/rooms/architecto/availability/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto/availability/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get available time slots for a room.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/rooms/architecto/available-slots" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"from\": \"2026-03-07\",
\"to\": \"2052-03-30\",
\"duration\": 22
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto/available-slots"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"from": "2026-03-07",
"to": "2052-03-30",
"duration": 22
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Upload an image to a room.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/rooms/architecto/images" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "file=@/tmp/phpve47f520an410RMMm6e" const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto/images"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a room image.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/rooms/architecto/images/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/rooms/architecto/images/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of venues.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/venues" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/venues"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created venue.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/venues" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"address\": \"architecto\",
\"is_active\": false
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/venues"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"address": "architecto",
"is_active": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified venue.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/venues/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/venues/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified venue.
requires authentication
Example request:
curl --request PUT \
"https://orbit.ddev.site/api/v1/venues/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"address\": \"architecto\",
\"is_active\": true
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/venues/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"address": "architecto",
"is_active": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified venue (soft delete via is_active).
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/venues/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/venues/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get rooms for a specific venue.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/venues/architecto/rooms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/venues/architecto/rooms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created institution.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/institutions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"code\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"is_active\": false,
\"sort_order\": 60
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/institutions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"code": "n",
"description": "Eius et animi quos velit et.",
"is_active": false,
"sort_order": 60
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified institution.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/institutions/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/institutions/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified institution.
requires authentication
Example request:
curl --request PUT \
"https://orbit.ddev.site/api/v1/institutions/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Eius et animi quos velit et.\",
\"is_active\": true,
\"sort_order\": 60
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/institutions/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"description": "Eius et animi quos velit et.",
"is_active": true,
"sort_order": 60
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified institution.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/institutions/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/institutions/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of the user's calendar tokens.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/calendar/tokens" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/calendar/tokens"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created calendar token.
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/calendar/tokens" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"room_id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/calendar/tokens"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"room_id": "a4855dc5-0acb-33c3-b921-f4291f719ca0"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified calendar token.
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/calendar/tokens/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/calendar/tokens/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified calendar token.
requires authentication
Example request:
curl --request DELETE \
"https://orbit.ddev.site/api/v1/calendar/tokens/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/calendar/tokens/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/admin/exports
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/admin/exports" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/admin/exports"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/admin/exports
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/admin/exports" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"room_schedule\",
\"from_date\": \"2026-03-07T17:27:32\",
\"to_date\": \"2052-03-30\",
\"status\": \"cancelled\",
\"room_id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\",
\"venue_id\": \"c90237e9-ced5-3af6-88ea-84aeaa148878\"
}"
const url = new URL(
"https://orbit.ddev.site/api/v1/admin/exports"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "room_schedule",
"from_date": "2026-03-07T17:27:32",
"to_date": "2052-03-30",
"status": "cancelled",
"room_id": "a4855dc5-0acb-33c3-b921-f4291f719ca0",
"venue_id": "c90237e9-ced5-3af6-88ea-84aeaa148878"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/admin/exports/{id}
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/admin/exports/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/admin/exports/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/admin/exports/{id}/run
requires authentication
Example request:
curl --request POST \
"https://orbit.ddev.site/api/v1/admin/exports/architecto/run" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/admin/exports/architecto/run"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/admin/exports/{id}/download
requires authentication
Example request:
curl --request GET \
--get "https://orbit.ddev.site/api/v1/admin/exports/architecto/download" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://orbit.ddev.site/api/v1/admin/exports/architecto/download"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.