Introduction
API de gestiΓ³n de usuarios, roles y permisos del sistema.
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.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Access Control Management
GET api/v1/roles
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"is_active_only\": false,
\"sort_by\": \"description\",
\"sort_order\": \"asc\",
\"page\": 22,
\"per_page\": 7
}"
const url = new URL(
"http://localhost/api/v1/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"is_active_only": false,
"sort_by": "description",
"sort_order": "asc",
"page": 22,
"per_page": 7
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/roles/permissions
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/roles/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/roles/permissions"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/roles/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/roles/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/roles/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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/roles/{role}/users
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/roles/architecto/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first\": 27,
\"max\": 22
}"
const url = new URL(
"http://localhost/api/v1/roles/architecto/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first": 27,
"max": 22
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/roles/{role}/permissions
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/roles/architecto/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/roles/architecto/permissions"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/roles
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\",
\"permissions\": [
\"architecto\"
]
}"
const url = new URL(
"http://localhost/api/v1/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat.",
"permissions": [
"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.
PATCH api/v1/roles/{id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/roles/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\",
\"is_active\": true
}"
const url = new URL(
"http://localhost/api/v1/roles/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat.",
"is_active": true
};
fetch(url, {
method: "PATCH",
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.
PUT api/v1/roles/{role}/permissions
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/roles/architecto/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/roles/architecto/permissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
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.
PUT api/v1/roles/users/{user}/role
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/roles/users/architecto/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role_name\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/v1/roles/users/architecto/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"role_name": "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.
POST api/v1/roles/assign
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/roles/assign" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"6ff8f7f6-1eb3-3525-be4a-3932c805afed\",
\"role_name\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/v1/roles/assign"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "6ff8f7f6-1eb3-3525-be4a-3932c805afed",
"role_name": "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.
POST api/v1/roles/unassign
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/roles/unassign" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"6ff8f7f6-1eb3-3525-be4a-3932c805afed\",
\"role_name\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/v1/roles/unassign"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "6ff8f7f6-1eb3-3525-be4a-3932c805afed",
"role_name": "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.
Assignment Engine
Get assignment engine configuration
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspections/assignment-engine" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspections/assignment-engine"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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 assignment engine configuration
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspections/assignment-engine" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_active\": true,
\"weight_distance\": 1,
\"weight_workload\": 1,
\"weight_hours\": 0
}"
const url = new URL(
"http://localhost/api/v1/inspections/assignment-engine"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_active": true,
"weight_distance": 1,
"weight_workload": 1,
"weight_hours": 0
};
fetch(url, {
method: "PATCH",
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.
Calendar Management
POST api/v1/calendar-events/import
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/calendar-events/import" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "file=@/tmp/php0oo8an2jfehfchajFlA" const url = new URL(
"http://localhost/api/v1/calendar-events/import"
);
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.
POST api/v1/calendar-events
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/calendar-events" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-02-20T19:44:17\",
\"end_date\": \"2052-03-15\",
\"name\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"is_blocking\": false,
\"frequency\": {
\"interval\": 16,
\"unit\": \"architecto\",
\"day_of_week\": \"architecto\",
\"repeat_mode\": \"architecto\",
\"day_of_month\": 22,
\"week\": \"architecto\",
\"month\": \"architecto\",
\"days_of_month\": [
22
]
}
}"
const url = new URL(
"http://localhost/api/v1/calendar-events"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-02-20T19:44:17",
"end_date": "2052-03-15",
"name": "n",
"description": "Eius et animi quos velit et.",
"is_blocking": false,
"frequency": {
"interval": 16,
"unit": "architecto",
"day_of_week": "architecto",
"repeat_mode": "architecto",
"day_of_month": 22,
"week": "architecto",
"month": "architecto",
"days_of_month": [
22
]
}
};
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/calendar-events
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/calendar-events" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"start_date\": \"2026-02-20T19:44:17\",
\"end_date\": \"2052-03-15\"
}"
const url = new URL(
"http://localhost/api/v1/calendar-events"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"start_date": "2026-02-20T19:44:17",
"end_date": "2052-03-15"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/calendar-events/{calendarEvent_id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/calendar-events/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/calendar-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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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.
PATCH api/v1/calendar-events/{calendarEvent_id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/calendar-events/architecto" \
--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.\",
\"start_date\": \"2026-02-20T19:44:17\",
\"end_date\": \"2052-03-15\",
\"is_blocking\": false,
\"frequency\": {
\"interval\": 22,
\"unit\": \"architecto\",
\"day_of_week\": \"architecto\",
\"repeat_mode\": \"architecto\",
\"day_of_month\": 22,
\"week\": \"architecto\",
\"month\": \"architecto\",
\"days_of_month\": [
22
]
}
}"
const url = new URL(
"http://localhost/api/v1/calendar-events/architecto"
);
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.",
"start_date": "2026-02-20T19:44:17",
"end_date": "2052-03-15",
"is_blocking": false,
"frequency": {
"interval": 22,
"unit": "architecto",
"day_of_week": "architecto",
"repeat_mode": "architecto",
"day_of_month": 22,
"week": "architecto",
"month": "architecto",
"days_of_month": [
22
]
}
};
fetch(url, {
method: "PATCH",
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 api/v1/calendar-events/{calendarEvent_id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/calendar-events/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/calendar-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.
Get business days configuration
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/business-days" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/business-days"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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 business days configuration
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/business-days" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"monday\": false,
\"tuesday\": true,
\"wednesday\": true,
\"thursday\": true,
\"friday\": false,
\"saturday\": false,
\"sunday\": false
}"
const url = new URL(
"http://localhost/api/v1/business-days"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"monday": false,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": false,
"saturday": false,
"sunday": false
};
fetch(url, {
method: "PATCH",
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.
Endpoints
GET api/v1/health
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/health" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/health"
);
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
{
"success": true,
"message": "API is healthy",
"timestamp": "2026-02-20T19:44:16+00:00"
}
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.
Group Management
GET api/v1/groups
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"bngzmiyvdljnikhwaykcmyuwpwlvqwrsitcpscqldzsnrwtujwvlxjklqppwqbewtnnoqitpxn\",
\"per_page\": 23,
\"page\": 80,
\"sort_by\": \"created_at\",
\"sort_order\": \"asc\"
}"
const url = new URL(
"http://localhost/api/v1/groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "bngzmiyvdljnikhwaykcmyuwpwlvqwrsitcpscqldzsnrwtujwvlxjklqppwqbewtnnoqitpxn",
"per_page": 23,
"page": 80,
"sort_by": "created_at",
"sort_order": "asc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/groups/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/groups/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/groups/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 (404):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"success": false,
"message": "Not found",
"errors": null
}
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/groups
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\",
\"user_ids\": [
\"5707ca55-f609-3528-be8b-1baeaee1567e\"
]
}"
const url = new URL(
"http://localhost/api/v1/groups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat.",
"user_ids": [
"5707ca55-f609-3528-be8b-1baeaee1567e"
]
};
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.
PUT api/v1/groups/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/groups/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\",
\"status\": \"active\"
}"
const url = new URL(
"http://localhost/api/v1/groups/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat.",
"status": "active"
};
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 api/v1/groups/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/groups/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/groups/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.
Inspection
POST api/v1/inspections/{inspection_id}/start
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections/architecto/start" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"latitude\": -89,
\"longitude\": -179
}"
const url = new URL(
"http://localhost/api/v1/inspections/architecto/start"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"latitude": -89,
"longitude": -179
};
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.
POST api/v1/inspections/{inspection_id}/finalize
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections/architecto/finalize" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "finalize_location[latitude]=-89"\
--form "finalize_location[longitude]=-179"\
--form "start_location[latitude]=-90"\
--form "start_location[longitude]=-179"\
--form "answers[][template_id]=6ff8f7f6-1eb3-3525-be4a-3932c805afed"\
--form "answers[][answers][][item_id]=6ff8f7f6-1eb3-3525-be4a-3932c805afed"\
--form "answers[][answers][][answer_value]=architecto"\
--form "answers[][answers][][comment]=n"\
--form "answers[][answers][][latitude]=-90"\
--form "answers[][answers][][longitude]=-179"\
--form "answers[][answers][][answered_at]=2026-02-20T19:44:17"\
--form "signatures[][signer_type]=inspector"\
--form "signatures[][signer_name]=m"\
--form "signatures[][signer_document]=iyvdljnikhwaykcm"\
--form "signatures[][signer_role]=y"\
--form "signatures[][latitude]=-90"\
--form "signatures[][longitude]=-180"\
--form "findings[][title]=p"\
--form "findings[][description]=Qui commodi incidunt iure odit."\
--form "findings[][severity]=moderate"\
--form "findings[][category]=s"\
--form "findings[][status]=i"\
--form "findings[][inspection_template_item_id]=665a39c0-48af-31f1-a546-aa4f41372488"\
--form "findings[][section_title]=p"\
--form "findings[][latitude]=-90"\
--form "findings[][longitude]=-180"\
--form "findings[][recommendations][]=q"\
--form "answers[][answers][][evidence_files][]=@/tmp/php1e8060pr559q1iDmmeL" \
--form "signatures[][signature_image]=@/tmp/php6469faustpkg1MCGFfL" \
--form "signatures[][dui_image]=@/tmp/php4rim0n0iak6mbcgpIfL" \
--form "findings[][evidence_files][]=@/tmp/phpjmesmhab8pvfaAlfOfL" const url = new URL(
"http://localhost/api/v1/inspections/architecto/finalize"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('finalize_location[latitude]', '-89');
body.append('finalize_location[longitude]', '-179');
body.append('start_location[latitude]', '-90');
body.append('start_location[longitude]', '-179');
body.append('answers[][template_id]', '6ff8f7f6-1eb3-3525-be4a-3932c805afed');
body.append('answers[][answers][][item_id]', '6ff8f7f6-1eb3-3525-be4a-3932c805afed');
body.append('answers[][answers][][answer_value]', 'architecto');
body.append('answers[][answers][][comment]', 'n');
body.append('answers[][answers][][latitude]', '-90');
body.append('answers[][answers][][longitude]', '-179');
body.append('answers[][answers][][answered_at]', '2026-02-20T19:44:17');
body.append('signatures[][signer_type]', 'inspector');
body.append('signatures[][signer_name]', 'm');
body.append('signatures[][signer_document]', 'iyvdljnikhwaykcm');
body.append('signatures[][signer_role]', 'y');
body.append('signatures[][latitude]', '-90');
body.append('signatures[][longitude]', '-180');
body.append('findings[][title]', 'p');
body.append('findings[][description]', 'Qui commodi incidunt iure odit.');
body.append('findings[][severity]', 'moderate');
body.append('findings[][category]', 's');
body.append('findings[][status]', 'i');
body.append('findings[][inspection_template_item_id]', '665a39c0-48af-31f1-a546-aa4f41372488');
body.append('findings[][section_title]', 'p');
body.append('findings[][latitude]', '-90');
body.append('findings[][longitude]', '-180');
body.append('findings[][recommendations][]', 'q');
body.append('answers[][answers][][evidence_files][]', document.querySelector('input[name="answers[][answers][][evidence_files][]"]').files[0]);
body.append('signatures[][signature_image]', document.querySelector('input[name="signatures[][signature_image]"]').files[0]);
body.append('signatures[][dui_image]', document.querySelector('input[name="signatures[][dui_image]"]').files[0]);
body.append('findings[][evidence_files][]', document.querySelector('input[name="findings[][evidence_files][]"]').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.
Inspection Change Reason Management
GET api/v1/inspection-change-reasons
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-change-reasons" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 16,
\"per_page\": 22,
\"search\": \"g\",
\"active_only\": false,
\"sort_by\": \"created_at\",
\"sort_order\": \"desc\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-change-reasons"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 16,
"per_page": 22,
"search": "g",
"active_only": false,
"sort_by": "created_at",
"sort_order": "desc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-change-reasons/{reason_id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-change-reasons/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-change-reasons/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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-change-reasons
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-change-reasons" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-change-reasons"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "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.
PATCH api/v1/inspection-change-reasons/{reason_id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspection-change-reasons/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"is_active\": true
}"
const url = new URL(
"http://localhost/api/v1/inspection-change-reasons/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"is_active": true
};
fetch(url, {
method: "PATCH",
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 api/v1/inspection-change-reasons/{reason_id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/inspection-change-reasons/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-change-reasons/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.
Inspection Management
GET api/v1/inspections
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspections" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"bngzmiyvdljnikhwaykcmyuwpwlvqwrsitcpscqldzsnrwtujwvlxjklqppwqbewtnnoqitpxn\",
\"status\": \"architecto\",
\"statuses\": [
\"architecto\"
],
\"zones\": [
\"architecto\"
],
\"inspection_type_ids\": [
\"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
],
\"from_date\": \"2026-02-20T19:44:17\",
\"to_date\": \"2052-03-15\",
\"inspector_id\": 16,
\"per_page\": 22,
\"page\": 67,
\"sort_by\": \"establishment_name\",
\"sort_order\": \"asc\"
}"
const url = new URL(
"http://localhost/api/v1/inspections"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "bngzmiyvdljnikhwaykcmyuwpwlvqwrsitcpscqldzsnrwtujwvlxjklqppwqbewtnnoqitpxn",
"status": "architecto",
"statuses": [
"architecto"
],
"zones": [
"architecto"
],
"inspection_type_ids": [
"a4855dc5-0acb-33c3-b921-f4291f719ca0"
],
"from_date": "2026-02-20T19:44:17",
"to_date": "2052-03-15",
"inspector_id": 16,
"per_page": 22,
"page": 67,
"sort_by": "establishment_name",
"sort_order": "asc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspections
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"procedure_id\": \"b\",
\"inspection_type_ids\": [
\"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
],
\"inspection_template_ids\": [
\"c90237e9-ced5-3af6-88ea-84aeaa148878\"
],
\"establishment_name\": \"i\",
\"establishment_phone\": \"yvdljnikhwaykcmy\",
\"associated_checklist_id\": \"u\",
\"associated_checklist_name\": \"w\",
\"checklist_questions_count\": 67,
\"previous_score\": 0,
\"estimated_duration_minutes\": 32,
\"required_inspectors_count\": 10,
\"procedure_submission_status\": \"q\",
\"status\": \"architecto\",
\"zone\": \"architecto\",
\"occurrences\": 22,
\"location\": {
\"latitude\": -90,
\"longitude\": -179,
\"address\": \"m\"
},
\"instructions\": \"architecto\",
\"procedure_data\": {
\"request_id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\",
\"procedure_number\": \"z\",
\"procedure_status\": \"m\",
\"regulated_entity\": \"i\",
\"responsible_person\": \"y\",
\"responsible_phone\": \"vdljnikhwaykcmyu\",
\"responsible_email\": \"hirthe.theo@example.com\",
\"form_id\": \"deea2dce-ea5d-340f-90ce-c06cddd4c879\",
\"form_name\": \"r\",
\"submission_date\": \"2026-02-20T19:44:17\",
\"form_status\": \"s\",
\"comments\": [
\"architecto\"
],
\"observations\": [
{
\"id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\",
\"comment\": \"architecto\",
\"author\": \"n\",
\"created_at\": \"2026-02-20T19:44:17\"
}
]
},
\"non_working_days\": [
\"2026-02-20\"
],
\"report_file\": {
\"status\": \"n\",
\"generated_at\": \"2026-02-20T19:44:17\",
\"url\": \"http:\\/\\/crooks.biz\\/et-fugiat-sunt-nihil-accusantium\",
\"file_size\": 52,
\"generation_error\": \"architecto\"
},
\"scheduled_at\": \"2026-02-20T19:44:17\",
\"assigned_inspectors\": [
{
\"inspector_id\": 16,
\"role\": \"architecto\"
}
],
\"checklists\": [
{
\"id\": \"6b72fe4a-5b40-307c-bc24-f79acf9a1bb9\",
\"name\": \"m\",
\"items\": [
{
\"id\": \"a1a0a47d-e8c3-3cf0-8e6e-c1ff9dca5d1f\",
\"description\": \"Eius et animi quos velit et.\",
\"completed\": true
}
]
}
],
\"authorized_inspectors\": [
{
\"name\": \"v\",
\"dui\": \"dljnikhwaykcmyuw\",
\"image\": \"p\",
\"phone\": \"wlvqwrsitcpscqld\",
\"role\": \"architecto\"
}
],
\"notes\": [
{
\"note\": \"architecto\",
\"source\": \"n\"
}
],
\"findings\": [
{
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"severity\": \"moderate\",
\"category\": \"v\",
\"status\": \"d\",
\"resolved_at\": \"2026-02-20T19:44:17\",
\"photos\": [
\"l\"
],
\"recommendations\": [
\"architecto\"
]
}
],
\"comments\": [
{
\"comment\": \"architecto\",
\"inspector_id\": 16
}
]
}"
const url = new URL(
"http://localhost/api/v1/inspections"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"procedure_id": "b",
"inspection_type_ids": [
"a4855dc5-0acb-33c3-b921-f4291f719ca0"
],
"inspection_template_ids": [
"c90237e9-ced5-3af6-88ea-84aeaa148878"
],
"establishment_name": "i",
"establishment_phone": "yvdljnikhwaykcmy",
"associated_checklist_id": "u",
"associated_checklist_name": "w",
"checklist_questions_count": 67,
"previous_score": 0,
"estimated_duration_minutes": 32,
"required_inspectors_count": 10,
"procedure_submission_status": "q",
"status": "architecto",
"zone": "architecto",
"occurrences": 22,
"location": {
"latitude": -90,
"longitude": -179,
"address": "m"
},
"instructions": "architecto",
"procedure_data": {
"request_id": "a4855dc5-0acb-33c3-b921-f4291f719ca0",
"procedure_number": "z",
"procedure_status": "m",
"regulated_entity": "i",
"responsible_person": "y",
"responsible_phone": "vdljnikhwaykcmyu",
"responsible_email": "hirthe.theo@example.com",
"form_id": "deea2dce-ea5d-340f-90ce-c06cddd4c879",
"form_name": "r",
"submission_date": "2026-02-20T19:44:17",
"form_status": "s",
"comments": [
"architecto"
],
"observations": [
{
"id": "a4855dc5-0acb-33c3-b921-f4291f719ca0",
"comment": "architecto",
"author": "n",
"created_at": "2026-02-20T19:44:17"
}
]
},
"non_working_days": [
"2026-02-20"
],
"report_file": {
"status": "n",
"generated_at": "2026-02-20T19:44:17",
"url": "http:\/\/crooks.biz\/et-fugiat-sunt-nihil-accusantium",
"file_size": 52,
"generation_error": "architecto"
},
"scheduled_at": "2026-02-20T19:44:17",
"assigned_inspectors": [
{
"inspector_id": 16,
"role": "architecto"
}
],
"checklists": [
{
"id": "6b72fe4a-5b40-307c-bc24-f79acf9a1bb9",
"name": "m",
"items": [
{
"id": "a1a0a47d-e8c3-3cf0-8e6e-c1ff9dca5d1f",
"description": "Eius et animi quos velit et.",
"completed": true
}
]
}
],
"authorized_inspectors": [
{
"name": "v",
"dui": "dljnikhwaykcmyuw",
"image": "p",
"phone": "wlvqwrsitcpscqld",
"role": "architecto"
}
],
"notes": [
{
"note": "architecto",
"source": "n"
}
],
"findings": [
{
"title": "g",
"description": "Eius et animi quos velit et.",
"severity": "moderate",
"category": "v",
"status": "d",
"resolved_at": "2026-02-20T19:44:17",
"photos": [
"l"
],
"recommendations": [
"architecto"
]
}
],
"comments": [
{
"comment": "architecto",
"inspector_id": 16
}
]
};
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/inspections/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspections/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspections/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 (404):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"success": false,
"message": "Not found",
"errors": null
}
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.
PATCH api/v1/inspections/{id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspections/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"procedure_id\": \"b\",
\"inspection_type_ids\": [
\"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
],
\"inspection_template_ids\": [
\"c90237e9-ced5-3af6-88ea-84aeaa148878\"
],
\"establishment_name\": \"i\",
\"establishment_phone\": \"yvdljnikhwaykcmy\",
\"associated_checklist_id\": \"u\",
\"associated_checklist_name\": \"w\",
\"checklist_questions_count\": 67,
\"previous_score\": 0,
\"estimated_duration_minutes\": 32,
\"required_inspectors_count\": 10,
\"procedure_submission_status\": \"q\",
\"status\": \"architecto\",
\"zone\": \"architecto\",
\"occurrences\": 22,
\"location\": {
\"latitude\": -90,
\"longitude\": -179,
\"address\": \"m\"
},
\"instructions\": \"architecto\",
\"procedure_data\": {
\"request_id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\",
\"procedure_number\": \"z\",
\"procedure_status\": \"m\",
\"regulated_entity\": \"i\",
\"responsible_person\": \"y\",
\"responsible_phone\": \"vdljnikhwaykcmyu\",
\"responsible_email\": \"hirthe.theo@example.com\",
\"form_id\": \"deea2dce-ea5d-340f-90ce-c06cddd4c879\",
\"form_name\": \"r\",
\"submission_date\": \"2026-02-20T19:44:17\",
\"form_status\": \"s\",
\"comments\": [
\"architecto\"
],
\"observations\": [
{
\"id\": \"a4855dc5-0acb-33c3-b921-f4291f719ca0\",
\"comment\": \"architecto\",
\"author\": \"n\",
\"created_at\": \"2026-02-20T19:44:17\"
}
]
},
\"non_working_days\": [
\"2026-02-20\"
],
\"report_file\": {
\"status\": \"n\",
\"generated_at\": \"2026-02-20T19:44:17\",
\"url\": \"http:\\/\\/crooks.biz\\/et-fugiat-sunt-nihil-accusantium\",
\"file_size\": 52,
\"generation_error\": \"architecto\"
},
\"scheduled_at\": \"2026-02-20T19:44:17\",
\"started_at\": \"2026-02-20T19:44:17\",
\"completed_at\": \"2026-02-20T19:44:17\",
\"assigned_inspectors\": [
{
\"inspector_id\": 16,
\"role\": \"architecto\"
}
],
\"checklists\": [
{
\"id\": \"6b72fe4a-5b40-307c-bc24-f79acf9a1bb9\",
\"name\": \"m\",
\"items\": [
{
\"id\": \"a1a0a47d-e8c3-3cf0-8e6e-c1ff9dca5d1f\",
\"description\": \"Eius et animi quos velit et.\",
\"completed\": false
}
]
}
],
\"authorized_inspectors\": [
{
\"name\": \"v\",
\"dui\": \"dljnikhwaykcmyuw\",
\"image\": \"p\",
\"phone\": \"wlvqwrsitcpscqld\",
\"role\": \"architecto\"
}
],
\"notes\": [
{
\"note\": \"architecto\",
\"source\": \"n\"
}
],
\"findings\": [
{
\"title\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"severity\": \"minor\",
\"category\": \"v\",
\"status\": \"d\",
\"resolved_at\": \"2026-02-20T19:44:17\",
\"photos\": [
\"l\"
],
\"recommendations\": [
\"architecto\"
]
}
],
\"comments\": [
{
\"comment\": \"architecto\",
\"inspector_id\": 16
}
]
}"
const url = new URL(
"http://localhost/api/v1/inspections/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"procedure_id": "b",
"inspection_type_ids": [
"a4855dc5-0acb-33c3-b921-f4291f719ca0"
],
"inspection_template_ids": [
"c90237e9-ced5-3af6-88ea-84aeaa148878"
],
"establishment_name": "i",
"establishment_phone": "yvdljnikhwaykcmy",
"associated_checklist_id": "u",
"associated_checklist_name": "w",
"checklist_questions_count": 67,
"previous_score": 0,
"estimated_duration_minutes": 32,
"required_inspectors_count": 10,
"procedure_submission_status": "q",
"status": "architecto",
"zone": "architecto",
"occurrences": 22,
"location": {
"latitude": -90,
"longitude": -179,
"address": "m"
},
"instructions": "architecto",
"procedure_data": {
"request_id": "a4855dc5-0acb-33c3-b921-f4291f719ca0",
"procedure_number": "z",
"procedure_status": "m",
"regulated_entity": "i",
"responsible_person": "y",
"responsible_phone": "vdljnikhwaykcmyu",
"responsible_email": "hirthe.theo@example.com",
"form_id": "deea2dce-ea5d-340f-90ce-c06cddd4c879",
"form_name": "r",
"submission_date": "2026-02-20T19:44:17",
"form_status": "s",
"comments": [
"architecto"
],
"observations": [
{
"id": "a4855dc5-0acb-33c3-b921-f4291f719ca0",
"comment": "architecto",
"author": "n",
"created_at": "2026-02-20T19:44:17"
}
]
},
"non_working_days": [
"2026-02-20"
],
"report_file": {
"status": "n",
"generated_at": "2026-02-20T19:44:17",
"url": "http:\/\/crooks.biz\/et-fugiat-sunt-nihil-accusantium",
"file_size": 52,
"generation_error": "architecto"
},
"scheduled_at": "2026-02-20T19:44:17",
"started_at": "2026-02-20T19:44:17",
"completed_at": "2026-02-20T19:44:17",
"assigned_inspectors": [
{
"inspector_id": 16,
"role": "architecto"
}
],
"checklists": [
{
"id": "6b72fe4a-5b40-307c-bc24-f79acf9a1bb9",
"name": "m",
"items": [
{
"id": "a1a0a47d-e8c3-3cf0-8e6e-c1ff9dca5d1f",
"description": "Eius et animi quos velit et.",
"completed": false
}
]
}
],
"authorized_inspectors": [
{
"name": "v",
"dui": "dljnikhwaykcmyuw",
"image": "p",
"phone": "wlvqwrsitcpscqld",
"role": "architecto"
}
],
"notes": [
{
"note": "architecto",
"source": "n"
}
],
"findings": [
{
"title": "g",
"description": "Eius et animi quos velit et.",
"severity": "minor",
"category": "v",
"status": "d",
"resolved_at": "2026-02-20T19:44:17",
"photos": [
"l"
],
"recommendations": [
"architecto"
]
}
],
"comments": [
{
"comment": "architecto",
"inspector_id": 16
}
]
};
fetch(url, {
method: "PATCH",
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.
POST api/v1/inspections/{inspection_id}/reschedule
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections/architecto/reschedule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"inspector_ids\": [
16
],
\"comment\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/v1/inspections/architecto/reschedule"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"inspector_ids": [
16
],
"comment": "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.
POST api/v1/inspections/{inspection_id}/cancel
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections/architecto/cancel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason_id\": \"6ff8f7f6-1eb3-3525-be4a-3932c805afed\",
\"comment\": \"architecto\",
\"source\": \"app\"
}"
const url = new URL(
"http://localhost/api/v1/inspections/architecto/cancel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason_id": "6ff8f7f6-1eb3-3525-be4a-3932c805afed",
"comment": "architecto",
"source": "app"
};
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 api/v1/inspections/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/inspections/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspections/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.
Reschedule Requests
POST api/v1/inspections/{inspection_id}/reschedule-requests
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections/architecto/reschedule-requests" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"reschedule\",
\"reason_id\": \"6ff8f7f6-1eb3-3525-be4a-3932c805afed\",
\"comment\": \"g\"
}"
const url = new URL(
"http://localhost/api/v1/inspections/architecto/reschedule-requests"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "reschedule",
"reason_id": "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.
POST api/v1/inspections/reschedule-requests/{rescheduleRequest_id}/process
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspections/reschedule-requests/architecto/process" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"pending_approval\",
\"resolution_comment\": \"b\"
}"
const url = new URL(
"http://localhost/api/v1/inspections/reschedule-requests/architecto/process"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "pending_approval",
"resolution_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.
Inspection Skill Management
GET api/v1/inspection-skills
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-skills" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 16,
\"per_page\": 22,
\"search\": \"g\",
\"active_only\": false,
\"sort_by\": \"inspectors_count\",
\"sort_order\": \"asc\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-skills"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 16,
"per_page": 22,
"search": "g",
"active_only": false,
"sort_by": "inspectors_count",
"sort_order": "asc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-skills/{skill_id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-skills/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-skills/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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-skills/{skill_id}/users
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-skills/architecto/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 16,
\"per_page\": 22,
\"search\": \"g\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-skills/architecto/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 16,
"per_page": 22,
"search": "g"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-skills
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-skills" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-skills"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat."
};
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.
PATCH api/v1/inspection-skills/{skill_id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspection-skills/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"description\": \"Et animi quos velit et fugiat.\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-skills/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"description": "Et animi quos velit et fugiat."
};
fetch(url, {
method: "PATCH",
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.
PATCH api/v1/inspection-skills/{skill_id}/toggle
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspection-skills/architecto/toggle" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-skills/architecto/toggle"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
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.
DELETE api/v1/inspection-skills/{skill_id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/inspection-skills/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-skills/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.
Inspection Template Management
GET api/v1/inspection-templates
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-templates" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"from_date\": \"2026-02-20T19:44:18\",
\"to_date\": \"2052-03-15\",
\"sort_by\": \"created_at\",
\"sort_order\": \"asc\",
\"per_page\": 22,
\"page\": 67
}"
const url = new URL(
"http://localhost/api/v1/inspection-templates"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"from_date": "2026-02-20T19:44:18",
"to_date": "2052-03-15",
"sort_by": "created_at",
"sort_order": "asc",
"per_page": 22,
"page": 67
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-templates/{group_uuid}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-templates/{group_uuid}/versions
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-templates/{group_uuid}/versions/{inspectionTemplate_id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/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 (404):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"success": false,
"message": "Not found",
"errors": null
}
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/inspection-templates
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-templates" \
--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.\",
\"approval_threshold\": 1,
\"inspection_type_ids\": [
\"5707ca55-f609-3528-be8b-1baeaee1567e\"
],
\"estimated_duration_minutes\": 19,
\"required_skill_ids\": [
\"architecto\"
],
\"associated_procedure_ids\": [
\"n\"
],
\"steps\": [
{
\"name\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"position\": 60,
\"sections\": [
{
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"position\": 60,
\"items\": [
{
\"type\": \"compliance\",
\"label\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"is_mandatory\": true,
\"requires_evidence\": true,
\"allows_comments\": true,
\"criticality\": \"moderate\",
\"weight\": 60,
\"position\": 42
}
]
}
]
}
]
}"
const url = new URL(
"http://localhost/api/v1/inspection-templates"
);
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.",
"approval_threshold": 1,
"inspection_type_ids": [
"5707ca55-f609-3528-be8b-1baeaee1567e"
],
"estimated_duration_minutes": 19,
"required_skill_ids": [
"architecto"
],
"associated_procedure_ids": [
"n"
],
"steps": [
{
"name": "b",
"description": "Eius et animi quos velit et.",
"position": 60,
"sections": [
{
"title": "b",
"description": "Eius et animi quos velit et.",
"position": 60,
"items": [
{
"type": "compliance",
"label": "b",
"description": "Eius et animi quos velit et.",
"is_mandatory": true,
"requires_evidence": true,
"allows_comments": true,
"criticality": "moderate",
"weight": 60,
"position": 42
}
]
}
]
}
]
};
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.
PATCH api/v1/inspection-templates/{group_uuid}/versions/{inspectionTemplate_id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto" \
--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.\",
\"approval_threshold\": 1,
\"inspection_type_ids\": [
\"5707ca55-f609-3528-be8b-1baeaee1567e\"
],
\"estimated_duration_minutes\": 19,
\"required_skill_ids\": [
\"architecto\"
],
\"associated_procedure_ids\": [
\"n\"
],
\"steps\": [
{
\"name\": \"g\",
\"description\": \"Eius et animi quos velit et.\",
\"position\": 60,
\"sections\": [
{
\"title\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"position\": 60,
\"items\": [
{
\"type\": \"compliance\",
\"label\": \"b\",
\"description\": \"Eius et animi quos velit et.\",
\"is_mandatory\": true,
\"requires_evidence\": true,
\"allows_comments\": false,
\"criticality\": \"mild\",
\"weight\": 60,
\"position\": 42
}
]
}
]
}
]
}"
const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto"
);
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.",
"approval_threshold": 1,
"inspection_type_ids": [
"5707ca55-f609-3528-be8b-1baeaee1567e"
],
"estimated_duration_minutes": 19,
"required_skill_ids": [
"architecto"
],
"associated_procedure_ids": [
"n"
],
"steps": [
{
"name": "g",
"description": "Eius et animi quos velit et.",
"position": 60,
"sections": [
{
"title": "b",
"description": "Eius et animi quos velit et.",
"position": 60,
"items": [
{
"type": "compliance",
"label": "b",
"description": "Eius et animi quos velit et.",
"is_mandatory": true,
"requires_evidence": true,
"allows_comments": false,
"criticality": "mild",
"weight": 60,
"position": 42
}
]
}
]
}
]
};
fetch(url, {
method: "PATCH",
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.
POST api/v1/inspection-templates/{group_uuid}/versions/{inspectionTemplate_id}/activate
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto/activate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto/activate"
);
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.
POST api/v1/inspection-templates/{group_uuid}/versions/{inspectionTemplate_id}/clone
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto/clone" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto/clone"
);
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.
POST api/v1/inspection-templates/{group_uuid}/versions/{inspectionTemplate_id}/deactivate
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto/deactivate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-templates/BcECdBDA-CdED-bFEA-CbCE-BcCdeBfbbebc/versions/architecto/deactivate"
);
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.
Inspection Type Management
GET api/v1/inspection-types
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"is_active\": false,
\"updated_from\": \"2026-02-20T19:44:17\",
\"updated_to\": \"2052-03-15\",
\"page\": 22,
\"per_page\": 7,
\"sort_by\": \"name\",
\"sort_order\": \"desc\"
}"
const url = new URL(
"http://localhost/api/v1/inspection-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"is_active": false,
"updated_from": "2026-02-20T19:44:17",
"updated_to": "2052-03-15",
"page": 22,
"per_page": 7,
"sort_by": "name",
"sort_order": "desc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/inspection-types/{inspectionType_id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/inspection-types/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-types/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 (404):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"success": false,
"message": "Not found",
"errors": null
}
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/inspection-types
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/inspection-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"code\": \"n\",
\"description\": \"Animi quos velit et fugiat.\",
\"estimated_duration_minutes\": 1,
\"available_from_time\": \"19:44:17\",
\"available_to_time\": \"2052-03-15\",
\"min_business_days\": 39,
\"max_business_days\": \"2052-03-15\",
\"required_skills\": [
\"architecto\"
],
\"frequency\": {
\"interval\": 22,
\"unit\": \"architecto\",
\"day_of_week\": \"architecto\",
\"repeat_mode\": \"architecto\",
\"day_of_month\": 22,
\"week\": \"architecto\",
\"month\": \"architecto\",
\"days_of_month\": [
22
]
},
\"allow_reschedule\": true,
\"allow_direct_cancel\": false,
\"max_reschedules\": 84,
\"reschedule_time_limit\": \"19:44:17\",
\"reschedule_day_limit\": 12,
\"auto_cancel_on_max_reschedules\": false,
\"negative_result_on_app_cancel\": true,
\"allow_inspector_reschedule_request\": false,
\"is_active\": true
}"
const url = new URL(
"http://localhost/api/v1/inspection-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"code": "n",
"description": "Animi quos velit et fugiat.",
"estimated_duration_minutes": 1,
"available_from_time": "19:44:17",
"available_to_time": "2052-03-15",
"min_business_days": 39,
"max_business_days": "2052-03-15",
"required_skills": [
"architecto"
],
"frequency": {
"interval": 22,
"unit": "architecto",
"day_of_week": "architecto",
"repeat_mode": "architecto",
"day_of_month": 22,
"week": "architecto",
"month": "architecto",
"days_of_month": [
22
]
},
"allow_reschedule": true,
"allow_direct_cancel": false,
"max_reschedules": 84,
"reschedule_time_limit": "19:44:17",
"reschedule_day_limit": 12,
"auto_cancel_on_max_reschedules": false,
"negative_result_on_app_cancel": true,
"allow_inspector_reschedule_request": false,
"is_active": true
};
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.
PATCH api/v1/inspection-types/{inspectionType_id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspection-types/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"code\": \"n\",
\"description\": \"Animi quos velit et fugiat.\",
\"estimated_duration_minutes\": 1,
\"available_from_time\": \"19:44:17\",
\"available_to_time\": \"2052-03-15\",
\"min_business_days\": 39,
\"max_business_days\": \"2052-03-15\",
\"required_skills\": [
\"architecto\"
],
\"frequency\": {
\"interval\": 22,
\"unit\": \"architecto\",
\"day_of_week\": \"architecto\",
\"repeat_mode\": \"architecto\",
\"day_of_month\": 22,
\"week\": \"architecto\",
\"month\": \"architecto\",
\"days_of_month\": [
22
]
},
\"allow_reschedule\": false,
\"allow_direct_cancel\": true,
\"max_reschedules\": 84,
\"reschedule_time_limit\": \"19:44:17\",
\"reschedule_day_limit\": 12,
\"auto_cancel_on_max_reschedules\": false,
\"negative_result_on_app_cancel\": true,
\"allow_inspector_reschedule_request\": false,
\"is_active\": false
}"
const url = new URL(
"http://localhost/api/v1/inspection-types/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"code": "n",
"description": "Animi quos velit et fugiat.",
"estimated_duration_minutes": 1,
"available_from_time": "19:44:17",
"available_to_time": "2052-03-15",
"min_business_days": 39,
"max_business_days": "2052-03-15",
"required_skills": [
"architecto"
],
"frequency": {
"interval": 22,
"unit": "architecto",
"day_of_week": "architecto",
"repeat_mode": "architecto",
"day_of_month": 22,
"week": "architecto",
"month": "architecto",
"days_of_month": [
22
]
},
"allow_reschedule": false,
"allow_direct_cancel": true,
"max_reschedules": 84,
"reschedule_time_limit": "19:44:17",
"reschedule_day_limit": 12,
"auto_cancel_on_max_reschedules": false,
"negative_result_on_app_cancel": true,
"allow_inspector_reschedule_request": false,
"is_active": false
};
fetch(url, {
method: "PATCH",
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.
PATCH api/v1/inspection-types/{inspectionType_id}/toggle
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/inspection-types/architecto/toggle" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/inspection-types/architecto/toggle"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
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.
Log Management
GET api/v1/logs
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/logs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"architecto\",
\"entity\": [
\"architecto\"
],
\"entity_id\": \"architecto\",
\"action\": \"permission_updated\",
\"from\": \"2026-02-20T19:44:17\",
\"to\": \"2052-03-15\",
\"per_page\": 22,
\"sort\": \"created_at\",
\"sort_direction\": \"asc\",
\"source\": \"advanced\"
}"
const url = new URL(
"http://localhost/api/v1/logs"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "architecto",
"entity": [
"architecto"
],
"entity_id": "architecto",
"action": "permission_updated",
"from": "2026-02-20T19:44:17",
"to": "2052-03-15",
"per_page": 22,
"sort": "created_at",
"sort_direction": "asc",
"source": "advanced"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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.
Measurement Unit Management
GET api/v1/measurement-units
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/measurement-units" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page\": 16,
\"per_page\": 22,
\"search\": \"g\",
\"active_only\": false,
\"magnitude\": \"z\",
\"origin\": \"architecto\",
\"sort_by\": \"created_at\",
\"sort_order\": \"asc\"
}"
const url = new URL(
"http://localhost/api/v1/measurement-units"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page": 16,
"per_page": 22,
"search": "g",
"active_only": false,
"magnitude": "z",
"origin": "architecto",
"sort_by": "created_at",
"sort_order": "asc"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/measurement-units/{unit_id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/measurement-units/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/measurement-units/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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/measurement-units
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/measurement-units" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"symbol\": \"ngzmiyvdljnikhwa\",
\"magnitude\": \"y\"
}"
const url = new URL(
"http://localhost/api/v1/measurement-units"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"symbol": "ngzmiyvdljnikhwa",
"magnitude": "y"
};
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.
PATCH api/v1/measurement-units/{unit_id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/measurement-units/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"symbol\": \"ngzmiyvdljnikhwa\",
\"magnitude\": \"y\",
\"is_active\": true
}"
const url = new URL(
"http://localhost/api/v1/measurement-units/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"symbol": "ngzmiyvdljnikhwa",
"magnitude": "y",
"is_active": true
};
fetch(url, {
method: "PATCH",
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.
Notification Management
GET api/v1/notifications
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/notifications" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"category\": \"assignments\",
\"per_page\": 1
}"
const url = new URL(
"http://localhost/api/v1/notifications"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"category": "assignments",
"per_page": 1
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/notifications/{notification_id}/read
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/notifications/architecto/read" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/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.
POST api/v1/notifications/read-all
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/notifications/read-all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"category\": \"general\"
}"
const url = new URL(
"http://localhost/api/v1/notifications/read-all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"category": "general"
};
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.
User Management
GET api/v1/users/me
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users/me" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/users/devices
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/users/devices" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"device_token\": \"b\",
\"device_type\": \"ios\",
\"device_name\": \"n\"
}"
const url = new URL(
"http://localhost/api/v1/users/devices"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"device_token": "b",
"device_type": "ios",
"device_name": "n"
};
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 a specific device belonging to the authenticated user.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/users/devices/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/devices/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/users/sync
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users/sync" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/sync"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/users
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"search\": \"b\",
\"role\": [
\"architecto\"
],
\"work_zone\": [
\"architecto\"
],
\"is_active\": true,
\"tenure\": [
\"architecto\"
],
\"group_id\": [
\"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
],
\"sort_by\": \"email\",
\"sort_order\": \"asc\",
\"page\": 66,
\"per_page\": 17
}"
const url = new URL(
"http://localhost/api/v1/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"search": "b",
"role": [
"architecto"
],
"work_zone": [
"architecto"
],
"is_active": true,
"tenure": [
"architecto"
],
"group_id": [
"a4855dc5-0acb-33c3-b921-f4291f719ca0"
],
"sort_by": "email",
"sort_order": "asc",
"page": 66,
"per_page": 17
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/users/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/users/{user}/roles
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users/architecto/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/architecto/roles"
);
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 (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/users/{user_id}/inspection-dates
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1/users/16/inspection-dates" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"start_date\": \"2026-02-20T19:44:17\",
\"end_date\": \"2052-03-15\"
}"
const url = new URL(
"http://localhost/api/v1/users/16/inspection-dates"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"start_date": "2026-02-20T19:44:17",
"end_date": "2052-03-15"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Server Error"
}
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/users
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"first_name\": \"m\",
\"last_name\": \"i\",
\"dui_number\": \"yvdljnikhwaykcmy\",
\"username\": \"u\",
\"password\": \"|]|{+-\",
\"enabled\": false,
\"email_verified\": true,
\"cellphone\": \"vdljnikhwaykcmyu\",
\"work_zone\": \"architecto\",
\"tenure\": \"architecto\",
\"is_active\": true,
\"role_name\": \"architecto\",
\"skill_ids\": [
\"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
],
\"group_ids\": [
\"c90237e9-ced5-3af6-88ea-84aeaa148878\"
]
}"
const url = new URL(
"http://localhost/api/v1/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"first_name": "m",
"last_name": "i",
"dui_number": "yvdljnikhwaykcmy",
"username": "u",
"password": "|]|{+-",
"enabled": false,
"email_verified": true,
"cellphone": "vdljnikhwaykcmyu",
"work_zone": "architecto",
"tenure": "architecto",
"is_active": true,
"role_name": "architecto",
"skill_ids": [
"a4855dc5-0acb-33c3-b921-f4291f719ca0"
],
"group_ids": [
"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.
PATCH api/v1/users/{id}
requires authentication
Example request:
curl --request PATCH \
"http://localhost/api/v1/users/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\",
\"first_name\": \"m\",
\"last_name\": \"i\",
\"dui_number\": \"yvdljnikhwaykcmy\",
\"username\": \"u\",
\"password\": \"|]|{+-\",
\"enabled\": true,
\"email_verified\": true,
\"cellphone\": \"vdljnikhwaykcmyu\",
\"work_zone\": \"architecto\",
\"tenure\": \"architecto\",
\"is_active\": false,
\"role_name\": \"architecto\",
\"skill_ids\": [
\"a4855dc5-0acb-33c3-b921-f4291f719ca0\"
],
\"group_ids\": [
\"c90237e9-ced5-3af6-88ea-84aeaa148878\"
]
}"
const url = new URL(
"http://localhost/api/v1/users/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net",
"first_name": "m",
"last_name": "i",
"dui_number": "yvdljnikhwaykcmy",
"username": "u",
"password": "|]|{+-",
"enabled": true,
"email_verified": true,
"cellphone": "vdljnikhwaykcmyu",
"work_zone": "architecto",
"tenure": "architecto",
"is_active": false,
"role_name": "architecto",
"skill_ids": [
"a4855dc5-0acb-33c3-b921-f4291f719ca0"
],
"group_ids": [
"c90237e9-ced5-3af6-88ea-84aeaa148878"
]
};
fetch(url, {
method: "PATCH",
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.
PUT api/v1/users/{user_id}/inspection-skills/{inspectionSkill_id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/users/16/inspection-skills/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/16/inspection-skills/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
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.
DELETE api/v1/users/{user_id}/inspection-skills/{inspectionSkill_id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/users/16/inspection-skills/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/16/inspection-skills/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.
PUT api/v1/users/{user_oauth_client_id}/groups/{group_id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1/users/architecto/groups/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/architecto/groups/architecto"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
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.
DELETE api/v1/users/{user_oauth_client_id}/groups/{group_id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1/users/architecto/groups/architecto" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1/users/architecto/groups/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.