Introduction
A collection of API endpoints you will need to interact with the system.
About PUT / PATCH requests: PUT means you send the entire resource to be updated, while PATCH means you send only the fields that need to be updated. Also regarding RFC 5789, the body of a PATCH is not filled for some Content-Types, what will work is sending via application/json.
About Permissions: These can depend on user or organisation user roles and will be given by the system or admin actions internally.
This documentation aims to provide all the information you need to work with our API.
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.
Retrieve a token by calling the /auth/login endpoint.
Admin
Clearstream
Index
requires authentication
List all clearstream requests
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream?per_page=12&sort=id%2Cstatus%2Clab_status%2Ccreated_at%2Corganisation_name&filter%5Bid%5D=eveniet&filter%5Bcreated_at%5D=minus&search=illo&column=organisations.name&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream"
);
const params = {
"per_page": "12",
"sort": "id,status,lab_status,created_at,organisation_name",
"filter[id]": "eveniet",
"filter[created_at]": "minus",
"search": "illo",
"column": "organisations.name",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Get a single clearstream report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/2"
);
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):
{
"data": {
"id": 2,
"reference_id": "60-HSER7PY6S32L-W",
"uuid": "a05aba8c-5c93-4e50-91e7-04327509c58d",
"organisation_id": 64,
"status": "PASSED",
"created_at": "2025-11-14T10:16:12.000000Z",
"updated_at": "2025-11-19T14:24:04.000000Z",
"archived_at": "2025-11-19 14:24:04",
"last_viewed_at": "2025-11-19 14:24:00",
"payment_completed_at": "2025-11-17 13:36:39",
"organisation": {
"id": 64,
"maxio_customer_id": 226048,
"reference_id": "01-CR6986RX4H7WL-N",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5b-67a0-445a-b72e-e86db5d454b1",
"type_id": 2,
"status": "approved",
"name": "test-Supplier a.rahman",
"legal_name": "Hyatt Inc",
"address_1": "3614 Swaniawski Ports Suite 956",
"address_2": "Apt. 823",
"city": "Alfordview",
"state": "Connecticut",
"location": "SO",
"zip": "21152-3340",
"phone": "+16058376916",
"email": "nyasia32@reichert.com",
"contact_first_name": "Priscilla",
"contact_last_name": "Breitenberg",
"website": "https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1970-02-12 06:44:40",
"created_at": "2025-07-24T13:23:35.000000Z",
"updated_at": "2026-02-07T00:00:18.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-19 09:42:53",
"profile_reviewed_by_user_id": 8,
"location_name": "Somalia"
},
"profile": {
"id": 2,
"report_id": 2,
"version_id": 1,
"requires_testing": 1,
"completed_at": "2025-11-14 10:16:53",
"created_at": "2025-11-14T10:16:44.000000Z",
"updated_at": "2025-11-14T10:16:53.000000Z",
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 1
}
},
{
"id": 36,
"external_id": 1,
"group_id": 2,
"parent_id": null,
"short": null,
"name": "Textile",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 36
}
},
{
"id": 52,
"external_id": 13,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Vertically integrated Mill",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 52
}
},
{
"id": 53,
"external_id": 14,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Down and Feathers processor",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 53
}
},
{
"id": 54,
"external_id": 15,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to tanned",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 54
}
},
{
"id": 55,
"external_id": 16,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to crust",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 55
}
},
{
"id": 74,
"external_id": 1,
"group_id": 4,
"parent_id": null,
"short": null,
"name": "Direct",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 74
}
},
{
"id": 80,
"external_id": 0,
"group_id": 5,
"parent_id": null,
"short": null,
"name": "less than 15m³ per day",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 80
}
},
{
"id": 82,
"external_id": 0,
"group_id": 6,
"parent_id": null,
"short": null,
"name": "No",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 82
}
},
{
"id": 91,
"external_id": 0,
"group_id": 7,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 91
}
},
{
"id": 98,
"external_id": 0,
"group_id": 8,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 98
}
}
]
}
}
}
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.
Terminate
requires authentication
Terminate any ongoing clearstream cycle
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/2/terminate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/clearstream/2/terminate"
);
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.
InCheck Visibility
Index
requires authentication
List InCheck visibility settings for an organisation of type Performance InCheck Provider
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility?per_page=17&filter%5Borganisation_name%5D=modi&filter%5Blevel_name%5D=non&filter%5Bvisibility_visible%5D=&filter%5Bvisibility_active%5D=&filter%5Bvisibility_marketing_text%5D=aut&sort=organisation_name%2Clevel_name%2Cvisibility_visible%2Cvisibility_active%2Cvisibility_marketing_text&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility"
);
const params = {
"per_page": "17",
"filter[organisation_name]": "modi",
"filter[level_name]": "non",
"filter[visibility_visible]": "0",
"filter[visibility_active]": "0",
"filter[visibility_marketing_text]": "aut",
"sort": "organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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
requires authentication
Update an InCheck visibility setting
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vnhftgtpzolx\",
\"visible\": true,
\"active\": true,
\"marketing_text\": \"bgiuqcyztkipvkvgtfyom\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/incheck/visibility/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vnhftgtpzolx",
"visible": true,
"active": true,
"marketing_text": "bgiuqcyztkipvkvgtfyom"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "InCheck visibility updated successfully."
}
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.
Index
requires authentication
List InCheck visibility settings for an organisation of type Performance InCheck Provider
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/visibility?per_page=2&filter%5Borganisation_name%5D=quis&filter%5Blevel_name%5D=molestiae&filter%5Bvisibility_visible%5D=1&filter%5Bvisibility_active%5D=&filter%5Bvisibility_marketing_text%5D=delectus&sort=organisation_name%2Clevel_name%2Cvisibility_visible%2Cvisibility_active%2Cvisibility_marketing_text&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/visibility"
);
const params = {
"per_page": "2",
"filter[organisation_name]": "quis",
"filter[level_name]": "molestiae",
"filter[visibility_visible]": "1",
"filter[visibility_active]": "0",
"filter[visibility_marketing_text]": "delectus",
"sort": "organisation_name,level_name,visibility_visible,visibility_active,visibility_marketing_text",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Organisation API Keys
Index
requires authentication
List Organisation API Keys (with trashed!)
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys?per_page=11&filter%5Bid%5D=soluta&filter%5Borganisation_id%5D=quis&filter%5Blast_used_at%5D=iusto&filter%5Bcreated_at%5D=unde&sort=id%2Corganisation_id%2Clast_used_at%2Ccreated_at&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys"
);
const params = {
"per_page": "11",
"filter[id]": "soluta",
"filter[organisation_id]": "quis",
"filter[last_used_at]": "iusto",
"filter[created_at]": "unde",
"sort": "id,organisation_id,last_used_at,created_at",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Destroy
requires authentication
Delete an Organisation API Key
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys/98" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys/98"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Organisation API key revoked successfully."
}
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.
Organisation Invitations
Index
requires authentication
Shows all organisation invitations.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/1/organisations/invitations?filter%5Bstatus%5D=nostrum&sort=receiving_user_mail%2Creceiving_organisation_type%2Cstatus%2Ccreated_at&page=1&per_page=18&search=porro" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/organisations/invitations"
);
const params = {
"filter[status]": "nostrum",
"sort": "receiving_user_mail,receiving_organisation_type,status,created_at",
"page": "1",
"per_page": "18",
"search": "porro",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "06-MAKEKAGX8HE9-S",
"uuid": "a05aa71d-1a73-4ad4-ab85-bfeea70d8d76",
"inviting_organisation_id": 13416,
"inviting_user_id": 1,
"receiving_organisation_id": 13416,
"receiving_user_id": 1,
"status": "INVITED",
"valid_until": "2025-11-21T09:21:52.000000Z",
"redeemed_at": null,
"created_at": "2025-11-14T09:21:52.000000Z",
"updated_at": "2025-11-14T09:21:52.000000Z"
},
{
"id": 1,
"reference_id": "06-MAKEKAGX8HE9-S",
"uuid": "a05aa71d-1a73-4ad4-ab85-bfeea70d8d76",
"inviting_organisation_id": 13416,
"inviting_user_id": 1,
"receiving_organisation_id": 13416,
"receiving_user_id": 1,
"status": "INVITED",
"valid_until": "2025-11-21T09:21:52.000000Z",
"redeemed_at": null,
"created_at": "2025-11-14T09:21:52.000000Z",
"updated_at": "2025-11-14T09:21:52.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "100",
"to": 2
},
"receiving_user_mail": "user@example.com",
"receiving_organisation_type": "1"
}
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
Index
requires authentication
Get all users.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/users?per_page=18&sort=first_name%2Clast_name%2Cemail%2Cregistration_date%2Clast_active_at%2Cinvitation_status%2Cprofile_reviewed_at&filter%5Binvitation_status%5D=repellendus&filter%5Bprofile_reviewed_at%5D=nostrum&page=1&search=magni" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/users"
);
const params = {
"per_page": "18",
"sort": "first_name,last_name,email,registration_date,last_active_at,invitation_status,profile_reviewed_at",
"filter[invitation_status]": "repellendus",
"filter[profile_reviewed_at]": "nostrum",
"page": "1",
"search": "magni",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"pdc_id": null,
"role_id": 2,
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"email_verified_at": null,
"phone": "+13523381248",
"location": null,
"locale": "es_BO",
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null,
"last_active_at": "2025-12-02T13:51:01.000000Z",
"profile_reviewed_at": null,
"status": "active",
"profile_picture_url": null,
"location_name": null
},
{
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"pdc_id": null,
"role_id": 2,
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"email_verified_at": null,
"phone": "+13523381248",
"location": null,
"locale": "es_BO",
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null,
"last_active_at": "2025-12-02T13:51:01.000000Z",
"profile_reviewed_at": null,
"status": "active",
"profile_picture_url": null,
"location_name": 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.
Update
requires authentication
Update a user.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/admin/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"olsemlxfzxoeznvfhvycxnha\",
\"last_name\": \"gtnjv\",
\"email\": \"yfeest@example.com\",
\"phone\": \"+1234567890\",
\"location\": \"US\",
\"locale\": \"se_FI\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "olsemlxfzxoeznvfhvycxnha",
"last_name": "gtnjv",
"email": "yfeest@example.com",
"phone": "+1234567890",
"location": "US",
"locale": "se_FI"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, successful):
{
"message": "User updated successfully"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Display the specified resource.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Reset Password
requires authentication
Shares functionality from auth.forgot-password route but not throttled for admins
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/admin/users/1/reset-password" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/users/1/reset-password"
);
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.
Auth
Login
Handle an incoming authentication request.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"admin@localhost\",
\"password\": \"password\",
\"remember\": true
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "admin@localhost",
"password": "password",
"remember": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, successful):
{
"message": "You have been successfully logged in.",
"token": "_token_"
}
Example response (401, wrong credentials):
{
"message": "These credentials do not match our records"
}
Example response (401, plattform is not registered):
{
"message": "Plattform for Host $host doesn't exist"
}
Example response (412, validation error):
{
"message": "must be valid email"
}
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.
Logout
requires authentication
Log the user out of the application.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/auth/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200, successful):
{
"message": "You have been successfully logged out."
}
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 User By Token
requires authentication
Get the user Bearer Token
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/auth/getUserByToken" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/getUserByToken"
);
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):
{
"data": {
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"pdc_id": null,
"role_id": 2,
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"email_verified_at": null,
"phone": "+13523381248",
"location": null,
"locale": "es_BO",
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null,
"last_active_at": "2025-12-02T13:51:01.000000Z",
"profile_reviewed_at": null,
"status": "active",
"profile_picture_url": null,
"location_name": null,
"role": {
"id": 2,
"parent_id": null,
"name": "USER"
}
}
}
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.
Forgot Password
Handle an incoming password reset link request.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/auth/forgot-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"reina.pfannerstill@example.com\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/forgot-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "reina.pfannerstill@example.com"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, successful):
{
"message": "You will receive instructions to reset email if you have an account with us."
}
Example response (200, wrong email):
{
"message": "You will receive instructions to reset email if you have an account with us."
}
Example response (412, validation error):
{
"message": "must be valid email"
}
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.
Reset Password
Reset a password requested in a forgot password request
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/auth/reset-password?token=quos" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"willard20@example.net\",
\"token\": \"non\",
\"password\": \"password\",
\"password_confirmation\": \"password\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/reset-password"
);
const params = {
"token": "quos",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "willard20@example.net",
"token": "non",
"password": "password",
"password_confirmation": "password"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, successful):
{
"message": "Your password has been reset."
}
Example response (412, validation error):
{
"message": "must be valid email"
}
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.
Verify Email
requires authentication
Verify an email change request.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/auth/users/1/verify-email?signature=illum&expires=16" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/users/1/verify-email"
);
const params = {
"signature": "illum",
"expires": "16",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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, successful):
{
"message": "Email verified successfully"
}
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.
Confirm password
requires authentication
Confirm the password change
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/auth/users/1/confirm-password-change?signature=laboriosam&expires=11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/users/1/confirm-password-change"
);
const params = {
"signature": "laboriosam",
"expires": "11",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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, successful):
{
"message": "Password change succeeded"
}
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.
Complete Registration
requires authentication
Complete the registration of a user, which was created by invitation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/auth/complete-registration/1?signature=qui&expires=5" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"qi\",
\"last_name\": \"pigyaauzkaidjvdpcawas\",
\"password\": \"`PDqitxgbCClsGe#Qq\",
\"password_confirmation\": \"totam\",
\"phone\": \"+49123456789\",
\"locale\": \"es_CR\",
\"location\": \"ixoqouobdottgacy\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/complete-registration/1"
);
const params = {
"signature": "qui",
"expires": "5",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "qi",
"last_name": "pigyaauzkaidjvdpcawas",
"password": "`PDqitxgbCClsGe#Qq",
"password_confirmation": "totam",
"phone": "+49123456789",
"locale": "es_CR",
"location": "ixoqouobdottgacy"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, successful):
{
"message": "Registration completed successfully"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Set Organisation User
requires authentication
Set the organisation user for the current personal access token.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/auth/setOrganisationUser/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/auth/setOrganisationUser/1"
);
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, successful):
{
"message": "Organisation user set successfully"
}
Example response (403, organisation user does not belong to user):
{
"message": "The organisation user must belong to the same user as the personal access token."
}
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.
Azure/V1
Chemical-Count-Bracket
Chemical Count Brackets Index
requires authentication
No model/data source in current system. Returns empty collection so route is callable.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-count-bracket?page=1&per_page=10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-count-bracket"
);
const params = {
"page": "1",
"per_page": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": null,
"CountBracketName": null,
"CreateDate": null,
"LastUpdateDate": null
},
{
"Id": null,
"CountBracketName": null,
"CreateDate": null,
"LastUpdateDate": 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.
Chemical-Weight-Bracket
Chemical Weight Brackets Index
requires authentication
No model/data source in current system. Returns empty collection so route is callable.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-weight-bracket?page=1&per_page=17" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/chemical-weight-bracket"
);
const params = {
"page": "1",
"per_page": "17",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": null,
"ChemicalWeightBracketName": null,
"CreateDate": null,
"LastUpdateDate": null
},
{
"Id": null,
"ChemicalWeightBracketName": null,
"CreateDate": null,
"LastUpdateDate": 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.
Connection-History
Connection History Index
requires authentication
List all organisation connection history.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/connection-history?page=1&per_page=6&filter%5Bupdated_at%5D=%3D+2026-03-25+14%3A59%3A55&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/connection-history"
);
const params = {
"page": "1",
"per_page": "6",
"filter[updated_at]": "= 2026-03-25 14:59:55",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"ConnectedFromId": 1,
"ConnectedToId": 1,
"Status": "active",
"Published": null,
"StartDate": "2025-07-24 13:23:42",
"EndDate": null,
"LastUpdateDate": "2025-07-24 13:23:42"
},
{
"id": 1,
"ConnectedFromId": 1,
"ConnectedToId": 1,
"Status": "active",
"Published": null,
"StartDate": "2025-07-24 13:23:42",
"EndDate": null,
"LastUpdateDate": "2025-07-24 13:23:42"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Material-Category
Material Categories Index
requires authentication
List all material categories (supplier_attributes from group "Materials").
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/material-category?page=1&per_page=2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/material-category"
);
const params = {
"page": "1",
"per_page": "2",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"MaterialCategoryName": "Wastewater 2.2",
"CreateDate": null,
"LastUpdateDate": null
},
{
"Id": 1,
"MaterialCategoryName": "Wastewater 2.2",
"CreateDate": null,
"LastUpdateDate": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Organisations
Organisations Index
requires authentication
List all organisations.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisations?page=1&per_page=17&filter%5Bupdated_at%5D=%3C%3D+2026-04-16+14%3A59%3A55&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisations"
);
const params = {
"page": "1",
"per_page": "17",
"filter[updated_at]": "<= 2026-04-16 14:59:55",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"ZDHCAid": null,
"SalesforceId": null,
"SandboxID": "01-CR698383XMWJ2-P",
"PdcId": null,
"Name": "test-Supplier System",
"LegalName": "Schroeder Ltd",
"Address1": "149 Koss Dam Suite 796",
"Address2": "Suite 708",
"CityName": "Bergemouth",
"StateName": "Michigan",
"LocationId": "BW",
"ZipCode": "26306",
"Latitude": null,
"Longitude": null,
"Phone": "+17728385594",
"Email": "yessenia18@bahringer.net",
"Website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"TaxId": null,
"IPE": null,
"RegistrationNumber": null,
"OrganisationDescription": null,
"ContactFirstName": "Alfonzo",
"ContactLastName": "Crooks",
"OrganisationTypeId": 2,
"OsHubId": null,
"HiggId": null,
"CurrentAccountStatusId": null,
"CreateDate": "2025-07-24 13:23:28",
"DeleteDate": null,
"LastUpdateDate": "2026-03-24 08:26:00"
},
{
"Id": 1,
"ZDHCAid": null,
"SalesforceId": null,
"SandboxID": "01-CR698383XMWJ2-P",
"PdcId": null,
"Name": "test-Supplier System",
"LegalName": "Schroeder Ltd",
"Address1": "149 Koss Dam Suite 796",
"Address2": "Suite 708",
"CityName": "Bergemouth",
"StateName": "Michigan",
"LocationId": "BW",
"ZipCode": "26306",
"Latitude": null,
"Longitude": null,
"Phone": "+17728385594",
"Email": "yessenia18@bahringer.net",
"Website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"TaxId": null,
"IPE": null,
"RegistrationNumber": null,
"OrganisationDescription": null,
"ContactFirstName": "Alfonzo",
"ContactLastName": "Crooks",
"OrganisationTypeId": 2,
"OsHubId": null,
"HiggId": null,
"CurrentAccountStatusId": null,
"CreateDate": "2025-07-24 13:23:28",
"DeleteDate": null,
"LastUpdateDate": "2026-03-24 08:26:00"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Organisation-Users
OrganisationUsers Index
requires authentication
List all organisation-users.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-users?page=1&per_page=16&filter%5Bupdated_at%5D=%3E%3D+2026-04-11+14%3A59%3A55&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/organisation-users"
);
const params = {
"page": "1",
"per_page": "16",
"filter[updated_at]": ">= 2026-04-11 14:59:55",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"UserId": "02-TXFQXFYRE4ACK-M",
"OrganisationId": "01-CR698383XMWJ2-P",
"RoleId": 4,
"StartDate": "2025-07-24 13:23:28",
"EndDate": null,
"LastUpdateDate": "2025-12-02 13:51:01"
},
{
"Id": 1,
"UserId": "02-TXFQXFYRE4ACK-M",
"OrganisationId": "01-CR698383XMWJ2-P",
"RoleId": 4,
"StartDate": "2025-07-24 13:23:28",
"EndDate": null,
"LastUpdateDate": "2025-12-02 13:51:01"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Processes
Processes Index
requires authentication
List all processes (supplier_attributes from group "Chemical Process").
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/processes?page=1&per_page=4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/processes"
);
const params = {
"page": "1",
"per_page": "4",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"ProcessName": "Wastewater 2.2",
"CreateDate": null,
"LastUpdateDate": null
},
{
"Id": 1,
"ProcessName": "Wastewater 2.2",
"CreateDate": null,
"LastUpdateDate": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Product-Category
Product Categories Index
requires authentication
List all product categories.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-category?page=1&per_page=2&filter%5Bupdated_at%5D=%3D+2026-04-05+14%3A59%3A55&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/product-category"
);
const params = {
"page": "1",
"per_page": "2",
"filter[updated_at]": "= 2026-04-05 14:59:55",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 10,
"ProductCategoryName": "Colorant",
"CreateDate": "2025-12-16 10:02:53",
"LastUpdateDate": "2025-12-16 10:02:53"
},
{
"Id": 10,
"ProductCategoryName": "Colorant",
"CreateDate": "2025-12-16 10:02:53",
"LastUpdateDate": "2025-12-16 10:02:53"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Profile-Supplier-Product-Category
Profile Supplier Product Categories Index
requires authentication
No model/data source in current system. Returns empty collection so route is callable.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-product-category?page=1&per_page=2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-product-category"
);
const params = {
"page": "1",
"per_page": "2",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": null,
"OrganisationId": null,
"ProductCategoryId": null,
"CreateDate": null,
"LastUpdateDate": null
},
{
"Id": null,
"OrganisationId": null,
"ProductCategoryId": null,
"CreateDate": null,
"LastUpdateDate": 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.
Profile-Supplier-Type
Profile Supplier Types Index
requires authentication
List all supplier profiles (organisation_id, facility_type_id = SupplierTypeId).
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-type?page=1&per_page=7&filter%5Bupdated_at%5D=%3D+2026-04-23+14%3A59%3A56&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/profile-supplier-type"
);
const params = {
"page": "1",
"per_page": "7",
"filter[updated_at]": "= 2026-04-23 14:59:56",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"OrganisationId": 1,
"SupplierTypeId": 8,
"CreateDate": "2025-11-14 09:22:11",
"LastUpdateDate": "2025-11-14 09:22:11"
},
{
"Id": 1,
"OrganisationId": 1,
"SupplierTypeId": 8,
"CreateDate": "2025-11-14 09:22:11",
"LastUpdateDate": "2025-11-14 09:22:11"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Supplier-Type
Supplier Types Index
requires authentication
List all supplier (facility) types.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/supplier-type?page=1&per_page=10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/supplier-type"
);
const params = {
"page": "1",
"per_page": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"SupplierTypeName": "Accessories and Trims",
"CreateDate": null,
"LastUpdateDate": null
},
{
"Id": 1,
"SupplierTypeName": "Accessories and Trims",
"CreateDate": null,
"LastUpdateDate": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Users
Users Index
requires authentication
List all users.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/azure/v1/users?page=1&per_page=14&filter%5Bupdated_at%5D=%3C+2026-04-02+14%3A59%3A56&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/azure/v1/users"
);
const params = {
"page": "1",
"per_page": "14",
"filter[updated_at]": "< 2026-04-02 14:59:56",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"Id": 1,
"UserId": "02-TXFQXFYRE4ACK-M",
"FirstName": "System",
"LastName": "User",
"FullName": "System User",
"IsActive": true,
"Email": "admin@localhost",
"Phone": "+13523381248",
"Address1": null,
"Address2": null,
"StateName": null,
"CityName": null,
"ZipCode": null,
"LocationId": null,
"CreateDate": "2025-07-24 13:23:18",
"DeleteDate": null,
"LastUpdateDate": "2025-12-08 15:12:52"
},
{
"Id": 1,
"UserId": "02-TXFQXFYRE4ACK-M",
"FirstName": "System",
"LastName": "User",
"FullName": "System User",
"IsActive": true,
"Email": "admin@localhost",
"Phone": "+13523381248",
"Address1": null,
"Address2": null,
"StateName": null,
"CityName": null,
"ZipCode": null,
"LocationId": null,
"CreateDate": "2025-07-24 13:23:18",
"DeleteDate": null,
"LastUpdateDate": "2025-12-08 15:12:52"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
CTZ Levels
Index
requires authentication
Get all CTZ levels
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/ctz-levels" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/ctz-levels"
);
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):
{
"data": {
"id": 1,
"name": "Foundational",
"created_at": "2025-12-11T13:11:46.000000Z",
"updated_at": "2025-12-15T15:35:08.000000Z"
}
}
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.
CTZ Standards
Index
requires authentication
Get CTZ Standards
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard?per_page=9&page=1&filter%5Bctz_level_id%5D=14&filter%5Bstatus%5D=vel&filter%5Bstart_date%5D=facere&filter%5Bend_date%5D=sunt&filter%5Bcreated_at%5D=corporis&filter%5Bupdated_at%5D=dicta&search=aut&sort=name%2Cversion%2Cstatus%2Cstart_date%2Cend_date%2Ccreated_at%2Cupdated_at&column=name" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard"
);
const params = {
"per_page": "9",
"page": "1",
"filter[ctz_level_id]": "14",
"filter[status]": "vel",
"filter[start_date]": "facere",
"filter[end_date]": "sunt",
"filter[created_at]": "corporis",
"filter[updated_at]": "dicta",
"search": "aut",
"sort": "name,version,status,start_date,end_date,created_at,updated_at",
"column": "name",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 47,
"name": "Foundational",
"version": "3.1",
"ctz_level_id": 1,
"start_date": "2026-01-01T00:00:00.000000Z",
"end_date": null,
"status": "PASSED",
"expired_at": null,
"created_at": "2026-02-24T13:24:56.000000Z",
"updated_at": "2026-02-24T13:25:36.000000Z",
"ctz_level": {
"id": 1,
"name": "Foundational",
"created_at": "2025-12-11T13:11:46.000000Z",
"updated_at": "2025-12-15T15:35:08.000000Z"
},
"organisations": [
{
"id": 87,
"maxio_customer_id": 226066,
"reference_id": "01-8J36F3RPYYK3T-X",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5e-883a-40ed-9db4-c98abf3da6a2",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies vdhoek",
"legal_name": "Pfannerstill Inc",
"address_1": "38558 Russel Street",
"address_2": "Suite 630",
"city": "North Pattieshire",
"state": "Wyoming",
"location": "LK",
"zip": "92199-6406",
"phone": "+13213459957",
"email": "mohamed19@douglas.com",
"contact_first_name": "Jamel",
"contact_last_name": "Wilderman",
"website": "http://www.morar.com/qui-repudiandae-suscipit-accusantium",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1990-01-10 10:28:39",
"created_at": "2025-07-24T13:23:38.000000Z",
"updated_at": "2026-02-07T00:00:22.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-26 13:32:55",
"profile_reviewed_by_user_id": 10,
"location_name": "Sri Lanka",
"pivot": {
"ctz_standard_id": 47,
"organisation_id": 87,
"id": 291,
"valid_until": null,
"created_at": "2026-02-24T13:24:57.000000Z",
"updated_at": "2026-02-24T13:24:57.000000Z"
}
}
]
},
{
"id": 47,
"name": "Foundational",
"version": "3.1",
"ctz_level_id": 1,
"start_date": "2026-01-01T00:00:00.000000Z",
"end_date": null,
"status": "PASSED",
"expired_at": null,
"created_at": "2026-02-24T13:24:56.000000Z",
"updated_at": "2026-02-24T13:25:36.000000Z",
"ctz_level": {
"id": 1,
"name": "Foundational",
"created_at": "2025-12-11T13:11:46.000000Z",
"updated_at": "2025-12-15T15:35:08.000000Z"
},
"organisations": [
{
"id": 87,
"maxio_customer_id": 226066,
"reference_id": "01-8J36F3RPYYK3T-X",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5e-883a-40ed-9db4-c98abf3da6a2",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies vdhoek",
"legal_name": "Pfannerstill Inc",
"address_1": "38558 Russel Street",
"address_2": "Suite 630",
"city": "North Pattieshire",
"state": "Wyoming",
"location": "LK",
"zip": "92199-6406",
"phone": "+13213459957",
"email": "mohamed19@douglas.com",
"contact_first_name": "Jamel",
"contact_last_name": "Wilderman",
"website": "http://www.morar.com/qui-repudiandae-suscipit-accusantium",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1990-01-10 10:28:39",
"created_at": "2025-07-24T13:23:38.000000Z",
"updated_at": "2026-02-07T00:00:22.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-26 13:32:55",
"profile_reviewed_by_user_id": 10,
"location_name": "Sri Lanka",
"pivot": {
"ctz_standard_id": 47,
"organisation_id": 87,
"id": 291,
"valid_until": null,
"created_at": "2026-02-24T13:24:57.000000Z",
"updated_at": "2026-02-24T13:24:57.000000Z"
}
}
]
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show a CTZ Standard
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard/47" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard/47"
);
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):
{
"data": {
"id": 47,
"name": "Foundational",
"version": "3.1",
"ctz_level_id": 1,
"start_date": "2026-01-01T00:00:00.000000Z",
"end_date": null,
"status": "PASSED",
"expired_at": null,
"created_at": "2026-02-24T13:24:56.000000Z",
"updated_at": "2026-02-24T13:25:36.000000Z",
"ctz_level": {
"id": 1,
"name": "Foundational",
"created_at": "2025-12-11T13:11:46.000000Z",
"updated_at": "2025-12-15T15:35:08.000000Z"
},
"organisations": [
{
"id": 87,
"maxio_customer_id": 226066,
"reference_id": "01-8J36F3RPYYK3T-X",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5e-883a-40ed-9db4-c98abf3da6a2",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies vdhoek",
"legal_name": "Pfannerstill Inc",
"address_1": "38558 Russel Street",
"address_2": "Suite 630",
"city": "North Pattieshire",
"state": "Wyoming",
"location": "LK",
"zip": "92199-6406",
"phone": "+13213459957",
"email": "mohamed19@douglas.com",
"contact_first_name": "Jamel",
"contact_last_name": "Wilderman",
"website": "http://www.morar.com/qui-repudiandae-suscipit-accusantium",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1990-01-10 10:28:39",
"created_at": "2025-07-24T13:23:38.000000Z",
"updated_at": "2026-02-07T00:00:22.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-26 13:32:55",
"profile_reviewed_by_user_id": 10,
"location_name": "Sri Lanka",
"pivot": {
"ctz_standard_id": 47,
"organisation_id": 87,
"id": 291,
"valid_until": null,
"created_at": "2026-02-24T13:24:57.000000Z",
"updated_at": "2026-02-24T13:24:57.000000Z"
}
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new CTZ Standard
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"itxomzxgedsh\",
\"version\": \"vplsgyoh\",
\"start_date\": \"2026-03-24T14:59:56\",
\"end_date\": \"2026-03-24T14:59:56\",
\"status\": \"FAILED\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "itxomzxgedsh",
"version": "vplsgyoh",
"start_date": "2026-03-24T14:59:56",
"end_date": "2026-03-24T14:59:56",
"status": "FAILED"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 47,
"name": "Foundational",
"version": "3.1",
"ctz_level_id": 1,
"start_date": "2026-01-01T00:00:00.000000Z",
"end_date": null,
"status": "PASSED",
"expired_at": null,
"created_at": "2026-02-24T13:24:56.000000Z",
"updated_at": "2026-02-24T13:25:36.000000Z"
}
}
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
requires authentication
Update a CTZ Standard
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard/47" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"fywnjrszigujnbvakfufv\",
\"version\": \"zr\",
\"start_date\": \"2026-03-24T14:59:56\",
\"end_date\": \"2026-03-24T14:59:56\",
\"status\": \"FAILED\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard/47"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "fywnjrszigujnbvakfufv",
"version": "zr",
"start_date": "2026-03-24T14:59:56",
"end_date": "2026-03-24T14:59:56",
"status": "FAILED"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 47,
"name": "Foundational",
"version": "3.1",
"ctz_level_id": 1,
"start_date": "2026-01-01T00:00:00.000000Z",
"end_date": null,
"status": "PASSED",
"expired_at": null,
"created_at": "2026-02-24T13:24:56.000000Z",
"updated_at": "2026-02-24T13:25:36.000000Z"
}
}
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.
Destroy
requires authentication
Delete a CTZ Standard
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard/47" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/ctz-standard/47"
);
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.
Chemical
Activity logs
Index
requires authentication
List available activity logs for chemical actions
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/activity-logs?sort=context-%3Eproduct_id%2Ccontext-%3Eproduct_name%2Ccontext-%3Emrsl_standard_name%2Ccontext-%3Ectz_standard_name%2Ccontext-%3Eaction_type%2Ccontext-%3Euser_name%2Ccontext-%3Eorganisation_id%2Cmessage%2Ccreated_at&filter%5Bproduct_id%5D=11&filter%5Bproduct_reference_id%5D=excepturi&filter%5Bmrsl_standard_name%5D=ut&filter%5Bmrsl_standard_reference_id%5D=enim&filter%5Bctz_standard_name%5D=sed&filter%5Baction_type%5D=saepe&filter%5Buser_name%5D=perferendis&filter%5Bcreated_at%5D=sequi&column=context-%3Eproduct_id&search=saepe&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/activity-logs"
);
const params = {
"sort": "context->product_id,context->product_name,context->mrsl_standard_name,context->ctz_standard_name,context->action_type,context->user_name,context->organisation_id,message,created_at",
"filter[product_id]": "11",
"filter[product_reference_id]": "excepturi",
"filter[mrsl_standard_name]": "ut",
"filter[mrsl_standard_reference_id]": "enim",
"filter[ctz_standard_name]": "sed",
"filter[action_type]": "saepe",
"filter[user_name]": "perferendis",
"filter[created_at]": "sequi",
"column": "context->product_id",
"search": "saepe",
"page": "1",
"per_page": "15",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Inventory
Bulk Store
requires authentication
Store a new chemical inventory bulk
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/bulk/store" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"inventories\": [
{
\"year\": 6,
\"month\": 1,
\"submit\": true,
\"products\": [
{
\"chemical_product_id\": 12,
\"formulator_name\": \"eflbbirxdwtyzqcvinuexihto\",
\"name\": \"atque\",
\"weight\": 34
}
]
}
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/bulk/store"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"inventories": [
{
"year": 6,
"month": 1,
"submit": true,
"products": [
{
"chemical_product_id": 12,
"formulator_name": "eflbbirxdwtyzqcvinuexihto",
"name": "atque",
"weight": 34
}
]
}
]
};
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.
Index
requires authentication
Show chemical inventories
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory?per_page=4&filter%5Bid%5D=10&filter%5Bsupplier_id%5D=20&filter%5Byear%5D=19&filter%5Bmonth%5D=12&filter%5Bstatus%5D=consequatur&sort=year%2Cmonth%2Cstatus%2Csubmitting_organisation_name%2Cincheck_level_name%2Cproducts_count&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory"
);
const params = {
"per_page": "4",
"filter[id]": "10",
"filter[supplier_id]": "20",
"filter[year]": "19",
"filter[month]": "12",
"filter[status]": "consequatur",
"sort": "year,month,status,submitting_organisation_name,incheck_level_name,products_count",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a new chemical inventory
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"year\": 8,
\"month\": 9,
\"submit\": false
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"year": 8,
"month": 9,
"submit": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update
requires authentication
Update an existing chemical inventory
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"year\": 16,
\"month\": 5,
\"submit\": false
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"year": 16,
"month": 5,
"submit": false
};
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.
Decline
requires authentication
Decline a chemical inventory
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/1/decline" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"Incomplete product information\",
\"additional_info\": \"voluptatum\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/1/decline"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason": "Incomplete product information",
"additional_info": "voluptatum"
};
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.
Publish
requires authentication
Publish a chemical inventory. Only one report can be published per month. Higher-level reports can upgrade (replace) lower-level published reports.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/1/publish" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/1/publish"
);
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.
Inventory Product
Index
requires authentication
List all products of a given inventory
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/soluta/product?per_page=18&search=ut&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/soluta/product"
);
const params = {
"per_page": "18",
"search": "ut",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Precognition, Origin
{
"message": "Token not found"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a custom product
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/at/product" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"chemical_product_id\": 15,
\"formulator_name\": \"omatilgtjslsvz\",
\"name\": \"adipisci\",
\"weight\": 59
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/at/product"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"chemical_product_id": 15,
"formulator_name": "omatilgtjslsvz",
"name": "adipisci",
"weight": 59
};
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.
Update
requires authentication
Update a custom product
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/quis/product/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"chemical_product_id\": 4,
\"formulator_name\": \"cbwbksffsipzpnlnkv\",
\"name\": \"molestiae\",
\"weight\": 15
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/quis/product/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"chemical_product_id": 4,
"formulator_name": "cbwbksffsipzpnlnkv",
"name": "molestiae",
"weight": 15
};
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.
Destroy
requires authentication
Destroy a custom product
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/necessitatibus/product/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/inventory/necessitatibus/product/1"
);
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.
Product
Index
requires authentication
Get Products
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product?per_page=8&page=1&filter%5Bconformance_level_id%5D=6&filter%5Bctz_level_id%5D=9&search=qui&sort=chemical_products.id%2Cchemical_products.name%2Cchemical_products.version%2Cchemical_products.status%2Cchemical_products.zdhc_pid%2Cconformance_level_name%2Cctz_level_name%2Cchemical_products.created_at%2Cchemical_products.updated_at&column=chemical_products.id" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product"
);
const params = {
"per_page": "8",
"page": "1",
"filter[conformance_level_id]": "6",
"filter[ctz_level_id]": "9",
"search": "qui",
"sort": "chemical_products.id,chemical_products.name,chemical_products.version,chemical_products.status,chemical_products.zdhc_pid,conformance_level_name,ctz_level_name,chemical_products.created_at,chemical_products.updated_at",
"column": "chemical_products.id",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"conformance_level": null,
"ctz_level": null
},
{
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"conformance_level": null,
"ctz_level": 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.
Show
requires authentication
Show a product
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1"
);
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):
{
"data": {
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"organisation": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [],
"safety_data_sheets": [],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a product
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=vqk"\
--form "description=Ab tempora ut eius nihil porro itaque ut nam."\
--form "alternate_names[]=qcbc"\
--form "use_types[]=19"\
--form "certification_bodies[]=17"\
--form "safety_data_sheet=@/tmp/phpHEJFdC" \
--form "technical_data_sheet=@/tmp/phpnOCboC" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'vqk');
body.append('description', 'Ab tempora ut eius nihil porro itaque ut nam.');
body.append('alternate_names[]', 'qcbc');
body.append('use_types[]', '19');
body.append('certification_bodies[]', '17');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);
body.append('technical_data_sheet', document.querySelector('input[name="technical_data_sheet"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"organisation": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [],
"safety_data_sheets": [],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
}
}
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
requires authentication
Update a product
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=sfxdzbnlrivygr"\
--form "description=Aliquid eos et et neque porro."\
--form "alternate_names[]=xgapjgnepwqmf"\
--form "use_types[]=5"\
--form "certification_bodies[]=13"\
--form "safety_data_sheet=@/tmp/phpkdBiDE" \
--form "technical_data_sheet=@/tmp/phpIPHoDE" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'sfxdzbnlrivygr');
body.append('description', 'Aliquid eos et et neque porro.');
body.append('alternate_names[]', 'xgapjgnepwqmf');
body.append('use_types[]', '5');
body.append('certification_bodies[]', '13');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);
body.append('technical_data_sheet', document.querySelector('input[name="technical_data_sheet"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"organisation": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [],
"safety_data_sheets": [],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
}
}
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.
Toggle Publish
requires authentication
Toggle the publish status of a product
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/toggle-publish" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/toggle-publish"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"organisation": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [],
"safety_data_sheets": [],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
}
}
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.
Destroy
requires authentication
Destroy a product
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Product deleted successfully."
}
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.
Download Safety Data Sheet (by id, product owner context)
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/1"
);
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):
file
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.
Download Technical Data Sheet
requires authentication
Download a technical data sheet
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet"
);
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):
file
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.
Product public profile
Download Public Safety Data Sheet
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/public" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/safety-data-sheet/public"
);
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):
file
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.
Public product profile
requires authentication
Get a public product profile
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/public-profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/public-profile"
);
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):
{
"data": {
"id": 1,
"organisation": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"name": "sed",
"description": null,
"alternate_names": null,
"version": 1,
"status": "DRAFT",
"technical_data_sheet_url": null,
"conformance_level": null,
"ctz_level": null,
"use_types": [],
"sds_visibility": 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.
Download Public Technical Data Sheet
requires authentication
Download a public technical data sheet
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet/public" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/1/technical-data-sheet/public"
);
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):
file
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.
Product Assignment
Index
requires authentication
Get Product Assignments
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment?per_page=5&page=1&filter%5Bname%5D=et&filter%5Bzdhc_pid%5D=2&filter%5Bstatus%5D=vel&filter%5Bassignment_status%5D=facilis&filter%5Borganisation_id%5D=5&filter%5Bmax_conformance_level_id%5D=14&filter%5Bmax_ctz_level_id%5D=6&filter%5Bcreated_at%5D=qui&filter%5Bupdated_at%5D=et&search=neque&sort=id%2Cname%2Cversion%2Cstatus%2Cassignment_status%2Czdhc_pid%2Cconformance_level_name%2Cctz_level_name%2Ccreated_at%2Cupdated_at&column=id" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment"
);
const params = {
"per_page": "5",
"page": "1",
"filter[name]": "et",
"filter[zdhc_pid]": "2",
"filter[status]": "vel",
"filter[assignment_status]": "facilis",
"filter[organisation_id]": "5",
"filter[max_conformance_level_id]": "14",
"filter[max_ctz_level_id]": "6",
"filter[created_at]": "qui",
"filter[updated_at]": "et",
"search": "neque",
"sort": "id,name,version,status,assignment_status,zdhc_pid,conformance_level_name,ctz_level_name,created_at,updated_at",
"column": "id",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"conformance_level": null,
"ctz_level": null
},
{
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"organisation_id": 5,
"zdhc_pid": null,
"name": "sed",
"version": 1,
"description": null,
"alternate_names": null,
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:28.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "DRAFT",
"technical_data_sheet_url": "",
"conformance_level": null,
"ctz_level": 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.
Update
requires authentication
Update product assignments
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "certifications[][mrsl_standard_id]=13"\
--form "certifications[][ctz_standard_id]=1"\
--form "certifications[][safety_data_sheet_id]=13"\
--form "safety_data_sheet=@/tmp/phpJMIJnM" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('certifications[][mrsl_standard_id]', '13');
body.append('certifications[][ctz_standard_id]', '1');
body.append('certifications[][safety_data_sheet_id]', '13');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 14,
"status": "UNDER_REVIEW",
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2025-12-12T09:13:50.000000Z",
"updated_at": "2025-12-12T16:04:31.000000Z",
"max_conformance_level_id": null,
"max_ctz_level_id": null,
"conformance_level": null,
"ctz_level": null,
"mrsl_certifications": [],
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": "",
"organisation": {
"id": 32,
"reference_id": "01-R6MYJM3NE47K4-H",
"type_id": 6,
"name": "test-Chemical formulator m.breuer",
"address_1": "58013 Lonzo Manors",
"address_2": "Apt. 423",
"city": "New Isidro",
"state": "Utah",
"location": "JE",
"zip": "86567-2898",
"phone": "+15013901283",
"email": "geoffrey.tremblay@robel.biz",
"website": "http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus",
"avatar_url": null,
"location_name": "Jersey"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [
{
"id": 14,
"status": "UNDER_REVIEW",
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2025-12-12T09:13:50.000000Z",
"updated_at": "2025-12-12T16:04:31.000000Z",
"max_conformance_level_id": null,
"max_ctz_level_id": null,
"certification_body": {
"id": 33,
"maxio_customer_id": 226025,
"reference_id": "01-TXF8SFVYCQAUD-H",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac56-e234-4eb3-ae4d-25ccc2e61971",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies m.breuer",
"legal_name": "Marvin Inc",
"address_1": "7505 Gleichner Points Apt. 547",
"address_2": "Apt. 605",
"city": "Joemouth",
"state": "New Hampshire",
"location": "AL",
"zip": "10490",
"phone": "+14845414899",
"email": "lance14@hill.biz",
"contact_first_name": "Newton",
"contact_last_name": "Rogahn",
"website": "http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1992-11-30 18:20:01",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:14.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-28 09:04:37",
"profile_reviewed_by_user_id": 4,
"location_name": "Albania"
},
"mrsl_certifications": []
}
],
"safety_data_sheets": [
{
"id": 3,
"file_name": "test-pdf.pdf",
"mime_type": "application/pdf",
"file_size": "4911",
"locale": "en",
"version": 1,
"chemical_product_id": 31,
"organisation_id": 32,
"created_at": "2025-12-12T09:13:32.000000Z",
"updated_at": "2025-12-12T09:13:32.000000Z",
"file_url": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3",
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": ""
}
},
{
"id": 17,
"file_name": "test-pdf.pdf",
"mime_type": "application/pdf",
"file_size": "4911",
"locale": "en",
"version": 1,
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2026-02-02T14:18:50.000000Z",
"updated_at": "2026-02-02T14:18:50.000000Z",
"file_url": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17",
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": ""
}
}
],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
},
"highest_mrsl_certification": null,
"ctz_certifications": [],
"highest_ctz_certification": 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.
Toggle Decline
requires authentication
Toggle the decline status of a product assignment
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/qui/toggle-decline" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"sxhrgnakk\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/qui/toggle-decline"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason": "sxhrgnakk"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 14,
"status": "UNDER_REVIEW",
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2025-12-12T09:13:50.000000Z",
"updated_at": "2025-12-12T16:04:31.000000Z",
"max_conformance_level_id": null,
"max_ctz_level_id": null,
"conformance_level": null,
"ctz_level": null,
"mrsl_certifications": [],
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": "",
"organisation": {
"id": 32,
"reference_id": "01-R6MYJM3NE47K4-H",
"type_id": 6,
"name": "test-Chemical formulator m.breuer",
"address_1": "58013 Lonzo Manors",
"address_2": "Apt. 423",
"city": "New Isidro",
"state": "Utah",
"location": "JE",
"zip": "86567-2898",
"phone": "+15013901283",
"email": "geoffrey.tremblay@robel.biz",
"website": "http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus",
"avatar_url": null,
"location_name": "Jersey"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [
{
"id": 14,
"status": "UNDER_REVIEW",
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2025-12-12T09:13:50.000000Z",
"updated_at": "2025-12-12T16:04:31.000000Z",
"max_conformance_level_id": null,
"max_ctz_level_id": null,
"certification_body": {
"id": 33,
"maxio_customer_id": 226025,
"reference_id": "01-TXF8SFVYCQAUD-H",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac56-e234-4eb3-ae4d-25ccc2e61971",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies m.breuer",
"legal_name": "Marvin Inc",
"address_1": "7505 Gleichner Points Apt. 547",
"address_2": "Apt. 605",
"city": "Joemouth",
"state": "New Hampshire",
"location": "AL",
"zip": "10490",
"phone": "+14845414899",
"email": "lance14@hill.biz",
"contact_first_name": "Newton",
"contact_last_name": "Rogahn",
"website": "http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1992-11-30 18:20:01",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:14.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-28 09:04:37",
"profile_reviewed_by_user_id": 4,
"location_name": "Albania"
},
"mrsl_certifications": []
}
],
"safety_data_sheets": [
{
"id": 3,
"file_name": "test-pdf.pdf",
"mime_type": "application/pdf",
"file_size": "4911",
"locale": "en",
"version": 1,
"chemical_product_id": 31,
"organisation_id": 32,
"created_at": "2025-12-12T09:13:32.000000Z",
"updated_at": "2025-12-12T09:13:32.000000Z",
"file_url": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3",
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": ""
}
},
{
"id": 17,
"file_name": "test-pdf.pdf",
"mime_type": "application/pdf",
"file_size": "4911",
"locale": "en",
"version": 1,
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2026-02-02T14:18:50.000000Z",
"updated_at": "2026-02-02T14:18:50.000000Z",
"file_url": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17",
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": ""
}
}
],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
},
"highest_mrsl_certification": null,
"ctz_certifications": [],
"highest_ctz_certification": 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.
Show
requires authentication
Show a product assignment
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product-assignment/14"
);
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):
{
"data": {
"id": 14,
"status": "UNDER_REVIEW",
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2025-12-12T09:13:50.000000Z",
"updated_at": "2025-12-12T16:04:31.000000Z",
"max_conformance_level_id": null,
"max_ctz_level_id": null,
"conformance_level": null,
"ctz_level": null,
"mrsl_certifications": [],
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": "",
"organisation": {
"id": 32,
"reference_id": "01-R6MYJM3NE47K4-H",
"type_id": 6,
"name": "test-Chemical formulator m.breuer",
"address_1": "58013 Lonzo Manors",
"address_2": "Apt. 423",
"city": "New Isidro",
"state": "Utah",
"location": "JE",
"zip": "86567-2898",
"phone": "+15013901283",
"email": "geoffrey.tremblay@robel.biz",
"website": "http://www.paucek.info/ipsa-consequatur-illum-animi-soluta-laborum-aspernatur-ipsum-possimus",
"avatar_url": null,
"location_name": "Jersey"
},
"conformance_level": null,
"ctz_level": null,
"highest_mrsl_certification": null,
"highest_ctz_certification": null,
"certification_body_assignments": [
{
"id": 14,
"status": "UNDER_REVIEW",
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2025-12-12T09:13:50.000000Z",
"updated_at": "2025-12-12T16:04:31.000000Z",
"max_conformance_level_id": null,
"max_ctz_level_id": null,
"certification_body": {
"id": 33,
"maxio_customer_id": 226025,
"reference_id": "01-TXF8SFVYCQAUD-H",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac56-e234-4eb3-ae4d-25ccc2e61971",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies m.breuer",
"legal_name": "Marvin Inc",
"address_1": "7505 Gleichner Points Apt. 547",
"address_2": "Apt. 605",
"city": "Joemouth",
"state": "New Hampshire",
"location": "AL",
"zip": "10490",
"phone": "+14845414899",
"email": "lance14@hill.biz",
"contact_first_name": "Newton",
"contact_last_name": "Rogahn",
"website": "http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1992-11-30 18:20:01",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:14.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-28 09:04:37",
"profile_reviewed_by_user_id": 4,
"location_name": "Albania"
},
"mrsl_certifications": []
}
],
"safety_data_sheets": [
{
"id": 3,
"file_name": "test-pdf.pdf",
"mime_type": "application/pdf",
"file_size": "4911",
"locale": "en",
"version": 1,
"chemical_product_id": 31,
"organisation_id": 32,
"created_at": "2025-12-12T09:13:32.000000Z",
"updated_at": "2025-12-12T09:13:32.000000Z",
"file_url": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/3",
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": ""
}
},
{
"id": 17,
"file_name": "test-pdf.pdf",
"mime_type": "application/pdf",
"file_size": "4911",
"locale": "en",
"version": 1,
"chemical_product_id": 31,
"organisation_id": 33,
"created_at": "2026-02-02T14:18:50.000000Z",
"updated_at": "2026-02-02T14:18:50.000000Z",
"file_url": "http://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/product/31/safety-data-sheet/17",
"chemical_product": {
"id": 31,
"reference_id": "20-MAMVURD727AJ-P",
"organisation_id": 32,
"zdhc_pid": null,
"name": "cupiditate",
"version": 1,
"description": null,
"alternate_names": [
"alternative name"
],
"created_at": "2025-11-14T09:43:25.000000Z",
"updated_at": "2026-03-05T14:31:29.000000Z",
"conformance_level_id": null,
"ctz_level_id": null,
"status": "UNDER_REVIEW",
"technical_data_sheet_url": ""
}
}
],
"certified_safety_data_sheets": [],
"use_types": [],
"activity_logs": []
},
"highest_mrsl_certification": null,
"ctz_certifications": [],
"highest_ctz_certification": 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.
Product Category
Index
requires authentication
List all product categories
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category?per_page=17&page=1&filter%5Bname%5D=quaerat&filter%5Bis_inactive%5D=1&filter%5Bcreated_at%5D=eaque&filter%5Bupdated_at%5D=perferendis&sort=name%2Cis_inactive%2Ccreated_at%2Cupdated_at&search=reprehenderit&column=name" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category"
);
const params = {
"per_page": "17",
"page": "1",
"filter[name]": "quaerat",
"filter[is_inactive]": "1",
"filter[created_at]": "eaque",
"filter[updated_at]": "perferendis",
"sort": "name,is_inactive,created_at,updated_at",
"search": "reprehenderit",
"column": "name",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
},
{
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 100,
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show a product category
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/10"
);
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):
{
"data": {
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a product category
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"bppuanpwyfpbwbxqjrqjqodwc\",
\"is_inactive\": false,
\"substrates\": [
12
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "bppuanpwyfpbwbxqjrqjqodwc",
"is_inactive": false,
"substrates": [
12
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
}
}
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
requires authentication
Update a product category
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"qy\",
\"is_inactive\": true,
\"substrates\": [
5
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/10"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "qy",
"is_inactive": true,
"substrates": [
5
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
}
}
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.
Destroy
requires authentication
Destroy a product category
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-category/10"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Product category deleted successfully."
}
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.
Product Substrate
Index
requires authentication
Get Product Substrates
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate?per_page=8&page=1&filter%5Bname%5D=aut&filter%5Bis_inactive%5D=&filter%5Bcategories_count%5D=9&filter%5Buse_types_count%5D=4&filter%5Bupdated_at%5D=expedita&filter%5Bcreated_at%5D=est&sort=name%2Ccategories_count%2Cuse_types_count%2Cis_inactive%2Cupdated_at%2Ccreated_at&column=name" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate"
);
const params = {
"per_page": "8",
"page": "1",
"filter[name]": "aut",
"filter[is_inactive]": "0",
"filter[categories_count]": "9",
"filter[use_types_count]": "4",
"filter[updated_at]": "expedita",
"filter[created_at]": "est",
"sort": "name,categories_count,use_types_count,is_inactive,updated_at,created_at",
"column": "name",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"categories_count": null,
"use_types_count": null
},
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"categories_count": null,
"use_types_count": 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.
Show
requires authentication
Show a product substrate
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/13" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/13"
);
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):
{
"data": {
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new product substrate
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"tfuqdjbtubanntquwlxvqsmpm\",
\"is_inactive\": true,
\"categories\": [
15
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "tfuqdjbtubanntquwlxvqsmpm",
"is_inactive": true,
"categories": [
15
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z"
}
}
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
requires authentication
Update a product substrate
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/13" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"kkhsoudij\",
\"is_inactive\": true,
\"categories\": [
10
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/13"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "kkhsoudij",
"is_inactive": true,
"categories": [
10
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z"
}
}
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.
Destroy
requires authentication
Destroy a product substrate
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/13" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-substrate/13"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Product substrate deleted successfully."
}
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.
Product Use Type
Index
requires authentication
List all product use types
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type?per_page=1&page=1&filter%5Bname%5D=excepturi&filter%5Bis_inactive%5D=&filter%5Bcreated_at%5D=quod&filter%5Bupdated_at%5D=et&sort=name%2Cis_inactive%2Ccreated_at%2Cupdated_at&search=et&column=name" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type"
);
const params = {
"per_page": "1",
"page": "1",
"filter[name]": "excepturi",
"filter[is_inactive]": "0",
"filter[created_at]": "quod",
"filter[updated_at]": "et",
"sort": "name,is_inactive,created_at,updated_at",
"search": "et",
"column": "name",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 10,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z"
},
{
"id": 10,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 100,
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show a product use type
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/10"
);
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):
{
"data": {
"id": 10,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"categories": [
{
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 10
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
},
{
"id": 53,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 53
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 53,
"product_substrate_id": 13
}
}
]
},
{
"id": 54,
"name": "Finishing agent",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 54
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 54,
"product_substrate_id": 13
}
}
]
},
{
"id": 55,
"name": "Lubricant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 55
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 55,
"product_substrate_id": 13
}
}
]
},
{
"id": 56,
"name": "Resin",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 56
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 56,
"product_substrate_id": 13
}
}
]
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a product use type
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"jehxrwbjsbprudxal\",
\"is_inactive\": true,
\"categories\": [
83
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "jehxrwbjsbprudxal",
"is_inactive": true,
"categories": [
83
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 10,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"categories": [
{
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 10
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
},
{
"id": 53,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 53
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 53,
"product_substrate_id": 13
}
}
]
},
{
"id": 54,
"name": "Finishing agent",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 54
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 54,
"product_substrate_id": 13
}
}
]
},
{
"id": 55,
"name": "Lubricant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 55
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 55,
"product_substrate_id": 13
}
}
]
},
{
"id": 56,
"name": "Resin",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 56
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 56,
"product_substrate_id": 13
}
}
]
}
]
}
}
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
requires authentication
Update a product use type
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"fhsjuldpsnuqybewmtnucep\",
\"is_inactive\": false,
\"categories\": [
68
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/10"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "fhsjuldpsnuqybewmtnucep",
"is_inactive": false,
"categories": [
68
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 10,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"categories": [
{
"id": 10,
"name": "Colorant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2025-12-16T10:02:53.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 10
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 10,
"product_substrate_id": 13
}
}
]
},
{
"id": 53,
"name": "Others",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 53
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 53,
"product_substrate_id": 13
}
}
]
},
{
"id": 54,
"name": "Finishing agent",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 54
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 54,
"product_substrate_id": 13
}
}
]
},
{
"id": 55,
"name": "Lubricant",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 55
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 55,
"product_substrate_id": 13
}
}
]
},
{
"id": 56,
"name": "Resin",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:54.000000Z",
"updated_at": "2025-12-16T10:02:54.000000Z",
"pivot": {
"product_use_type_id": 10,
"product_category_id": 56
},
"substrates": [
{
"id": 13,
"name": "Synthetic",
"is_inactive": 0,
"created_at": "2025-12-16T10:02:53.000000Z",
"updated_at": "2026-03-23T08:41:11.000000Z",
"pivot": {
"product_category_id": 56,
"product_substrate_id": 13
}
}
]
}
]
}
}
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.
Destroy
requires authentication
Destroy a product use type
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/classification/product-use-type/10"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Product use type deleted successfully."
}
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.
Conformance Levels
Index
requires authentication
get all conformance levels
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/conformance-levels" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/conformance-levels"
);
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):
{
"data": {
"id": 1,
"name": "Level 1"
}
}
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.
Development
Frontend values
Get a list of almost all values
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/development/frontend/values" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/development/frontend/values"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
[
roles: {}
organisationTypes: {}
wastewaterActionTypes: {}
wastewaterTypes: {}
samplingPoints: {}
msrl_conformance_levels: {}
ctz_conformance_levels: {}
root_cause_reasons: {}
corrective_actions: {}
]
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
Store
requires authentication
Create a new Organisation API Key
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organisation_user_id\": \"incidunt\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/organisation-api-keys"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organisation_user_id": "incidunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (201):
{
"message": "Organisation API key created successfully."
"api_key": "foreign_api_key|0de1eb785a5d603f8c56057e6408914a3bd854e4e22e878689b92c6b25b851e7"
}
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/admin/{organisation_id}/wastewater/reporting/activity-logs
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/admin/1/wastewater/reporting/activity-logs?sort=created_at%2Cclearstream_id%2Caction_type%2Cuser_name%2Cmessage&filter%5Bclearstream_id%5D=13&filter%5Baction_type%5D=et&filter%5Buser_name%5D=eum&column=context-%3Ecreated_at&search=eos&page=1&per_page=7" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/admin/1/wastewater/reporting/activity-logs"
);
const params = {
"sort": "created_at,clearstream_id,action_type,user_name,message",
"filter[clearstream_id]": "13",
"filter[action_type]": "et",
"filter[user_name]": "eum",
"column": "context->created_at",
"search": "eos",
"page": "1",
"per_page": "7",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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/incheck/{organisation_id}/activity-logs
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/activity-logs?sort=created_at%2Caction_type%2Cuser_name%2Cmessage&filter%5Baction_type%5D=dolorem&filter%5Buser_name%5D=similique&column=context-%3Ecreated_at&search=blanditiis&page=1&per_page=19" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/activity-logs"
);
const params = {
"sort": "created_at,action_type,user_name,message",
"filter[action_type]": "dolorem",
"filter[user_name]": "similique",
"column": "context->created_at",
"search": "blanditiis",
"page": "1",
"per_page": "19",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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/incheck/{organisation_id}/solution-provider/activity-logs
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/solution-provider/activity-logs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/solution-provider/activity-logs"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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/system/organisation/{organisation_id}/push-notification-count
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/push-notification-count" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/push-notification-count"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Summary of completeSampling
requires authentication
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/complete-sampling" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/complete-sampling"
);
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/organisation/{organisation_id}/wastewater/reporting/laboratory-requests/{clearstreamRequest_id}/start-testing
requires authentication
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/start-testing" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/start-testing"
);
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.
Finish testing
requires authentication
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/finish-testing" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/finish-testing"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/organisation/{organisation_id}/wastewater/reporting/activity-logs/{report?}
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/activity-logs/2?sort=created_at%2Cclearstream_id%2Caction_type%2Cuser_name%2Cmessage&filter%5Bclearstream_id%5D=10&filter%5Bclearstream_reference_id%5D=aspernatur&filter%5Baction_type%5D=quasi&filter%5Buser_name%5D=sunt&column=context-%3Ecreated_at&search=accusantium&page=1&per_page=4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/activity-logs/2"
);
const params = {
"sort": "created_at,clearstream_id,action_type,user_name,message",
"filter[clearstream_id]": "10",
"filter[clearstream_reference_id]": "aspernatur",
"filter[action_type]": "quasi",
"filter[user_name]": "sunt",
"column": "context->created_at",
"search": "accusantium",
"page": "1",
"per_page": "4",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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/organisation/{organisation_id}/wastewater/reporting/labs/test-results/{report_id}/parameters/{id}
requires authentication
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/2/parameters/45" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/2/parameters/45"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Receives Maxio webhook events and processes them asynchronously via Event/Listener.
requires authentication
A fast 2xx response is important so Maxio does not retry the webhook.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/webhook/maxio/voluptate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/webhook/maxio/voluptate"
);
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.
Global Search
Combined
Combined Search
requires authentication
Get combined search results
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/combined?filter%5Bsearch%5D=omnis" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/combined"
);
const params = {
"filter[search]": "omnis",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
[],
[]
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Organisations
Organisations
requires authentication
Get Products
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/organisations?filter%5Btype_id%5D=eveniet&filter%5Blocation%5D=nostrum&filter%5Bsearch%5D=dolore&filter%5Bonly_active_connections%5D=quod&filter%5Bmrsl_standard_id%5D=hic&filter%5Bctz_standard_id%5D=unde&filter%5Bhas_incheck_level_1%5D=et&page=1&per_page=3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/organisations"
);
const params = {
"filter[type_id]": "eveniet",
"filter[location]": "nostrum",
"filter[search]": "dolore",
"filter[only_active_connections]": "quod",
"filter[mrsl_standard_id]": "hic",
"filter[ctz_standard_id]": "unde",
"filter[has_incheck_level_1]": "et",
"page": "1",
"per_page": "3",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "01-CR698383XMWJ2-P",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"location": {
"code": "BW",
"name": "Botswana"
}
},
{
"id": 1,
"reference_id": "01-CR698383XMWJ2-P",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"location": {
"code": "BW",
"name": "Botswana"
}
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 50,
"to": 2,
"total": 2
}
}
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.
Chemical Products
Chemical Products
requires authentication
Get Chemical Products
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/chemical-products?per_page=14&page=1&filter%5Bname%5D=sint&filter%5Bstatus%5D=incidunt&filter%5Bconformance_level_id%5D=20&filter%5Bctz_level_id%5D=19&filter%5Borganisation_id%5D=5&filter%5Bcreated_at%5D=enim&filter%5Bupdated_at%5D=at&filter%5Bsearch%5D=rem" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/global-search/chemical-products"
);
const params = {
"per_page": "14",
"page": "1",
"filter[name]": "sint",
"filter[status]": "incidunt",
"filter[conformance_level_id]": "20",
"filter[ctz_level_id]": "19",
"filter[organisation_id]": "5",
"filter[created_at]": "enim",
"filter[updated_at]": "at",
"filter[search]": "rem",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"status": "DRAFT",
"name": "sed",
"alternate_names": null,
"chemical_formulator": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"can_access_product_profile": false,
"conformance_level": null,
"ctz_level": null
},
{
"id": 1,
"reference_id": "20-NTNRYDE6A32E-I",
"status": "DRAFT",
"name": "sed",
"alternate_names": null,
"chemical_formulator": {
"id": 5,
"reference_id": "01-9YKA6G6TQSUTU-T",
"type_id": 6,
"name": "test-Chemical formulator System",
"address_1": "85608 Bridie Highway",
"address_2": "Apt. 403",
"city": "Port Eloisa",
"state": "Louisiana",
"location": "SY",
"zip": "69515",
"phone": "+13345405228",
"email": "goyette.diamond@schulist.com",
"website": "http://www.torp.com/",
"avatar_url": null,
"location_name": "Syria"
},
"can_access_product_profile": false,
"conformance_level": null,
"ctz_level": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 50,
"to": 2,
"total": 2
}
}
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.
InCheck
Inventory
Eligable Suppliers
requires authentication
Show all eligable suppliers for a given Solution Provider
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/inventory/eligable-suppliers?page=1&per_page=19" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/inventory/eligable-suppliers"
);
const params = {
"page": "1",
"per_page": "19",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": {
"id": 1,
"reference_id": "01-CR698383XMWJ2-P",
"name": "test-Supplier System"
}
}
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.
Onboarding Progress
requires authentication
See the requirements for the onboarding process to the incheck module
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/onboarding-progress" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/onboarding-progress"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Level
Index
requires authentication
List InCheck levels
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/level" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/level"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Reports
Index
requires authentication
Get all incheck reports for an organisation
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports"
);
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):
{
"data": [
{
"id": 15892,
"supplier_id": 1,
"status": "started",
"verified_at": null,
"closed_at": null,
"created_at": "2026-03-24T14:59:57.000000Z",
"updated_at": "2026-03-24T14:59:57.000000Z"
},
{
"id": 15892,
"supplier_id": 1,
"status": "started",
"verified_at": null,
"closed_at": null,
"created_at": "2026-03-24T14:59:57.000000Z",
"updated_at": "2026-03-24T14:59:57.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 100,
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show an incheck report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/4"
);
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):
{
"data": {
"id": 15893,
"supplier_id": 1,
"status": "started",
"verified_at": null,
"closed_at": null,
"created_at": "2026-03-24T14:59:57.000000Z",
"updated_at": "2026-03-24T14:59:57.000000Z"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new incheck report
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (201):
{
"data": {
"id": 15894,
"supplier_id": 1,
"status": "started",
"verified_at": null,
"closed_at": null,
"created_at": "2026-03-24T14:59:57.000000Z",
"updated_at": "2026-03-24T14:59:57.000000Z"
},
"message": "InCheck report created successfully"
}
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
requires authentication
Update an incheck report
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/18" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/18"
);
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.
Report Inventories
Index
requires authentication
Get all eligabile inventories for an incheck report. Usually last 12 months.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/9/inventories" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/9/inventories"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Bind
requires authentication
Bind inventories to an incheck report.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/4/inventories" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"inventory_ids\": [
20
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/reports/4/inventories"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"inventory_ids": [
20
]
};
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.
Supplier Providers
index
requires authentication
List selected solution providers
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Levels
requires authentication
List all inCheck levels for a supplier
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/levels" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/levels"
);
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):
{
"data": [
{
"id": 1,
"name": "Level 0",
"created_at": "2025-09-04T13:16:11.000000Z",
"updated_at": "2025-09-04T13:16:11.000000Z"
},
{
"id": 1,
"name": "Level 0",
"created_at": "2025-09-04T13:16:11.000000Z",
"updated_at": "2025-09-04T13:16:11.000000Z"
}
]
}
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.
Sync
requires authentication
Sync relating Suppliers to Incheck Providers AND set the incheck level
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/sync" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"level_ids\": [
14
],
\"provider_visibility_ids\": [
1
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/incheck/1/providers/sync"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"level_ids": [
14
],
"provider_visibility_ids": [
1
]
};
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.
Verified InCheck Report PDF
Show
requires authentication
Show the verified incheck report as a pdf
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/incheck/reports/id/verified-incheck-report-pdf" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/incheck/reports/id/verified-incheck-report-pdf"
);
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):
content of the pdf
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.
Industry Identifiers
Index
Get a paginated list of industry identifiers.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/industry-identifiers?per_page=9&page=1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/industry-identifiers"
);
const params = {
"per_page": "9",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 4,
"name": "amfori ID"
},
{
"id": 4,
"name": "amfori ID"
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "50",
"to": 2
}
}
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.
Internal/V1
Organisations
Organisations Index
requires authentication
List all organisations.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/internal/v1/organisations?page=1&per_page=11&filter%5Bupdated_at%5D=%3C+2026-03-25+14%3A59%3A57&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/internal/v1/organisations"
);
const params = {
"page": "1",
"per_page": "11",
"filter[updated_at]": "< 2026-03-25 14:59:57",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"reference_id": "01-CR698383XMWJ2-P",
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"status": "approved",
"type": {
"id": 2,
"name": "Supplier"
},
"registration_summary": {
"current_status": "approved",
"current_status_start_at": null
},
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address": {
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"postal_code": "26306",
"country": "BW",
"location_name": "Botswana"
},
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"primary_contact": {
"first_name": "Alfonzo",
"last_name": "Crooks",
"email": "yessenia18@bahringer.net",
"phone": "+17728385594"
},
"external_ids": {
"ZDHC_AID": null,
"OS_HUB": null,
"PDC_ID": null
},
"stats": {
"connections_count": null,
"users_count": null
},
"comments": {
"applicant_comment": null,
"review_comment": null
},
"reviewer_comment_category": null,
"registration_mail_sent_at": "1994-04-10 08:31:47",
"profile_reviewed_by_user_id": 73080,
"profile_reviewed_at": "2026-03-24 08:26:00",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"deleted_at": null
},
{
"id": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"reference_id": "01-CR698383XMWJ2-P",
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"status": "approved",
"type": {
"id": 2,
"name": "Supplier"
},
"registration_summary": {
"current_status": "approved",
"current_status_start_at": null
},
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address": {
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"postal_code": "26306",
"country": "BW",
"location_name": "Botswana"
},
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"primary_contact": {
"first_name": "Alfonzo",
"last_name": "Crooks",
"email": "yessenia18@bahringer.net",
"phone": "+17728385594"
},
"external_ids": {
"ZDHC_AID": null,
"OS_HUB": null,
"PDC_ID": null
},
"stats": {
"connections_count": null,
"users_count": null
},
"comments": {
"applicant_comment": null,
"review_comment": null
},
"reviewer_comment_category": null,
"registration_mail_sent_at": "1994-04-10 08:31:47",
"profile_reviewed_by_user_id": 73080,
"profile_reviewed_at": "2026-03-24 08:26:00",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"deleted_at": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Organisation-Users
OrganisationUsers Index
requires authentication
List all organisation-users.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/internal/v1/organisation-users?page=1&per_page=5&filter%5Bupdated_at%5D=%3C%3D+2026-04-03+14%3A59%3A57&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/internal/v1/organisation-users"
);
const params = {
"page": "1",
"per_page": "5",
"filter[updated_at]": "<= 2026-04-03 14:59:57",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"organisation": {
"id": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"reference_id": "01-CR698383XMWJ2-P",
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"status": "approved"
},
"user": {
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"status": "active"
},
"role": "ORGANISATION_ADMIN",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null
},
{
"organisation": {
"id": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"reference_id": "01-CR698383XMWJ2-P",
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"status": "approved"
},
"user": {
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"status": "active"
},
"role": "ORGANISATION_ADMIN",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Users
Users Index
requires authentication
List all users.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/internal/v1/users?page=1&per_page=4&filter%5Bupdated_at%5D=%3D+2026-04-08+14%3A59%3A57&sort=updated_at" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/internal/v1/users"
);
const params = {
"page": "1",
"per_page": "4",
"filter[updated_at]": "= 2026-04-08 14:59:57",
"sort": "updated_at",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"status": "active",
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"phone": "+13523381248",
"locale": "es_BO",
"location": null,
"location_name": null,
"external_ids": {
"PDC_ID": null
},
"last_active_at": "2025-12-02T13:51:01.000000Z",
"email_verified_at": null,
"profile_reviewed_at": null,
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null
},
{
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"status": "active",
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"phone": "+13523381248",
"locale": "es_BO",
"location": null,
"location_name": null,
"external_ids": {
"PDC_ID": null
},
"last_active_at": "2025-12-02T13:51:01.000000Z",
"email_verified_at": null,
"profile_reviewed_at": null,
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 10,
"to": 2,
"total": 2
}
}
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.
Labels
Index
requires authentication
Get a list of labels for an organisation
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels?page=1&per_page=12&filter%5Blabelable_type%5D=iusto&sort=name%2Clabelable_type%2Ccreated_at%2Cupdated_at&search=aliquam" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels"
);
const params = {
"page": "1",
"per_page": "12",
"filter[labelable_type]": "iusto",
"sort": "name,labelable_type,created_at,updated_at",
"search": "aliquam",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
[],
[]
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Destroy
requires authentication
Delete a label.
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/labels/1"
);
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.
Localisation
Locales
Get a list of all accepted locales
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/localisation/locales" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/localisation/locales"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
[
{
"en": "English",
"zh": "英语",
}
]
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.
Locations
Get a list of all accepted locations
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/localisation/locations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/localisation/locations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
[
{
"AD": "Andorra",
"AE": "United Arab Emirates",
"AF": "Afghanistan",
"AG": "Antigua and Barbuda",
}
]
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.
MRSL Standards
Index
requires authentication
Get MRSL Standards
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard?per_page=17&page=1&filter%5Bconformance_level_id%5D=16&filter%5Bstatus%5D=distinctio&filter%5Bstart_date%5D=earum&filter%5Bend_date%5D=deleniti&filter%5Bcreated_at%5D=vel&filter%5Bupdated_at%5D=non&search=doloremque&sort=name%2Cversion%2Cstatus%2Cstart_date%2Cend_date%2Ccreated_at%2Cupdated_at&column=name" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard"
);
const params = {
"per_page": "17",
"page": "1",
"filter[conformance_level_id]": "16",
"filter[status]": "distinctio",
"filter[start_date]": "earum",
"filter[end_date]": "deleniti",
"filter[created_at]": "vel",
"filter[updated_at]": "non",
"search": "doloremque",
"sort": "name,version,status,start_date,end_date,created_at,updated_at",
"column": "name",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 9,
"reference_id": "30-7V7GKLDBKXQA-I",
"name": "Level 1",
"version": "3.1",
"conformance_level_id": 1,
"start_date": "2025-12-01T00:00:00.000000Z",
"end_date": "2027-12-31T00:00:00.000000Z",
"status": "PASSED",
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2026-03-05T15:48:11.000000Z",
"expired_at": null,
"conformance_level": {
"id": 1,
"name": "Level 1"
},
"organisations": [
{
"id": 87,
"maxio_customer_id": 226066,
"reference_id": "01-8J36F3RPYYK3T-X",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5e-883a-40ed-9db4-c98abf3da6a2",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies vdhoek",
"legal_name": "Pfannerstill Inc",
"address_1": "38558 Russel Street",
"address_2": "Suite 630",
"city": "North Pattieshire",
"state": "Wyoming",
"location": "LK",
"zip": "92199-6406",
"phone": "+13213459957",
"email": "mohamed19@douglas.com",
"contact_first_name": "Jamel",
"contact_last_name": "Wilderman",
"website": "http://www.morar.com/qui-repudiandae-suscipit-accusantium",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1990-01-10 10:28:39",
"created_at": "2025-07-24T13:23:38.000000Z",
"updated_at": "2026-02-07T00:00:22.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-26 13:32:55",
"profile_reviewed_by_user_id": 10,
"location_name": "Sri Lanka",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 87,
"id": 1,
"valid_until": null,
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2025-12-11T16:58:28.000000Z"
}
},
{
"id": 6,
"maxio_customer_id": 225505,
"reference_id": "01-9YKA6G6PJ9H4P-N",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac51-4a14-419b-8a0f-321f3d2d2f6f",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies System",
"legal_name": "Stoltenberg, McDermott and Pacocha",
"address_1": "3644 Erin Extensions Suite 032",
"address_2": "Apt. 811",
"city": "Parkerview",
"state": "Alabama",
"location": "SJ",
"zip": "47449",
"phone": "+17706304373",
"email": "swelch@rutherford.com",
"contact_first_name": "Rickie",
"contact_last_name": "Leffler",
"website": "https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2009-06-15 04:14:20",
"created_at": "2025-07-24T13:23:29.000000Z",
"updated_at": "2026-02-07T00:00:09.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Svalbard & Jan Mayen",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 6,
"id": 10,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 15,
"maxio_customer_id": 225514,
"reference_id": "01-H7TPZSZGF3FQW-O",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac53-5112-4af0-a33d-3a4affc8d950",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies Regular",
"legal_name": "Emmerich Ltd",
"address_1": "560 Thea Loaf",
"address_2": "Apt. 104",
"city": "Port Lauretta",
"state": "Kentucky",
"location": "ME",
"zip": "93326",
"phone": "+16105393809",
"email": "nannie88@fritsch.com",
"contact_first_name": "Mandy",
"contact_last_name": "Anderson",
"website": "http://littel.com/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1996-10-18 23:24:44",
"created_at": "2025-07-24T13:23:30.000000Z",
"updated_at": "2026-02-07T00:00:11.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Montenegro",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 15,
"id": 11,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 24,
"maxio_customer_id": 226018,
"reference_id": "01-L8JRXULHPYL6N-Y",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac55-866a-4f90-8ca0-7edd448b2217",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies Member",
"legal_name": "Towne-Cartwright",
"address_1": "316 Luella Road",
"address_2": "Suite 119",
"city": "North Kyleeshire",
"state": "Washington",
"location": "DE",
"zip": "32596",
"phone": "+17477848328",
"email": "mertz.brandon@hilpert.info",
"contact_first_name": "Isobel",
"contact_last_name": "Howe",
"website": "http://www.gusikowski.info/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2023-06-22 14:24:07",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:13.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Germany",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 24,
"id": 12,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 51,
"maxio_customer_id": 226039,
"reference_id": "01-SVQFEQVU43G8W-Y",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac59-78be-458a-a670-e840bae10551",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies p.mehren",
"legal_name": "Lehner PLC",
"address_1": "222 Enrique Stream",
"address_2": "Suite 156",
"city": "North Damion",
"state": "New Mexico",
"location": "MC",
"zip": "62979-3585",
"phone": "+13057596358",
"email": "nelda76@baumbach.com",
"contact_first_name": "Priscilla",
"contact_last_name": "Bosco",
"website": "http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1976-01-28 19:55:22",
"created_at": "2025-07-24T13:23:34.000000Z",
"updated_at": "2026-02-07T00:00:17.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-30 12:21:18",
"profile_reviewed_by_user_id": 6,
"location_name": "Monaco",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 51,
"id": 13,
"valid_until": null,
"created_at": "2026-01-30T12:24:50.000000Z",
"updated_at": "2026-01-30T12:24:50.000000Z"
}
},
{
"id": 114,
"maxio_customer_id": 226087,
"reference_id": "01-J32MU29QPC7PY-M",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac62-1a4a-4885-a886-46c178514b10",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies jully",
"legal_name": "Wintheiser Inc",
"address_1": "8147 Gene Track Suite 777",
"address_2": "Apt. 798",
"city": "Rathmouth",
"state": "Wyoming",
"location": "VG",
"zip": "82304",
"phone": "+18455198054",
"email": "darien27@towne.com",
"contact_first_name": "Briana",
"contact_last_name": "Wisoky",
"website": "http://lakin.com/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2000-02-03 08:40:52",
"created_at": "2025-07-24T13:23:40.000000Z",
"updated_at": "2026-02-07T00:00:26.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "British Virgin Islands",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 114,
"id": 14,
"valid_until": null,
"created_at": "2026-02-02T11:52:53.000000Z",
"updated_at": "2026-02-02T11:52:53.000000Z"
}
},
{
"id": 33,
"maxio_customer_id": 226025,
"reference_id": "01-TXF8SFVYCQAUD-H",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac56-e234-4eb3-ae4d-25ccc2e61971",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies m.breuer",
"legal_name": "Marvin Inc",
"address_1": "7505 Gleichner Points Apt. 547",
"address_2": "Apt. 605",
"city": "Joemouth",
"state": "New Hampshire",
"location": "AL",
"zip": "10490",
"phone": "+14845414899",
"email": "lance14@hill.biz",
"contact_first_name": "Newton",
"contact_last_name": "Rogahn",
"website": "http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1992-11-30 18:20:01",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:14.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-28 09:04:37",
"profile_reviewed_by_user_id": 4,
"location_name": "Albania",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 33,
"id": 15,
"valid_until": null,
"created_at": "2026-02-02T14:23:51.000000Z",
"updated_at": "2026-02-02T14:23:51.000000Z"
}
}
]
},
{
"id": 9,
"reference_id": "30-7V7GKLDBKXQA-I",
"name": "Level 1",
"version": "3.1",
"conformance_level_id": 1,
"start_date": "2025-12-01T00:00:00.000000Z",
"end_date": "2027-12-31T00:00:00.000000Z",
"status": "PASSED",
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2026-03-05T15:48:11.000000Z",
"expired_at": null,
"conformance_level": {
"id": 1,
"name": "Level 1"
},
"organisations": [
{
"id": 87,
"maxio_customer_id": 226066,
"reference_id": "01-8J36F3RPYYK3T-X",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5e-883a-40ed-9db4-c98abf3da6a2",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies vdhoek",
"legal_name": "Pfannerstill Inc",
"address_1": "38558 Russel Street",
"address_2": "Suite 630",
"city": "North Pattieshire",
"state": "Wyoming",
"location": "LK",
"zip": "92199-6406",
"phone": "+13213459957",
"email": "mohamed19@douglas.com",
"contact_first_name": "Jamel",
"contact_last_name": "Wilderman",
"website": "http://www.morar.com/qui-repudiandae-suscipit-accusantium",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1990-01-10 10:28:39",
"created_at": "2025-07-24T13:23:38.000000Z",
"updated_at": "2026-02-07T00:00:22.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-26 13:32:55",
"profile_reviewed_by_user_id": 10,
"location_name": "Sri Lanka",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 87,
"id": 1,
"valid_until": null,
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2025-12-11T16:58:28.000000Z"
}
},
{
"id": 6,
"maxio_customer_id": 225505,
"reference_id": "01-9YKA6G6PJ9H4P-N",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac51-4a14-419b-8a0f-321f3d2d2f6f",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies System",
"legal_name": "Stoltenberg, McDermott and Pacocha",
"address_1": "3644 Erin Extensions Suite 032",
"address_2": "Apt. 811",
"city": "Parkerview",
"state": "Alabama",
"location": "SJ",
"zip": "47449",
"phone": "+17706304373",
"email": "swelch@rutherford.com",
"contact_first_name": "Rickie",
"contact_last_name": "Leffler",
"website": "https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2009-06-15 04:14:20",
"created_at": "2025-07-24T13:23:29.000000Z",
"updated_at": "2026-02-07T00:00:09.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Svalbard & Jan Mayen",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 6,
"id": 10,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 15,
"maxio_customer_id": 225514,
"reference_id": "01-H7TPZSZGF3FQW-O",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac53-5112-4af0-a33d-3a4affc8d950",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies Regular",
"legal_name": "Emmerich Ltd",
"address_1": "560 Thea Loaf",
"address_2": "Apt. 104",
"city": "Port Lauretta",
"state": "Kentucky",
"location": "ME",
"zip": "93326",
"phone": "+16105393809",
"email": "nannie88@fritsch.com",
"contact_first_name": "Mandy",
"contact_last_name": "Anderson",
"website": "http://littel.com/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1996-10-18 23:24:44",
"created_at": "2025-07-24T13:23:30.000000Z",
"updated_at": "2026-02-07T00:00:11.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Montenegro",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 15,
"id": 11,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 24,
"maxio_customer_id": 226018,
"reference_id": "01-L8JRXULHPYL6N-Y",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac55-866a-4f90-8ca0-7edd448b2217",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies Member",
"legal_name": "Towne-Cartwright",
"address_1": "316 Luella Road",
"address_2": "Suite 119",
"city": "North Kyleeshire",
"state": "Washington",
"location": "DE",
"zip": "32596",
"phone": "+17477848328",
"email": "mertz.brandon@hilpert.info",
"contact_first_name": "Isobel",
"contact_last_name": "Howe",
"website": "http://www.gusikowski.info/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2023-06-22 14:24:07",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:13.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Germany",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 24,
"id": 12,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 51,
"maxio_customer_id": 226039,
"reference_id": "01-SVQFEQVU43G8W-Y",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac59-78be-458a-a670-e840bae10551",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies p.mehren",
"legal_name": "Lehner PLC",
"address_1": "222 Enrique Stream",
"address_2": "Suite 156",
"city": "North Damion",
"state": "New Mexico",
"location": "MC",
"zip": "62979-3585",
"phone": "+13057596358",
"email": "nelda76@baumbach.com",
"contact_first_name": "Priscilla",
"contact_last_name": "Bosco",
"website": "http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1976-01-28 19:55:22",
"created_at": "2025-07-24T13:23:34.000000Z",
"updated_at": "2026-02-07T00:00:17.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-30 12:21:18",
"profile_reviewed_by_user_id": 6,
"location_name": "Monaco",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 51,
"id": 13,
"valid_until": null,
"created_at": "2026-01-30T12:24:50.000000Z",
"updated_at": "2026-01-30T12:24:50.000000Z"
}
},
{
"id": 114,
"maxio_customer_id": 226087,
"reference_id": "01-J32MU29QPC7PY-M",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac62-1a4a-4885-a886-46c178514b10",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies jully",
"legal_name": "Wintheiser Inc",
"address_1": "8147 Gene Track Suite 777",
"address_2": "Apt. 798",
"city": "Rathmouth",
"state": "Wyoming",
"location": "VG",
"zip": "82304",
"phone": "+18455198054",
"email": "darien27@towne.com",
"contact_first_name": "Briana",
"contact_last_name": "Wisoky",
"website": "http://lakin.com/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2000-02-03 08:40:52",
"created_at": "2025-07-24T13:23:40.000000Z",
"updated_at": "2026-02-07T00:00:26.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "British Virgin Islands",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 114,
"id": 14,
"valid_until": null,
"created_at": "2026-02-02T11:52:53.000000Z",
"updated_at": "2026-02-02T11:52:53.000000Z"
}
},
{
"id": 33,
"maxio_customer_id": 226025,
"reference_id": "01-TXF8SFVYCQAUD-H",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac56-e234-4eb3-ae4d-25ccc2e61971",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies m.breuer",
"legal_name": "Marvin Inc",
"address_1": "7505 Gleichner Points Apt. 547",
"address_2": "Apt. 605",
"city": "Joemouth",
"state": "New Hampshire",
"location": "AL",
"zip": "10490",
"phone": "+14845414899",
"email": "lance14@hill.biz",
"contact_first_name": "Newton",
"contact_last_name": "Rogahn",
"website": "http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1992-11-30 18:20:01",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:14.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-28 09:04:37",
"profile_reviewed_by_user_id": 4,
"location_name": "Albania",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 33,
"id": 15,
"valid_until": null,
"created_at": "2026-02-02T14:23:51.000000Z",
"updated_at": "2026-02-02T14:23:51.000000Z"
}
}
]
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show a MRSL Standard
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/9"
);
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):
{
"data": {
"id": 9,
"reference_id": "30-7V7GKLDBKXQA-I",
"name": "Level 1",
"version": "3.1",
"conformance_level_id": 1,
"start_date": "2025-12-01T00:00:00.000000Z",
"end_date": "2027-12-31T00:00:00.000000Z",
"status": "PASSED",
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2026-03-05T15:48:11.000000Z",
"expired_at": null,
"conformance_level": {
"id": 1,
"name": "Level 1"
},
"organisations": [
{
"id": 87,
"maxio_customer_id": 226066,
"reference_id": "01-8J36F3RPYYK3T-X",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5e-883a-40ed-9db4-c98abf3da6a2",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies vdhoek",
"legal_name": "Pfannerstill Inc",
"address_1": "38558 Russel Street",
"address_2": "Suite 630",
"city": "North Pattieshire",
"state": "Wyoming",
"location": "LK",
"zip": "92199-6406",
"phone": "+13213459957",
"email": "mohamed19@douglas.com",
"contact_first_name": "Jamel",
"contact_last_name": "Wilderman",
"website": "http://www.morar.com/qui-repudiandae-suscipit-accusantium",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1990-01-10 10:28:39",
"created_at": "2025-07-24T13:23:38.000000Z",
"updated_at": "2026-02-07T00:00:22.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-26 13:32:55",
"profile_reviewed_by_user_id": 10,
"location_name": "Sri Lanka",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 87,
"id": 1,
"valid_until": null,
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2025-12-11T16:58:28.000000Z"
}
},
{
"id": 6,
"maxio_customer_id": 225505,
"reference_id": "01-9YKA6G6PJ9H4P-N",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac51-4a14-419b-8a0f-321f3d2d2f6f",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies System",
"legal_name": "Stoltenberg, McDermott and Pacocha",
"address_1": "3644 Erin Extensions Suite 032",
"address_2": "Apt. 811",
"city": "Parkerview",
"state": "Alabama",
"location": "SJ",
"zip": "47449",
"phone": "+17706304373",
"email": "swelch@rutherford.com",
"contact_first_name": "Rickie",
"contact_last_name": "Leffler",
"website": "https://www.leffler.com/et-alias-autem-rerum-mollitia-esse-earum-quam",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2009-06-15 04:14:20",
"created_at": "2025-07-24T13:23:29.000000Z",
"updated_at": "2026-02-07T00:00:09.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Svalbard & Jan Mayen",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 6,
"id": 10,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 15,
"maxio_customer_id": 225514,
"reference_id": "01-H7TPZSZGF3FQW-O",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac53-5112-4af0-a33d-3a4affc8d950",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies Regular",
"legal_name": "Emmerich Ltd",
"address_1": "560 Thea Loaf",
"address_2": "Apt. 104",
"city": "Port Lauretta",
"state": "Kentucky",
"location": "ME",
"zip": "93326",
"phone": "+16105393809",
"email": "nannie88@fritsch.com",
"contact_first_name": "Mandy",
"contact_last_name": "Anderson",
"website": "http://littel.com/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1996-10-18 23:24:44",
"created_at": "2025-07-24T13:23:30.000000Z",
"updated_at": "2026-02-07T00:00:11.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Montenegro",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 15,
"id": 11,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 24,
"maxio_customer_id": 226018,
"reference_id": "01-L8JRXULHPYL6N-Y",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac55-866a-4f90-8ca0-7edd448b2217",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies Member",
"legal_name": "Towne-Cartwright",
"address_1": "316 Luella Road",
"address_2": "Suite 119",
"city": "North Kyleeshire",
"state": "Washington",
"location": "DE",
"zip": "32596",
"phone": "+17477848328",
"email": "mertz.brandon@hilpert.info",
"contact_first_name": "Isobel",
"contact_last_name": "Howe",
"website": "http://www.gusikowski.info/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2023-06-22 14:24:07",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:13.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "Germany",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 24,
"id": 12,
"valid_until": null,
"created_at": "2026-01-28T14:51:26.000000Z",
"updated_at": "2026-01-28T14:51:26.000000Z"
}
},
{
"id": 51,
"maxio_customer_id": 226039,
"reference_id": "01-SVQFEQVU43G8W-Y",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac59-78be-458a-a670-e840bae10551",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies p.mehren",
"legal_name": "Lehner PLC",
"address_1": "222 Enrique Stream",
"address_2": "Suite 156",
"city": "North Damion",
"state": "New Mexico",
"location": "MC",
"zip": "62979-3585",
"phone": "+13057596358",
"email": "nelda76@baumbach.com",
"contact_first_name": "Priscilla",
"contact_last_name": "Bosco",
"website": "http://www.larson.info/officiis-quo-rerum-numquam-ipsum-aut-tenetur-dolorem.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1976-01-28 19:55:22",
"created_at": "2025-07-24T13:23:34.000000Z",
"updated_at": "2026-02-07T00:00:17.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-30 12:21:18",
"profile_reviewed_by_user_id": 6,
"location_name": "Monaco",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 51,
"id": 13,
"valid_until": null,
"created_at": "2026-01-30T12:24:50.000000Z",
"updated_at": "2026-01-30T12:24:50.000000Z"
}
},
{
"id": 114,
"maxio_customer_id": 226087,
"reference_id": "01-J32MU29QPC7PY-M",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac62-1a4a-4885-a886-46c178514b10",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies jully",
"legal_name": "Wintheiser Inc",
"address_1": "8147 Gene Track Suite 777",
"address_2": "Apt. 798",
"city": "Rathmouth",
"state": "Wyoming",
"location": "VG",
"zip": "82304",
"phone": "+18455198054",
"email": "darien27@towne.com",
"contact_first_name": "Briana",
"contact_last_name": "Wisoky",
"website": "http://lakin.com/",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "2000-02-03 08:40:52",
"created_at": "2025-07-24T13:23:40.000000Z",
"updated_at": "2026-02-07T00:00:26.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": null,
"profile_reviewed_by_user_id": null,
"location_name": "British Virgin Islands",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 114,
"id": 14,
"valid_until": null,
"created_at": "2026-02-02T11:52:53.000000Z",
"updated_at": "2026-02-02T11:52:53.000000Z"
}
},
{
"id": 33,
"maxio_customer_id": 226025,
"reference_id": "01-TXF8SFVYCQAUD-H",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac56-e234-4eb3-ae4d-25ccc2e61971",
"type_id": 7,
"status": "approved",
"name": "test-ZDHC MRSL Certification Bodies m.breuer",
"legal_name": "Marvin Inc",
"address_1": "7505 Gleichner Points Apt. 547",
"address_2": "Apt. 605",
"city": "Joemouth",
"state": "New Hampshire",
"location": "AL",
"zip": "10490",
"phone": "+14845414899",
"email": "lance14@hill.biz",
"contact_first_name": "Newton",
"contact_last_name": "Rogahn",
"website": "http://runolfsson.com/a-vel-voluptas-minus-sunt-vero-soluta-harum-ut.html",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1992-11-30 18:20:01",
"created_at": "2025-07-24T13:23:32.000000Z",
"updated_at": "2026-02-07T00:00:14.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-28 09:04:37",
"profile_reviewed_by_user_id": 4,
"location_name": "Albania",
"pivot": {
"mrsl_standard_id": 9,
"organisation_id": 33,
"id": 15,
"valid_until": null,
"created_at": "2026-02-02T14:23:51.000000Z",
"updated_at": "2026-02-02T14:23:51.000000Z"
}
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new MRSL Standard
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"pzks\",
\"version\": \"fwfeijhvtciycobcppzeooqdj\",
\"conformance_level_id\": \"modi\",
\"start_date\": \"2026-03-24T14:59:56\",
\"end_date\": \"2026-03-24T14:59:56\",
\"status\": \"PASSED\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "pzks",
"version": "fwfeijhvtciycobcppzeooqdj",
"conformance_level_id": "modi",
"start_date": "2026-03-24T14:59:56",
"end_date": "2026-03-24T14:59:56",
"status": "PASSED"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 9,
"reference_id": "30-7V7GKLDBKXQA-I",
"name": "Level 1",
"version": "3.1",
"conformance_level_id": 1,
"start_date": "2025-12-01T00:00:00.000000Z",
"end_date": "2027-12-31T00:00:00.000000Z",
"status": "PASSED",
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2026-03-05T15:48:11.000000Z",
"expired_at": 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.
Update
requires authentication
Update a MRSL Standard
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"jifcyzjmelxysirulma\",
\"version\": \"otsmh\",
\"conformance_level_id\": \"voluptatem\",
\"start_date\": \"2026-03-24T14:59:56\",
\"end_date\": \"2026-03-24T14:59:56\",
\"status\": \"FAILED\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/9"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "jifcyzjmelxysirulma",
"version": "otsmh",
"conformance_level_id": "voluptatem",
"start_date": "2026-03-24T14:59:56",
"end_date": "2026-03-24T14:59:56",
"status": "FAILED"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 9,
"reference_id": "30-7V7GKLDBKXQA-I",
"name": "Level 1",
"version": "3.1",
"conformance_level_id": 1,
"start_date": "2025-12-01T00:00:00.000000Z",
"end_date": "2027-12-31T00:00:00.000000Z",
"status": "PASSED",
"created_at": "2025-12-11T16:58:28.000000Z",
"updated_at": "2026-03-05T15:48:11.000000Z",
"expired_at": 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.
Destroy
requires authentication
Delete a MRSL Standard
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/chemical/certification/mrsl-standard/9"
);
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.
Organisations
Allowed Connections
Index
requires authentication
List all organisation connections
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections?per_page=19&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections"
);
const params = {
"per_page": "19",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"source_type_id": 1,
"target_type_id": 1,
"deactivated": 1,
"created_at": "2025-07-25T09:52:26.000000Z",
"updated_at": "2026-01-16T11:12:26.000000Z",
"source": {
"id": 1,
"name": "ZDHC Internal",
"display_name": "ZDHC Internal",
"description": "Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.",
"selectable": 0,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
"target": {
"id": 1,
"name": "ZDHC Internal",
"display_name": "ZDHC Internal",
"description": "Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.",
"selectable": 0,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
},
{
"id": 1,
"source_type_id": 1,
"target_type_id": 1,
"deactivated": 1,
"created_at": "2025-07-25T09:52:26.000000Z",
"updated_at": "2026-01-16T11:12:26.000000Z",
"source": {
"id": 1,
"name": "ZDHC Internal",
"display_name": "ZDHC Internal",
"description": "Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.",
"selectable": 0,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
"target": {
"id": 1,
"name": "ZDHC Internal",
"display_name": "ZDHC Internal",
"description": "Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.",
"selectable": 0,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 100,
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store an organisation connection
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"source_type_id\": 1,
\"target_type_id\": 4,
\"deactivated\": false
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"source_type_id": 1,
"target_type_id": 4,
"deactivated": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 1,
"source_type_id": 1,
"target_type_id": 1,
"deactivated": 1,
"created_at": "2025-07-25T09:52:26.000000Z",
"updated_at": "2026-01-16T11:12:26.000000Z"
},
{
"id": 1,
"source_type_id": 1,
"target_type_id": 1,
"deactivated": 1,
"created_at": "2025-07-25T09:52:26.000000Z",
"updated_at": "2026-01-16T11:12:26.000000Z"
}
]
}
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.
Destroy
requires authentication
Destroy an organisation connection
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/organisation/1/allowed-connections/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Selectable target types
requires authentication
Get types that are selectable for a connection
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/selectable-target-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/selectable-target-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": [
1,
2,
3
]
}
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.
Connections
Index
requires authentication
List all organisation connections
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections?per_page=12&page=1&filter%5Bstatus%5D=quibusdam&filter%5Binitiated_by%5D=repudiandae&filter%5Blabels%5D=quidem" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections"
);
const params = {
"per_page": "12",
"page": "1",
"filter[status]": "quibusdam",
"filter[initiated_by]": "repudiandae",
"filter[labels]": "quidem",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"sending_organisation_id": 1,
"receiving_organisation_id": 1,
"accepted_at": "2025-07-24 13:23:42",
"disconnected_at": null,
"rejected_at": null,
"created_at": "2025-07-24T13:23:42.000000Z",
"updated_at": "2025-07-24T13:23:42.000000Z",
"status": "active",
"receiving_organisation": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
},
"sending_organisation": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
}
},
{
"id": 1,
"sending_organisation_id": 1,
"receiving_organisation_id": 1,
"accepted_at": "2025-07-24 13:23:42",
"disconnected_at": null,
"rejected_at": null,
"created_at": "2025-07-24T13:23:42.000000Z",
"updated_at": "2025-07-24T13:23:42.000000Z",
"status": "active",
"receiving_organisation": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
},
"sending_organisation": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
}
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "100",
"to": 2
}
}
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.
Search connectable organisations
requires authentication
Search for connectable organisations
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/search-connectable-organisations?page=1&per_page=10&search=esse" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type_id\": 4,
\"search\": \"facere\",
\"exclude_connected\": \"true\",
\"exclude_pending\": \"1\",
\"include_all\": \"1\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/search-connectable-organisations"
);
const params = {
"page": "1",
"per_page": "10",
"search": "esse",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type_id": 4,
"search": "facere",
"exclude_connected": "true",
"exclude_pending": "1",
"include_all": "1"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana"
},
{
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 100,
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show an organisation connection
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1"
);
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):
{
"data": {
"id": 1,
"sending_organisation_id": 1,
"receiving_organisation_id": 1,
"accepted_at": "2025-07-24 13:23:42",
"disconnected_at": null,
"rejected_at": null,
"created_at": "2025-07-24T13:23:42.000000Z",
"updated_at": "2025-07-24T13:23:42.000000Z",
"status": "active",
"sending_organisation": {
"id": 1,
"reference_id": "01-CR698383XMWJ2-P",
"type_id": 2,
"name": "test-Supplier System",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"location_name": "Botswana"
},
"receiving_organisation": {
"id": 1,
"reference_id": "01-CR698383XMWJ2-P",
"type_id": 2,
"name": "test-Supplier System",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"location_name": "Botswana"
},
"labels": [],
"sharing_settings": []
}
}
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
requires authentication
Update an organisation connection
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"labels\": [
\"eitzhaxzckaxoudbqgkogsjxq\"
],
\"sharing_settings\": [
{
\"type\": \"ullam\",
\"active\": true
}
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"labels": [
"eitzhaxzckaxoudbqgkogsjxq"
],
"sharing_settings": [
{
"type": "ullam",
"active": true
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"sending_organisation_id": 1,
"receiving_organisation_id": 1,
"accepted_at": "2025-07-24 13:23:42",
"disconnected_at": null,
"rejected_at": null,
"created_at": "2025-07-24T13:23:42.000000Z",
"updated_at": "2025-07-24T13:23:42.000000Z",
"status": "active",
"sharing_settings": []
}
}
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.
Invite
requires authentication
Invite an organisation to connect
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/invite" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organisation_id\": 20
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/invite"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organisation_id": 20
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
Organisation connection initiated
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.
Accept
requires authentication
Accept an organisation connection
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/accept" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/accept"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Organisation connection accepted"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reject
requires authentication
Reject an organisation connection
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/reject" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/reject"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Organisation connection rejected"
}
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.
Disconnect
requires authentication
Disconnect an organisation connection
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/disconnect" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/disconnect"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Organisation disconnected"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cancel
requires authentication
Cancel a pending organisation connection request
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/cancel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/connections/1/cancel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "Connection request cancelled"
}
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.
Index
requires authentication
List all organisations.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations?filter%5Bstatus%5D=voluptatem&filter%5Btype_id%5D=rerum&sort=name%2Ctype_name%2Cstatus%2Ccreated_at%2Ccontact_first_name%2Ccontact_last_name&page=1&per_page=20&search=eum" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations"
);
const params = {
"filter[status]": "voluptatem",
"filter[type_id]": "rerum",
"sort": "name,type_name,status,created_at,contact_first_name,contact_last_name",
"page": "1",
"per_page": "20",
"search": "eum",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 3,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type_name": "ZDHC Approved Laboratory"
},
{
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 4,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type_name": "ZDHC Internal"
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "50",
"to": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
Show an organisation's data.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
"industry_identifiers": [],
"conformance_level_products": [],
"field_comments": 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.
Update
Update an organisation's data. Use a PATCH request for partial updates to get better performance.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=oa"\
--form "legal_name=opiitopmezodgt"\
--form "address_1=est"\
--form "city=zdcabwqykg"\
--form "state=rsp"\
--form "location=DE"\
--form "zip=fnh"\
--form "phone=+1234567890"\
--form "email=jmacejkovic@example.net"\
--form "contact_first_name=odio"\
--form "contact_last_name=vitae"\
--form "website=https://example.com"\
--form "conformance_level_products[][id]=17"\
--form "conformance_level_products[][count]=19"\
--form "status=submitted"\
--form "reviewer_comment=dolor"\
--form "reviewer_comment_category=Other"\
--form "industry_ids[][id]=11"\
--form "industry_ids[][value]=jfvpzotjkhk"\
--form "safety_data_sheet=@/tmp/phphGhoEL" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'oa');
body.append('legal_name', 'opiitopmezodgt');
body.append('address_1', 'est');
body.append('city', 'zdcabwqykg');
body.append('state', 'rsp');
body.append('location', 'DE');
body.append('zip', 'fnh');
body.append('phone', '+1234567890');
body.append('email', 'jmacejkovic@example.net');
body.append('contact_first_name', 'odio');
body.append('contact_last_name', 'vitae');
body.append('website', 'https://example.com');
body.append('conformance_level_products[][id]', '17');
body.append('conformance_level_products[][count]', '19');
body.append('status', 'submitted');
body.append('reviewer_comment', 'dolor');
body.append('reviewer_comment_category', 'Other');
body.append('industry_ids[][id]', '11');
body.append('industry_ids[][value]', 'jfvpzotjkhk');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Example response (200, Success):
{
"message": "updated successfully"
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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.
Distinct Status
requires authentication
Get a list of distinct organisation statuses.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-status" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-status"
);
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, Success):
{
"data": [
"submitted",
"needs_correction",
"approved",
"rejected"
]
}
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.
Distinct Types
requires authentication
Get a list of distinct organisation types.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations-distinct-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200, Success):
{
"data": {
"1": "Supplier",
"2": "Vendor"
}
}
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.
Profile
Public profile
requires authentication
Get a public profile of an organisation.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-profile/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-profile/1"
);
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):
{
"data": {
"id": 1,
"reference_id": "01-CR698383XMWJ2-P",
"type_id": 2,
"name": "test-Supplier System",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"location_name": "Botswana",
"os_hub_identifier": null,
"type": {
"id": 2,
"name": "Supplier"
},
"further_details": 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.
Visibility Settings
Show Visibility settings
requires authentication
Get all visibility settings of an organisation, grouped by visibility type.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings"
);
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, Success):
{
"message": "Visibility settings fetched successfully"
}
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 Visibility settings
requires authentication
Update the visibility settings of an organisation.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"visibility_type\": \"sds_files\",
\"visibility_settings\": [
{
\"organisation_type_id\": 9,
\"visible\": false
}
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/visibility-settings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"visibility_type": "sds_files",
"visibility_settings": [
{
"organisation_type_id": 9,
"visible": false
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, Success):
{
"message": "Visibility settings updated successfully"
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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.
History
Index
requires authentication
List all history entries for an organisation.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/history" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/history"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": [
[],
[]
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "10",
"to": 2
}
}
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.
Invitations
Index
requires authentication
List all invitations for the organisation.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation?per_page=20&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation"
);
const params = {
"per_page": "20",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"reference_id": "06-MAKEKAGX8HE9-S",
"uuid": "a05aa71d-1a73-4ad4-ab85-bfeea70d8d76",
"inviting_organisation_id": 13416,
"inviting_user_id": 1,
"receiving_organisation_id": 13416,
"receiving_user_id": 1,
"status": "INVITED",
"valid_until": "2025-11-21T09:21:52.000000Z",
"redeemed_at": null,
"created_at": "2025-11-14T09:21:52.000000Z",
"updated_at": "2025-11-14T09:21:52.000000Z",
"receiving_organisation": {
"id": 13416,
"reference_id": "01-W9YDRR7VE2LEM-S",
"type_id": 1,
"name": "ZDHC Internal Admin",
"address_1": "57125 Satterfield Extensions Suite 579",
"address_2": "Apt. 505",
"city": "Amsterdam",
"state": "Amsterdam",
"location": "NL",
"zip": "18615-8510",
"phone": "+1234567890",
"email": "info@zdhc.org",
"website": null,
"avatar_url": null,
"location_name": "Netherlands"
},
"receiving_user": {
"id": 1,
"email": "admin@localhost",
"profile_picture_url": null
},
"inviting_user": {
"id": 1,
"email": "admin@localhost",
"profile_picture_url": null
}
},
{
"id": 1,
"reference_id": "06-MAKEKAGX8HE9-S",
"uuid": "a05aa71d-1a73-4ad4-ab85-bfeea70d8d76",
"inviting_organisation_id": 13416,
"inviting_user_id": 1,
"receiving_organisation_id": 13416,
"receiving_user_id": 1,
"status": "INVITED",
"valid_until": "2025-11-21T09:21:52.000000Z",
"redeemed_at": null,
"created_at": "2025-11-14T09:21:52.000000Z",
"updated_at": "2025-11-14T09:21:52.000000Z",
"receiving_organisation": {
"id": 13416,
"reference_id": "01-W9YDRR7VE2LEM-S",
"type_id": 1,
"name": "ZDHC Internal Admin",
"address_1": "57125 Satterfield Extensions Suite 579",
"address_2": "Apt. 505",
"city": "Amsterdam",
"state": "Amsterdam",
"location": "NL",
"zip": "18615-8510",
"phone": "+1234567890",
"email": "info@zdhc.org",
"website": null,
"avatar_url": null,
"location_name": "Netherlands"
},
"receiving_user": {
"id": 1,
"email": "admin@localhost",
"profile_picture_url": null
},
"inviting_user": {
"id": 1,
"email": "admin@localhost",
"profile_picture_url": null
}
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "100",
"to": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new invitation for the organisation
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"organisation_type_id\": 6,
\"email\": \"hauck.ivory@example.org\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/invitation"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"organisation_type_id": 6,
"email": "hauck.ivory@example.org"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Registration
Register
requires authentication
Register a new organisation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/registration/register/1?email=talia59%40example.org&user_id=31&user_is_registered=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "user_first_name=xuqoorcyhwvxujgwtuisxc"\
--form "user_last_name=cwzcaxgzeukjxbcfl"\
--form "user_password=tihiccqsb"\
--form "user_password_confirmation=optio"\
--form "user_phone=pgqdmr"\
--form "user_locale=fr_BE"\
--form "user_location=dgvbzwciqzimlujhxq"\
--form "name=ufxaepliyqr"\
--form "legal_name=njmyovvqpalbacemoqfg"\
--form "address_1=minus"\
--form "city=waujcphbhgnztyqrksbi"\
--form "state=idlbsjsfxxolnkwc"\
--form "location=GA"\
--form "zip=engzpdgofmtalfgowhfdh"\
--form "phone=xdbk"\
--form "email=petra43@example.net"\
--form "contact_first_name=natus"\
--form "contact_last_name=sed"\
--form "website=djfytildthujwoiz"\
--form "conformance_level_products[][id]=11"\
--form "conformance_level_products[][count]=47"\
--form "tas_document_id=id"\
--form "tas_accepted=1"\
--form "industry_ids[][id]=18"\
--form "industry_ids[][value]=wzwylqwccrpkoetyx"\
--form "safety_data_sheet=@/tmp/phpdMocBP" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/registration/register/1"
);
const params = {
"email": "talia59@example.org",
"user_id": "31",
"user_is_registered": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_first_name', 'xuqoorcyhwvxujgwtuisxc');
body.append('user_last_name', 'cwzcaxgzeukjxbcfl');
body.append('user_password', 'tihiccqsb');
body.append('user_password_confirmation', 'optio');
body.append('user_phone', 'pgqdmr');
body.append('user_locale', 'fr_BE');
body.append('user_location', 'dgvbzwciqzimlujhxq');
body.append('name', 'ufxaepliyqr');
body.append('legal_name', 'njmyovvqpalbacemoqfg');
body.append('address_1', 'minus');
body.append('city', 'waujcphbhgnztyqrksbi');
body.append('state', 'idlbsjsfxxolnkwc');
body.append('location', 'GA');
body.append('zip', 'engzpdgofmtalfgowhfdh');
body.append('phone', 'xdbk');
body.append('email', 'petra43@example.net');
body.append('contact_first_name', 'natus');
body.append('contact_last_name', 'sed');
body.append('website', 'djfytildthujwoiz');
body.append('conformance_level_products[][id]', '11');
body.append('conformance_level_products[][count]', '47');
body.append('tas_document_id', 'id');
body.append('tas_accepted', '1');
body.append('industry_ids[][id]', '18');
body.append('industry_ids[][value]', 'wzwylqwccrpkoetyx');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200, Success):
{
"message": "registered successfully",
"organisationID": "[id]",
"registrationID": "[uuid]"
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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.
Status
See a non-active organisation's registration status.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/registration/bda3dbd8-84c2-30ba-99a5-69a32b3134ed/status" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/registration/bda3dbd8-84c2-30ba-99a5-69a32b3134ed/status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
"industry_identifiers": [],
"conformance_level_products": [],
"field_comments": 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.
Update
Update the organisations data from the user side.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/registration/053afd29-1d7e-3064-99d2-1a178ec5d824/update" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=oqxuvwfccqpxunuum"\
--form "legal_name=opd"\
--form "address_1=accusamus"\
--form "city=wvblvsul"\
--form "state=vsiibz"\
--form "location=CC"\
--form "zip=mnfzjuplbwwcdajuisbsh"\
--form "phone=+1234567890"\
--form "email=pouros.cornell@example.net"\
--form "contact_first_name=dolor"\
--form "contact_last_name=molestiae"\
--form "website=https://example.com"\
--form "conformance_level_products[][id]=11"\
--form "conformance_level_products[][count]=62"\
--form "applicant_comment=culpa"\
--form "industry_ids[][id]=7"\
--form "industry_ids[][value]=bduzeuhw"\
--form "safety_data_sheet=@/tmp/phpgHifbP" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/registration/053afd29-1d7e-3064-99d2-1a178ec5d824/update"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'oqxuvwfccqpxunuum');
body.append('legal_name', 'opd');
body.append('address_1', 'accusamus');
body.append('city', 'wvblvsul');
body.append('state', 'vsiibz');
body.append('location', 'CC');
body.append('zip', 'mnfzjuplbwwcdajuisbsh');
body.append('phone', '+1234567890');
body.append('email', 'pouros.cornell@example.net');
body.append('contact_first_name', 'dolor');
body.append('contact_last_name', 'molestiae');
body.append('website', 'https://example.com');
body.append('conformance_level_products[][id]', '11');
body.append('conformance_level_products[][count]', '62');
body.append('applicant_comment', 'culpa');
body.append('industry_ids[][id]', '7');
body.append('industry_ids[][value]', 'bduzeuhw');
body.append('safety_data_sheet', document.querySelector('input[name="safety_data_sheet"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Example response (200, Success):
{
"message": "updated successfully"
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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.
Subscriptions
Index
requires authentication
Get Subscriptions
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions?per_page=14&page=1&filter%5Bsubscribable_product_id%5D=9&filter%5Bstatus%5D=pariatur&filter%5Binvoice_created_at%5D=labore&filter%5Bstart_at%5D=ea&filter%5Bvalid_until%5D=et&filter%5Bcreated_at%5D=debitis&filter%5Bupdated_at%5D=et&search=ut&sort=id%2Csubscribable_product.name%2Cstatus%2Cinvoice_created_at%2Cstart_at%2Cvalid_until%2Ccreated_at%2Cupdated_at&column=id" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions"
);
const params = {
"per_page": "14",
"page": "1",
"filter[subscribable_product_id]": "9",
"filter[status]": "pariatur",
"filter[invoice_created_at]": "labore",
"filter[start_at]": "ea",
"filter[valid_until]": "et",
"filter[created_at]": "debitis",
"filter[updated_at]": "et",
"search": "ut",
"sort": "id,subscribable_product.name,status,invoice_created_at,start_at,valid_until,created_at,updated_at",
"column": "id",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"organisation_id": 1,
"subscribable_product_id": 1,
"status": "canceled",
"selected_stairstep": null,
"maxio_subscription_id": 346998,
"maxio_payment_id": 5857700,
"maxio_invoice_uid": "inv_c39knm3xrb9rv",
"payment_status": null,
"start_at": "2026-02-05T07:30:03.000000Z",
"valid_until": "2027-02-05T07:30:03.000000Z",
"invoice_created_at": "2026-02-05 07:30:03",
"expired_at": null,
"created_at": "2026-02-07T00:36:10.000000Z",
"updated_at": "2026-03-20T09:28:59.000000Z",
"deleted_at": null,
"subscribable_product": {
"id": 1,
"subcribable_product_family_handle": "billing-plans",
"subcribable_product_family_id": 2465,
"name": "Chemical Formulator Yearly",
"handle": "chemical-formulator-yearly",
"maxio_product_id": 4807,
"created_at": "2026-02-07T00:00:06.000000Z",
"updated_at": "2026-02-07T00:00:06.000000Z",
"deleted_at": null
}
},
{
"id": 1,
"organisation_id": 1,
"subscribable_product_id": 1,
"status": "canceled",
"selected_stairstep": null,
"maxio_subscription_id": 346998,
"maxio_payment_id": 5857700,
"maxio_invoice_uid": "inv_c39knm3xrb9rv",
"payment_status": null,
"start_at": "2026-02-05T07:30:03.000000Z",
"valid_until": "2027-02-05T07:30:03.000000Z",
"invoice_created_at": "2026-02-05 07:30:03",
"expired_at": null,
"created_at": "2026-02-07T00:36:10.000000Z",
"updated_at": "2026-03-20T09:28:59.000000Z",
"deleted_at": null,
"subscribable_product": {
"id": 1,
"subcribable_product_family_handle": "billing-plans",
"subcribable_product_family_id": 2465,
"name": "Chemical Formulator Yearly",
"handle": "chemical-formulator-yearly",
"maxio_product_id": 4807,
"created_at": "2026-02-07T00:00:06.000000Z",
"updated_at": "2026-02-07T00:00:06.000000Z",
"deleted_at": 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.
Chargify.js security token
requires authentication
Returns a signed JWT for use as securityToken in Chargify.js client config. Call this when loading the Chargify.js form; pass the token to chargify.load({ securityToken: ... }). Uses organisation id as subject (sub) for per-account rate limiting in Maxio.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/chargify-security-token" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/chargify-security-token"
);
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):
{
"data": {
"security_token": "eyJ0eXAiOiJKV1QiLCJhbGc..."
}
}
Example response (429):
Too many requests (rate limit: 10/minute, 60/hour per organisation)
Example response (500):
Chargify.js keys not configured
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show a Subscription
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1"
);
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):
{
"data": {
"id": 1,
"organisation_id": 1,
"subscribable_product_id": 1,
"status": "canceled",
"selected_stairstep": null,
"maxio_subscription_id": 346998,
"maxio_payment_id": 5857700,
"maxio_invoice_uid": "inv_c39knm3xrb9rv",
"payment_status": null,
"start_at": "2026-02-05T07:30:03.000000Z",
"valid_until": "2027-02-05T07:30:03.000000Z",
"invoice_created_at": "2026-02-05 07:30:03",
"expired_at": null,
"created_at": "2026-02-07T00:36:10.000000Z",
"updated_at": "2026-03-20T09:28:59.000000Z",
"deleted_at": null,
"invoices": []
}
}
Example response (500):
Failed to load subscription invoices from Maxio
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.
Product details
requires authentication
Get product details including available components and prices for the given product handle. Used by the frontend to decide which components to show when creating a subscription.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/product-details/maxime" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/product-details/maxime"
);
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):
{
"data": {
"product": {
"name": null,
"handle": null,
"description": null,
"accounting_code": null,
"price_in_cents": null,
"interval": null,
"interval_unit": null,
"trial_price_in_cents": null,
"trial_interval": null,
"trial_interval_unit": null,
"expiration_interval": null,
"expiration_interval_unit": null
}
}
}
Example response (404):
Product not found
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.
Coupon Validation
requires authentication
Validate coupons for a product
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/validate-coupons/vel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"coupon\": \"eqjsgyuptulebqowrwcseht\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/validate-coupons/vel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"coupon": "eqjsgyuptulebqowrwcseht"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"code": null,
"description": null,
"amount": null,
"amount_in_cents": null,
"percentage": null,
"compounding_strategy": null,
"start_date": null,
"end_date": null,
"recurring": null,
"duration_period_count": null,
"duration_interval": null,
"duration_interval_unit": null,
"stackable": null
}
}
Example response (400):
Coupon invalid, expired or not found
Example response (404):
Product not found
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.
Create a new subscription
requires authentication
Create a new subscription for the organisation (existing Maxio customer). Runs a subscription preview first, if testing is enabled, returns the preview response. If testing is disabled, creates the subscription. Customer must send all required customer/payment/billing data. Tier/component amounts supported via components.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/blanditiis" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_testing\": false,
\"chargify_token\": \"xyyckcr\",
\"collection_method\": \"automatic\",
\"payment_profile_id\": 59,
\"payment_type\": \"bank_transfer\",
\"first_name\": \"spnbnvxtgymrl\",
\"last_name\": \"grgc\",
\"billing_first_name\": \"xocsxtpfqknvsdoulyfegmwa\",
\"billing_last_name\": \"bxtljlq\",
\"email\": \"peter.ryan@example.net\",
\"locale\": \"fur_IT\",
\"organization\": \"wn\",
\"phone\": \"hemlqliluazwfuroip\",
\"address\": \"ybohr\",
\"address_2\": \"dxqrixaphxdjpolqhaeckydhc\",
\"city\": \"jruvpprkvtcyiqkwv\",
\"state\": \"cqhl\",
\"country\": \"gqforqwwkduvijnrenifc\",
\"zip\": \"zeulpxccukjauug\",
\"billing_address\": \"czem\",
\"billing_address_2\": \"itxfdtjsibjhzibhetlti\",
\"billing_city\": \"bdohrtlgikvsbfxo\",
\"billing_state\": \"zbjfeusyopgsssuhwdt\",
\"billing_country\": \"smeksfg\",
\"billing_zip\": \"raj\",
\"coupon_codes\": [
\"wkonzfxajsxtvrdrrlf\"
],
\"components\": [
{
\"component_id\": 3,
\"allocated_quantity\": 31,
\"quantity\": 46,
\"price_point_id\": 51
}
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/blanditiis"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_testing": false,
"chargify_token": "xyyckcr",
"collection_method": "automatic",
"payment_profile_id": 59,
"payment_type": "bank_transfer",
"first_name": "spnbnvxtgymrl",
"last_name": "grgc",
"billing_first_name": "xocsxtpfqknvsdoulyfegmwa",
"billing_last_name": "bxtljlq",
"email": "peter.ryan@example.net",
"locale": "fur_IT",
"organization": "wn",
"phone": "hemlqliluazwfuroip",
"address": "ybohr",
"address_2": "dxqrixaphxdjpolqhaeckydhc",
"city": "jruvpprkvtcyiqkwv",
"state": "cqhl",
"country": "gqforqwwkduvijnrenifc",
"zip": "zeulpxccukjauug",
"billing_address": "czem",
"billing_address_2": "itxfdtjsibjhzibhetlti",
"billing_city": "bdohrtlgikvsbfxo",
"billing_state": "zbjfeusyopgsssuhwdt",
"billing_country": "smeksfg",
"billing_zip": "raj",
"coupon_codes": [
"wkonzfxajsxtvrdrrlf"
],
"components": [
{
"component_id": 3,
"allocated_quantity": 31,
"quantity": 46,
"price_point_id": 51
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"organisation_id": 1,
"subscribable_product_id": 1,
"status": "canceled",
"selected_stairstep": null,
"maxio_subscription_id": 346998,
"maxio_payment_id": 5857700,
"maxio_invoice_uid": "inv_c39knm3xrb9rv",
"payment_status": null,
"start_at": "2026-02-05T07:30:03.000000Z",
"valid_until": "2027-02-05T07:30:03.000000Z",
"invoice_created_at": "2026-02-05 07:30:03",
"expired_at": null,
"created_at": "2026-02-07T00:36:10.000000Z",
"updated_at": "2026-03-20T09:28:59.000000Z",
"deleted_at": null,
"invoices": []
}
}
Example response (400):
Organisation has no Maxio customer ID
Example response (500):
Maxio preview or create failed
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 a subscription (stairstep upgrade only)
requires authentication
Preview or apply a prorated stairstep component upgrade. Only upgrades are allowed; downgrades are rejected. The upgrade charge is prorated for the remaining period and does not extend the subscription end date.
Send is_testing=true to get a preview (allocation_preview with total_in_cents etc.). Send is_testing=false to apply.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_testing\": true,
\"chargify_token\": \"pcekdntwmgdoimyffjrnjozu\",
\"collection_method\": \"automatic\",
\"payment_profile_id\": 26,
\"payment_type\": \"credit_card\",
\"first_name\": \"kqaevmnqlrqqmfsncmvxnz\",
\"last_name\": \"wiw\",
\"billing_first_name\": \"bfinupteflcdzqkw\",
\"billing_last_name\": \"mldwnjgxa\",
\"email\": \"edison57@example.com\",
\"locale\": \"gu_IN\",
\"organization\": \"bsjbcrcsndaazkzuhoiwzg\",
\"phone\": \"mgrgajlfm\",
\"address\": \"cvozjqwedytodqmflqlp\",
\"address_2\": \"qhjeljrfxfqjig\",
\"city\": \"ghwxvipgzdfrojeexsrdapnyc\",
\"state\": \"qazslqv\",
\"country\": \"hbhwibanzbrbfky\",
\"zip\": \"ymxooqzh\",
\"billing_address\": \"spwexwpopfqbnagemjplklzo\",
\"billing_address_2\": \"zyxjzsabwdvukkkdfgzgcrvig\",
\"billing_city\": \"pvwbowr\",
\"billing_state\": \"eljijqxvuh\",
\"billing_country\": \"vt\",
\"billing_zip\": \"vbzqxgsveigqsznyrpdmslmo\",
\"components\": [
{
\"component_id\": 32,
\"allocated_quantity\": 39
}
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/subscriptions/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_testing": true,
"chargify_token": "pcekdntwmgdoimyffjrnjozu",
"collection_method": "automatic",
"payment_profile_id": 26,
"payment_type": "credit_card",
"first_name": "kqaevmnqlrqqmfsncmvxnz",
"last_name": "wiw",
"billing_first_name": "bfinupteflcdzqkw",
"billing_last_name": "mldwnjgxa",
"email": "edison57@example.com",
"locale": "gu_IN",
"organization": "bsjbcrcsndaazkzuhoiwzg",
"phone": "mgrgajlfm",
"address": "cvozjqwedytodqmflqlp",
"address_2": "qhjeljrfxfqjig",
"city": "ghwxvipgzdfrojeexsrdapnyc",
"state": "qazslqv",
"country": "hbhwibanzbrbfky",
"zip": "ymxooqzh",
"billing_address": "spwexwpopfqbnagemjplklzo",
"billing_address_2": "zyxjzsabwdvukkkdfgzgcrvig",
"billing_city": "pvwbowr",
"billing_state": "eljijqxvuh",
"billing_country": "vt",
"billing_zip": "vbzqxgsveigqsznyrpdmslmo",
"components": [
{
"component_id": 32,
"allocated_quantity": 39
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"organisation_id": 1,
"subscribable_product_id": 1,
"status": "canceled",
"selected_stairstep": null,
"maxio_subscription_id": 346998,
"maxio_payment_id": 5857700,
"maxio_invoice_uid": "inv_c39knm3xrb9rv",
"payment_status": null,
"start_at": "2026-02-05T07:30:03.000000Z",
"valid_until": "2027-02-05T07:30:03.000000Z",
"invoice_created_at": "2026-02-05 07:30:03",
"expired_at": null,
"created_at": "2026-02-07T00:36:10.000000Z",
"updated_at": "2026-03-20T09:28:59.000000Z",
"deleted_at": null,
"invoices": []
}
}
Example response (400):
Organisation has no Maxio customer ID
Example response (422):
Component is not a stairstep of this subscription's product; or only upgrades allowed (no downgrade)
Example response (500):
Maxio preview or allocation failed
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.
Types
Index
Get a paginated list of organisation types. Calling this unauthenticated will only return selectable types.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation-types?per_page=11&sort=name%2Cdisplay_name%2Cselectable%2Ccreated_at%2Cupdated_at&page=1&search=fugiat" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation-types"
);
const params = {
"per_page": "11",
"sort": "name,display_name,selectable,created_at,updated_at",
"page": "1",
"search": "fugiat",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 1,
"name": "ZDHC Internal",
"display_name": "ZDHC Internal",
"description": "Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.",
"selectable": 0,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
{
"id": 1,
"name": "ZDHC Internal",
"display_name": "ZDHC Internal",
"description": "Ut ducimus eveniet voluptate debitis sequi. Saepe accusamus rerum occaecati illo. Doloribus eos nostrum saepe unde. Enim nesciunt doloremque aut rem.",
"selectable": 0,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "50",
"to": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new organisation type.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"md\",
\"display_name\": \"geqjndrqakkvmbaevundd\",
\"description\": \"Assumenda inventore quibusdam reiciendis recusandae.\",
\"selectable\": true
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "md",
"display_name": "geqjndrqakkvmbaevundd",
"description": "Assumenda inventore quibusdam reiciendis recusandae.",
"selectable": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, success):
{
"message": "Organisation type created successfully."
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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
requires authentication
Update an organisation type.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"tvxmaregrbxcatkiebnrx\",
\"display_name\": \"ounjgwj\",
\"description\": \"Temporibus eligendi tempore est doloremque vero quia.\",
\"selectable\": false
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "tvxmaregrbxcatkiebnrx",
"display_name": "ounjgwj",
"description": "Temporibus eligendi tempore est doloremque vero quia.",
"selectable": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, success):
{
"message": "Organisation type updated successfully."
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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.
Destroy
requires authentication
Delete an organisation type.
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/organisation-types/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200, success):
{
"message": "Organisation type deleted successfully."
}
Example response (422, Type in Use):
{
"message": "Cannot delete organisation type as it is in use."
}
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.
Users
Index
requires authentication
Get users for an organisation.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users?per_page=14&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users"
);
const params = {
"per_page": "14",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"organisation_id": 1,
"user_id": 1,
"invited_by": null,
"role_id": 4,
"last_authorization": "2025-12-02T13:51:01.000000Z",
"invitation_sent_at": "2025-11-14T09:21:52.000000Z",
"invitation_accepted_at": "2025-11-14T09:21:52.000000Z",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null,
"user": {
"id": 1,
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"email_verified_at": null,
"phone": "+13523381248",
"location": null,
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null,
"profile_picture_url": null
},
"role": {
"id": 4,
"parent_id": 3,
"name": "ORGANISATION_ADMIN"
}
},
{
"id": 1,
"organisation_id": 1,
"user_id": 1,
"invited_by": null,
"role_id": 4,
"last_authorization": "2025-12-02T13:51:01.000000Z",
"invitation_sent_at": "2025-11-14T09:21:52.000000Z",
"invitation_accepted_at": "2025-11-14T09:21:52.000000Z",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null,
"user": {
"id": 1,
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"email_verified_at": null,
"phone": "+13523381248",
"location": null,
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null,
"profile_picture_url": null
},
"role": {
"id": 4,
"parent_id": 3,
"name": "ORGANISATION_ADMIN"
}
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "100",
"to": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Show an organisation user
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/getOrganisationUser" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/getOrganisationUser"
);
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):
{
"data": {
"id": 1,
"organisation_id": 1,
"user_id": 1,
"invited_by": null,
"role_id": 4,
"last_authorization": "2025-12-02T13:51:01.000000Z",
"invitation_sent_at": "2025-11-14T09:21:52.000000Z",
"invitation_accepted_at": "2025-11-14T09:21:52.000000Z",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null,
"role": {
"id": 4,
"parent_id": 3,
"name": "ORGANISATION_ADMIN"
}
}
}
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.
Invite
requires authentication
Invite users to an organisation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/invite" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"emails\": [
\"itzel.grady@example.net\"
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/invite"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"emails": [
"itzel.grady@example.net"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Resend invitation
requires authentication
Notify a user that has already been invited again.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/resend-invitation" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/resend-invitation"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Change role
requires authentication
Change the role of a user in an organisation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/role/change" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role_id\": 6
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/role/change"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"role_id": 6
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Detach
requires authentication
Detach a user from an organisation.
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/detach" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/users/1/detach"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Supplier Profile
Show
requires authentication
Get the supplier profile
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/show" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/show"
);
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):
{
"data": {
"id": 1,
"organisation_id": 1,
"facility_type_id": 8,
"discharge_volume": 100,
"discharge_points_count": 1,
"sludge_generation": 100,
"created_at": "2025-11-14T09:22:11.000000Z",
"updated_at": "2025-11-14T09:22:11.000000Z",
"attributes": [
{
"id": 163,
"external_id": null,
"group_id": 9,
"parent_id": null,
"short": null,
"name": "Thermoplastic polyurethane (TPU)",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 163
}
},
{
"id": 197,
"external_id": null,
"group_id": 10,
"parent_id": null,
"short": null,
"name": "Molding",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 197
}
},
{
"id": 242,
"external_id": null,
"group_id": 11,
"parent_id": null,
"short": null,
"name": "Organic solvents",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 242
}
},
{
"id": 277,
"external_id": null,
"group_id": 12,
"parent_id": null,
"short": null,
"name": "None",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 277
}
},
{
"id": 278,
"external_id": null,
"group_id": 13,
"parent_id": null,
"short": null,
"name": "Direct",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 278
}
},
{
"id": 284,
"external_id": null,
"group_id": 14,
"parent_id": null,
"short": null,
"name": "Tertiary",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 284
}
},
{
"id": 301,
"external_id": null,
"group_id": 15,
"parent_id": null,
"short": null,
"name": "Nanofiltration",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 301
}
},
{
"id": 314,
"external_id": null,
"group_id": 16,
"parent_id": null,
"short": null,
"name": "Disposal Pathway B: Landfill with Significant Control Measures",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 1,
"attribute_id": 314
}
}
]
}
}
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
requires authentication
Update the supplier profile for the organisation
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/update?facility_type_id=reiciendis&attributes[]=14168&discharge_volume=25&discharge_points_count=3&sludge_generation=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/1/supplier-profile/update"
);
const params = {
"facility_type_id": "reiciendis",
"attributes[0]": "14168",
"discharge_volume": "25",
"discharge_points_count": "3",
"sludge_generation": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Facility types
requires authentication
Get the facility types
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/facility-types" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/facility-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 1,
"name": "Accessories and Trims",
"description": "Manufacture and processing of materials that are attached to the body of the garments for functional purpose."
}
}
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.
Attribute groups
requires authentication
Get attributes suitable for the facility type
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/attribute-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisations/supplier-profile/attribute-groups"
);
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):
{
"data": [
{
"id": 1,
"name": "guideline_version",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null,
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 2,
"external_id": 8,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Purchasing",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 3,
"external_id": 10,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Traceability",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 5,
"external_id": 12,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Air Emissions Guidelines",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 6,
"external_id": 13,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical-Related Waste Disposal",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 7,
"external_id": 14,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Management Strategy",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 8,
"external_id": 15,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Safe Chemical Storage",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 9,
"external_id": 16,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Waste Management",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 10,
"external_id": 17,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Handling & Worker Safety",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 11,
"external_id": 18,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Document and Process Control",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 13,
"external_id": 20,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Continuous Improvement Actions",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 16,
"external_id": 23,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 17,
"external_id": 24,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater and sludge",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 26,
"external_id": 38,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck Reporting",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 27,
"external_id": 39,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Input Materials Purchasing",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 29,
"external_id": 41,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Materials Traceability",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 30,
"external_id": 42,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "ETP Assessment",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 34,
"external_id": 26,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Water Efficiency",
"selectable": 1,
"order": null,
"facility_types": []
}
]
},
{
"id": 1,
"name": "guideline_version",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null,
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 2,
"external_id": 8,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Purchasing",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 3,
"external_id": 10,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Traceability",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 5,
"external_id": 12,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Air Emissions Guidelines",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 6,
"external_id": 13,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical-Related Waste Disposal",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 7,
"external_id": 14,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Management Strategy",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 8,
"external_id": 15,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Safe Chemical Storage",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 9,
"external_id": 16,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Waste Management",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 10,
"external_id": 17,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Handling & Worker Safety",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 11,
"external_id": 18,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Document and Process Control",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 13,
"external_id": 20,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Continuous Improvement Actions",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 16,
"external_id": 23,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 17,
"external_id": 24,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater and sludge",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 26,
"external_id": 38,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck Reporting",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 27,
"external_id": 39,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Input Materials Purchasing",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 29,
"external_id": 41,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Materials Traceability",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 30,
"external_id": 42,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "ETP Assessment",
"selectable": 1,
"order": null,
"facility_types": []
},
{
"id": 34,
"external_id": 26,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Water Efficiency",
"selectable": 1,
"order": null,
"facility_types": []
}
]
}
]
}
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.
System
Logs
Channel Settings
requires authentication
Get all logging channel settings.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/logs/settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/logs/settings"
);
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):
{
"channel1": {
"fields": [
"context->ip",
"context->action_type",
"context->user_id",
],
"filters": [
{
"type": "exact",
"column": "context->ip",
"field": {
"name": "textfield",
},
},
],
"sorts": [
"context->ip",
"context->action_type",
"context->user_id",
]
}
}
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.
Channel
requires authentication
See all logs for a channel
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/et?archived=&per_page=50&sort=%60sort%3D-created_at%60" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/et"
);
const params = {
"archived": "0",
"per_page": "50",
"sort": "`sort=-created_at`",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"channel": "api_requests",
"level": "DEBUG",
"message": "Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema",
"context": {
"status": 200,
"response": "{\"status\":\"success\",\"api_identifier\":\"getsubstancesbyfacility-schema\",\"request\":{\"parameters\":[{\"name\":\"guideline_version\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/guideline\\/versions\\/v1\"},{\"name\":\"industry_type\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/industry\\/types\\/v1\"},{\"name\":\"facility_type\",\"type\":\"array\",\"items\":{\"type\":\"integer\"},\"required\":true,\"multi_select\":true,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/facility\\/types\\/v1\"},{\"name\":\"discharge_type\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/discharge\\/types\\/v1\"},{\"name\":\"above_15m\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values\":{\"0\":\"less than 15m\\u00b3 per day\",\"1\":\"more than or equal 15m\\u00b3 per day\"}},{\"name\":\"has_sludge\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values\":{\"0\":\"No\",\"1\":\"Yes\"}},{\"name\":\"disposal_pathway\",\"type\":\"integer\",\"required\":false,\"multi_select\":false,\"virtual_values\":{\"0\":\"Not applicable\\/none\"},\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/disposal\\/pathways\\/v1\",\"comment\":\"Error if required and not provided\"},{\"name\":\"fiber_type\",\"type\":\"integer\",\"required\":false,\"multi_select\":false,\"virtual_values\":{\"0\":\"Not applicable\\/none\"},\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/fiber\\/types\\/v1\",\"comment\":\"Error if required and not provided\"}]}}",
"requestBody": []
},
"created_at": "2025-11-14 09:21:43",
"deleted_at": null
},
{
"id": 1,
"channel": "api_requests",
"level": "DEBUG",
"message": "Api response sent to https://scmf.roadmaptozero.com/api/substances/facility/v1/schema",
"context": {
"status": 200,
"response": "{\"status\":\"success\",\"api_identifier\":\"getsubstancesbyfacility-schema\",\"request\":{\"parameters\":[{\"name\":\"guideline_version\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/guideline\\/versions\\/v1\"},{\"name\":\"industry_type\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/industry\\/types\\/v1\"},{\"name\":\"facility_type\",\"type\":\"array\",\"items\":{\"type\":\"integer\"},\"required\":true,\"multi_select\":true,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/facility\\/types\\/v1\"},{\"name\":\"discharge_type\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/discharge\\/types\\/v1\"},{\"name\":\"above_15m\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values\":{\"0\":\"less than 15m\\u00b3 per day\",\"1\":\"more than or equal 15m\\u00b3 per day\"}},{\"name\":\"has_sludge\",\"type\":\"integer\",\"required\":true,\"multi_select\":false,\"values\":{\"0\":\"No\",\"1\":\"Yes\"}},{\"name\":\"disposal_pathway\",\"type\":\"integer\",\"required\":false,\"multi_select\":false,\"virtual_values\":{\"0\":\"Not applicable\\/none\"},\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/disposal\\/pathways\\/v1\",\"comment\":\"Error if required and not provided\"},{\"name\":\"fiber_type\",\"type\":\"integer\",\"required\":false,\"multi_select\":false,\"virtual_values\":{\"0\":\"Not applicable\\/none\"},\"values_endpoint\":\"https:\\/\\/scmf.roadmaptozero.com\\/api\\/fiber\\/types\\/v1\",\"comment\":\"Error if required and not provided\"}]}}",
"requestBody": []
},
"created_at": "2025-11-14 09:21:43",
"deleted_at": 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.
Export
requires authentication
Export to CSV
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/ut/export" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/ut/export"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Archive
requires authentication
Archive logs (soft delete)
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/qui/archive" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/qui/archive"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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 Archived
requires authentication
Delete archived logs (force delete)
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/esse/delete-archived" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/logs/channel/esse/delete-archived"
);
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.
Blade Preview
Preview
requires authentication
Preview any View. Supports php commands and defaults to strings. Only available when debug enabled.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/blade/preview/ea" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/blade/preview/ea"
);
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.
Sync Lab Users
Webhook
requires authentication
Webhook to handle syncing lab users.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/system/sync-lab-users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"api_key\": \"et\",
\"data\": []
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/sync-lab-users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"api_key": "et",
"data": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "not handled"
}
Example response (200):
{}
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.
Preview
requires authentication
Preview any mailable, supplied with any query parameter arguments for that mailable.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/mail/preview/id" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/mail/preview/id"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Terms and Service
Active Terms and Service Document
requires authentication
Get current active ToC Document.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/terms-and-service/active?per_page=3&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/terms-and-service/active"
);
const params = {
"per_page": "3",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": {
"id": 1,
"related_type": "App\\Models\\Organisation",
"document_title": "TaS Example.pdf",
"created_at": "2025-11-14T09:21:45.000000Z",
"updated_at": "2025-11-14T09:21:45.000000Z",
"public_file_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf"
}
}
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.
Active Terms and Conditions
requires authentication
Get current active ToC Document.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/system/terms-and-conditions/active?per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/terms-and-conditions/active"
);
const params = {
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": {
"id": 1,
"related_type": "App\\Models\\Organisation",
"document_title": "TaS Example.pdf",
"created_at": "2025-11-14T09:21:45.000000Z",
"updated_at": "2025-11-14T09:21:45.000000Z",
"public_file_url": "https://staging-api.vm400.consulting1x1.info/storage/terms-and-service/TaS Example.pdf"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a new terms and service document.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/terms-and-service" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "document=@/tmp/phpfPOjkE" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/organisation/1/terms-and-service"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('document', document.querySelector('input[name="document"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store a new terms and conditions document.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/system/user/1/terms-and-conditions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "document=@/tmp/phppKkpnE" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/system/user/1/terms-and-conditions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('document', document.querySelector('input[name="document"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Terms and Service
Accept
accept a TaS document for an organisation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/terms-and-service/accept/1/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/terms-and-service/accept/1/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
Terms and dervice document accepted
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.
Accept Terms and Conditions
accept a TaC document for a user.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/terms-and-conditions/accept/1/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/terms-and-conditions/accept/1/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
Terms and conditions document accepted
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.
Users
Notifications
Index
requires authentication
List all notifications for a user.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/users/1/notifications?page=1&per_page=6" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"read\": false,
\"unread\": false
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications"
);
const params = {
"page": "1",
"per_page": "6",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"read": false,
"unread": false
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 222,
"user_id": 28083,
"type": "organisation_updates",
"message": "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678",
"url": "https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps",
"read_at": "2026-01-09 10:05:47",
"created_at": "2026-01-09T08:31:03.000000Z",
"updated_at": "2026-01-09T10:05:47.000000Z"
},
{
"id": 222,
"user_id": 28083,
"type": "organisation_updates",
"message": "Lab Request Accepted - [ZDHC test company SBX] | ClearStream\nEmail: schulz@zdhc.org\nPhone: 00312012345678",
"url": "https://zdhcsandboxdev.consulting1x1.info/organisations/60301/clearstream/action-steps",
"read_at": "2026-01-09 10:05:47",
"created_at": "2026-01-09T08:31:03.000000Z",
"updated_at": "2026-01-09T10:05:47.000000Z"
}
]
}
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.
Count unread
requires authentication
Get the amount of unread notifications for a user
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/count" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/count"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
data: {
count: 1
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mark as read
requires authentication
Mark a single or all notifications as read for a user.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/mark-as-read/222" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/mark-as-read/222"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
message: "Notification(s) marked as read"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mark as unread
requires authentication
Mark a notification as unread for a user.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/mark-as-unread/222" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/mark-as-unread/222"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
message: "Notification marked as unread"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show Notification Settings
requires authentication
Show notification settings for a user.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/settings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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 Notification Settings
requires authentication
Update notification settings for a user.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/settings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"product_updates\": true,
\"organisation_updates\": false,
\"weekly_notification_digest\": false,
\"marketing_updates\": true
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/notifications/settings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"product_updates": true,
"organisation_updates": false,
"weekly_notification_digest": false,
"marketing_updates": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Get the properties of a user.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1"
);
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):
{
"data": {
"id": 1,
"reference_id": "02-TXFQXFYRE4ACK-M",
"ulid": "01k0y9mg650dbx0cp4nhq1vm7m",
"pdc_id": null,
"role_id": 2,
"first_name": "System",
"last_name": "User",
"email": "admin@localhost",
"email_verified_at": null,
"phone": "+13523381248",
"location": null,
"locale": "es_BO",
"created_at": "2025-07-24T13:23:18.000000Z",
"updated_at": "2025-12-08T15:12:52.000000Z",
"deleted_at": null,
"last_active_at": "2025-12-02T13:51:01.000000Z",
"profile_reviewed_at": null,
"status": "active",
"profile_picture_url": null,
"location_name": 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.
Update
requires authentication
Update a user.
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"lvlgdwggjtfsqp\",
\"last_name\": \"nebtyjmpakbzwidealoweubo\",
\"email\": \"ullrich.lauretta@example.com\",
\"phone\": \"+1234567890\",
\"password\": \"=~M)~qM`}:fno_b2N:fI\",
\"location\": \"US\",
\"locale\": \"ti_ET\",
\"profile_picture\": \"exoymlupjw\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "lvlgdwggjtfsqp",
"last_name": "nebtyjmpakbzwidealoweubo",
"email": "ullrich.lauretta@example.com",
"phone": "+1234567890",
"password": "=~M)~qM`}:fno_b2N:fI",
"location": "US",
"locale": "ti_ET",
"profile_picture": "exoymlupjw"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200, successful):
{
"message": "User updated successfully",
"email_verification_required": false,
"password_sent": false,
"new_avatar_url": "https://example.com/avatar.jpg"
}
Example response (422, Validation Error):
{
"message": "[error message from the first field failing validation]",
"errors": {
"[field_name]": [
"[any validator message failing]"
]
}
}
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.
Destroy
requires authentication
Delete a user
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200, successful):
{
"message": "User deleted successfully"
}
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.
IsRegistered
requires authentication
Checks if user is registered
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/users/1/is-registered" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/is-registered"
);
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, successful):
{
"message": "User is not yet registered"
}
Example response (500, unsuccessful):
{
"message": "User is already registered"
}
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.
Organisations
requires authentication
Get the organisations for a specific user or the authenticated user.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/users/1/organisations?pending=&non_accepted=&only_trashed=&per_page=12&sort=reference_id%2Cname%2Crole_name%2Cmembership_accepted_at%2Cmembership_deleted_at&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/organisations"
);
const params = {
"pending": "0",
"non_accepted": "0",
"only_trashed": "0",
"per_page": "12",
"sort": "reference_id,name,role_name,membership_accepted_at,membership_deleted_at",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
"organisation_users": [
{
"id": 1,
"organisation_id": 1,
"user_id": 1,
"invited_by": null,
"role_id": 4,
"last_authorization": "2025-12-02T13:51:01.000000Z",
"invitation_sent_at": "2025-11-14T09:21:52.000000Z",
"invitation_accepted_at": "2025-11-14T09:21:52.000000Z",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null,
"role": {
"id": 4,
"parent_id": 3,
"name": "ORGANISATION_ADMIN"
},
"organisation": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana"
}
}
]
},
{
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana",
"type": {
"id": 2,
"name": "Supplier",
"display_name": "Supplier",
"description": "Deserunt nesciunt quia fugiat quisquam dolorem facilis dolores. Officia id facere et error. Dolorem saepe animi asperiores. Deleniti atque sed quia quas omnis totam est enim. In qui sit omnis in.",
"selectable": 1,
"created_at": "2025-11-14T09:21:46.000000Z",
"updated_at": "2026-03-24T14:59:35.000000Z"
},
"organisation_users": [
{
"id": 1,
"organisation_id": 1,
"user_id": 1,
"invited_by": null,
"role_id": 4,
"last_authorization": "2025-12-02T13:51:01.000000Z",
"invitation_sent_at": "2025-11-14T09:21:52.000000Z",
"invitation_accepted_at": "2025-11-14T09:21:52.000000Z",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2025-12-02T13:51:01.000000Z",
"deleted_at": null,
"role": {
"id": 4,
"parent_id": 3,
"name": "ORGANISATION_ADMIN"
},
"organisation": {
"id": 1,
"maxio_customer_id": 225589,
"reference_id": "01-CR698383XMWJ2-P",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac50-60f5-4fda-b908-438a1a6f92e4",
"type_id": 2,
"status": "approved",
"name": "test-Supplier System",
"legal_name": "Schroeder Ltd",
"address_1": "149 Koss Dam Suite 796",
"address_2": "Suite 708",
"city": "Bergemouth",
"state": "Michigan",
"location": "BW",
"zip": "26306",
"phone": "+17728385594",
"email": "yessenia18@bahringer.net",
"contact_first_name": "Alfonzo",
"contact_last_name": "Crooks",
"website": "http://www.hermiston.com/qui-molestiae-cum-ut-deserunt-incidunt-ratione-illum",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": "Update your business registration document",
"registration_mail_sent_at": "1994-04-10 08:31:47",
"created_at": "2025-07-24T13:23:28.000000Z",
"updated_at": "2026-03-24T08:26:00.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-03-24 08:26:00",
"profile_reviewed_by_user_id": 73080,
"location_name": "Botswana"
}
}
]
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "50",
"to": 2
}
}
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.
Accept Invitation
requires authentication
Accept an invitation to join an organisation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/users/1/accept-invitation/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/accept-invitation/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reject Invitation
requires authentication
Reject an invitation to join an organisation.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/users/1/reject-invitation/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/users/1/reject-invitation/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Wastewater
Clearstream Report
Show
requires authentication
get the clearstream report as a pdf
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/clearstream-report" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/clearstream-report"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Facility information
Show attribute groups
requires authentication
Get a list of attribute groups related to report profiles
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/attribute-groups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/attribute-groups"
);
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):
{
"data": [
{
"id": 1,
"name": "guideline_version",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null,
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null
},
{
"id": 2,
"external_id": 8,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Purchasing",
"selectable": 1,
"order": null
},
{
"id": 3,
"external_id": 10,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Traceability",
"selectable": 1,
"order": null
},
{
"id": 5,
"external_id": 12,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Air Emissions Guidelines",
"selectable": 1,
"order": null
},
{
"id": 6,
"external_id": 13,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical-Related Waste Disposal",
"selectable": 1,
"order": null
},
{
"id": 7,
"external_id": 14,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Management Strategy",
"selectable": 1,
"order": null
},
{
"id": 8,
"external_id": 15,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Safe Chemical Storage",
"selectable": 1,
"order": null
},
{
"id": 9,
"external_id": 16,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Waste Management",
"selectable": 1,
"order": null
},
{
"id": 10,
"external_id": 17,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Handling & Worker Safety",
"selectable": 1,
"order": null
},
{
"id": 11,
"external_id": 18,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Document and Process Control",
"selectable": 1,
"order": null
},
{
"id": 13,
"external_id": 20,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Continuous Improvement Actions",
"selectable": 1,
"order": null
},
{
"id": 16,
"external_id": 23,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck",
"selectable": 1,
"order": null
},
{
"id": 17,
"external_id": 24,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater and sludge",
"selectable": 1,
"order": null
},
{
"id": 26,
"external_id": 38,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck Reporting",
"selectable": 1,
"order": null
},
{
"id": 27,
"external_id": 39,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Input Materials Purchasing",
"selectable": 1,
"order": null
},
{
"id": 29,
"external_id": 41,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Materials Traceability",
"selectable": 1,
"order": null
},
{
"id": 30,
"external_id": 42,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "ETP Assessment",
"selectable": 1,
"order": null
},
{
"id": 34,
"external_id": 26,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Water Efficiency",
"selectable": 1,
"order": null
}
]
},
{
"id": 1,
"name": "guideline_version",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null,
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null
},
{
"id": 2,
"external_id": 8,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Purchasing",
"selectable": 1,
"order": null
},
{
"id": 3,
"external_id": 10,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Traceability",
"selectable": 1,
"order": null
},
{
"id": 5,
"external_id": 12,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Air Emissions Guidelines",
"selectable": 1,
"order": null
},
{
"id": 6,
"external_id": 13,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical-Related Waste Disposal",
"selectable": 1,
"order": null
},
{
"id": 7,
"external_id": 14,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Management Strategy",
"selectable": 1,
"order": null
},
{
"id": 8,
"external_id": 15,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Safe Chemical Storage",
"selectable": 1,
"order": null
},
{
"id": 9,
"external_id": 16,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Waste Management",
"selectable": 1,
"order": null
},
{
"id": 10,
"external_id": 17,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Chemical Handling & Worker Safety",
"selectable": 1,
"order": null
},
{
"id": 11,
"external_id": 18,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Document and Process Control",
"selectable": 1,
"order": null
},
{
"id": 13,
"external_id": 20,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Continuous Improvement Actions",
"selectable": 1,
"order": null
},
{
"id": 16,
"external_id": 23,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck",
"selectable": 1,
"order": null
},
{
"id": 17,
"external_id": 24,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater and sludge",
"selectable": 1,
"order": null
},
{
"id": 26,
"external_id": 38,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "InCheck Reporting",
"selectable": 1,
"order": null
},
{
"id": 27,
"external_id": 39,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Input Materials Purchasing",
"selectable": 1,
"order": null
},
{
"id": 29,
"external_id": 41,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Materials Traceability",
"selectable": 1,
"order": null
},
{
"id": 30,
"external_id": 42,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "ETP Assessment",
"selectable": 1,
"order": null
},
{
"id": 34,
"external_id": 26,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Water Efficiency",
"selectable": 1,
"order": 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.
Show
requires authentication
Get information for the owned facility for the given report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/facility-information" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/facility-information"
);
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):
{
"data": {
"id": 2,
"report_id": 2,
"version_id": 1,
"requires_testing": 1,
"completed_at": "2025-11-14 10:16:53",
"created_at": "2025-11-14T10:16:44.000000Z",
"updated_at": "2025-11-14T10:16:53.000000Z",
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 1
}
},
{
"id": 36,
"external_id": 1,
"group_id": 2,
"parent_id": null,
"short": null,
"name": "Textile",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 36
}
},
{
"id": 52,
"external_id": 13,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Vertically integrated Mill",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 52
}
},
{
"id": 53,
"external_id": 14,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Down and Feathers processor",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 53
}
},
{
"id": 54,
"external_id": 15,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to tanned",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 54
}
},
{
"id": 55,
"external_id": 16,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to crust",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 55
}
},
{
"id": 74,
"external_id": 1,
"group_id": 4,
"parent_id": null,
"short": null,
"name": "Direct",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 74
}
},
{
"id": 80,
"external_id": 0,
"group_id": 5,
"parent_id": null,
"short": null,
"name": "less than 15m³ per day",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 80
}
},
{
"id": 82,
"external_id": 0,
"group_id": 6,
"parent_id": null,
"short": null,
"name": "No",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 82
}
},
{
"id": 91,
"external_id": 0,
"group_id": 7,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 91
}
},
{
"id": 98,
"external_id": 0,
"group_id": 8,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 98
}
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Get facility information
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/facility-information" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"complete\": true,
\"guideline_version\": 10,
\"industry_type\": 38,
\"facility_type\": [],
\"discharge_type\": 76,
\"above_15m\": 81,
\"has_sludge\": 83,
\"disposal_pathway\": 89,
\"fiber_type\": 95
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/facility-information"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"complete": true,
"guideline_version": 10,
"industry_type": 38,
"facility_type": [],
"discharge_type": 76,
"above_15m": 81,
"has_sludge": 83,
"disposal_pathway": 89,
"fiber_type": 95
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Clearstream Requests
Index
requires authentication
Get assigned laboratory clearstream requests.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests?per_page=14&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests"
);
const params = {
"per_page": "14",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 2,
"report_id": 2,
"laboratory_id": 238,
"reporting_cycle": "2026-1",
"location": "NL",
"status": "CLOSED",
"upload_method": "manual",
"sampling_completed_at": "2025-11-14T10:17:35.000000Z",
"testing_started_at": "2025-11-17 13:37:00",
"testing_completed_at": "2025-11-17T13:37:22.000000Z",
"closed_at": null,
"accepted_at": "2025-11-14 10:17:27",
"rejected_at": null,
"accepted_by_supplier_at": "2025-11-17 13:37:50",
"rejected_by_supplier_at": null,
"rejection_reason": null,
"rejection_reason_by_supplier": null,
"supplier_rejection_additional_info": null,
"created_at": "2025-11-14T10:17:10.000000Z",
"updated_at": "2025-11-17T13:37:50.000000Z"
},
{
"id": 2,
"report_id": 2,
"laboratory_id": 238,
"reporting_cycle": "2026-1",
"location": "NL",
"status": "CLOSED",
"upload_method": "manual",
"sampling_completed_at": "2025-11-14T10:17:35.000000Z",
"testing_started_at": "2025-11-17 13:37:00",
"testing_completed_at": "2025-11-17T13:37:22.000000Z",
"closed_at": null,
"accepted_at": "2025-11-14 10:17:27",
"rejected_at": null,
"accepted_by_supplier_at": "2025-11-17 13:37:50",
"rejected_by_supplier_at": null,
"rejection_reason": null,
"rejection_reason_by_supplier": null,
"supplier_rejection_additional_info": null,
"created_at": "2025-11-14T10:17:10.000000Z",
"updated_at": "2025-11-17T13:37:50.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "/",
"per_page": "100",
"to": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show
requires authentication
Get details for a specific laboratory clearstream request.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2"
);
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):
{
"data": {
"id": 2,
"report_id": 2,
"laboratory_id": 238,
"reporting_cycle": "2026-1",
"location": "NL",
"status": "CLOSED",
"upload_method": "manual",
"sampling_completed_at": "2025-11-14T10:17:35.000000Z",
"testing_started_at": "2025-11-17 13:37:00",
"testing_completed_at": "2025-11-17T13:37:22.000000Z",
"closed_at": null,
"accepted_at": "2025-11-14 10:17:27",
"rejected_at": null,
"accepted_by_supplier_at": "2025-11-17 13:37:50",
"rejected_by_supplier_at": null,
"rejection_reason": null,
"rejection_reason_by_supplier": null,
"supplier_rejection_additional_info": null,
"created_at": "2025-11-14T10:17:10.000000Z",
"updated_at": "2025-11-17T13:37:50.000000Z",
"report": {
"id": 2,
"reference_id": "60-HSER7PY6S32L-W",
"uuid": "a05aba8c-5c93-4e50-91e7-04327509c58d",
"organisation_id": 64,
"status": "PASSED",
"created_at": "2025-11-14T10:16:12.000000Z",
"updated_at": "2025-11-19T14:24:04.000000Z",
"archived_at": "2025-11-19 14:24:04",
"last_viewed_at": "2025-11-19 14:24:00",
"payment_completed_at": "2025-11-17 13:36:39",
"organisation": {
"id": 64,
"maxio_customer_id": 226048,
"reference_id": "01-CR6986RX4H7WL-N",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5b-67a0-445a-b72e-e86db5d454b1",
"type_id": 2,
"status": "approved",
"name": "test-Supplier a.rahman",
"legal_name": "Hyatt Inc",
"address_1": "3614 Swaniawski Ports Suite 956",
"address_2": "Apt. 823",
"city": "Alfordview",
"state": "Connecticut",
"location": "SO",
"zip": "21152-3340",
"phone": "+16058376916",
"email": "nyasia32@reichert.com",
"contact_first_name": "Priscilla",
"contact_last_name": "Breitenberg",
"website": "https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1970-02-12 06:44:40",
"created_at": "2025-07-24T13:23:35.000000Z",
"updated_at": "2026-02-07T00:00:18.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-19 09:42:53",
"profile_reviewed_by_user_id": 8,
"location_name": "Somalia"
},
"profile": {
"id": 2,
"report_id": 2,
"version_id": 1,
"requires_testing": 1,
"completed_at": "2025-11-14 10:16:53",
"created_at": "2025-11-14T10:16:44.000000Z",
"updated_at": "2025-11-14T10:16:53.000000Z",
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 1
},
"group": {
"id": 1,
"name": "guideline_version",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null
}
},
{
"id": 36,
"external_id": 1,
"group_id": 2,
"parent_id": null,
"short": null,
"name": "Textile",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 36
},
"group": {
"id": 2,
"name": "industry_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null
}
},
{
"id": 52,
"external_id": 13,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Vertically integrated Mill",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 52
},
"group": {
"id": 3,
"name": "facility_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 0,
"type": "array",
"required": 1,
"items_type": "integer"
}
},
{
"id": 53,
"external_id": 14,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Down and Feathers processor",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 53
},
"group": {
"id": 3,
"name": "facility_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 0,
"type": "array",
"required": 1,
"items_type": "integer"
}
},
{
"id": 54,
"external_id": 15,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to tanned",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 54
},
"group": {
"id": 3,
"name": "facility_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 0,
"type": "array",
"required": 1,
"items_type": "integer"
}
},
{
"id": 55,
"external_id": 16,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to crust",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 55
},
"group": {
"id": 3,
"name": "facility_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 0,
"type": "array",
"required": 1,
"items_type": "integer"
}
},
{
"id": 74,
"external_id": 1,
"group_id": 4,
"parent_id": null,
"short": null,
"name": "Direct",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 74
},
"group": {
"id": 4,
"name": "discharge_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null
}
},
{
"id": 80,
"external_id": 0,
"group_id": 5,
"parent_id": null,
"short": null,
"name": "less than 15m³ per day",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 80
},
"group": {
"id": 5,
"name": "above_15m",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null
}
},
{
"id": 82,
"external_id": 0,
"group_id": 6,
"parent_id": null,
"short": null,
"name": "No",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 82
},
"group": {
"id": 6,
"name": "has_sludge",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 1,
"items_type": null
}
},
{
"id": 91,
"external_id": 0,
"group_id": 7,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 91
},
"group": {
"id": 7,
"name": "disposal_pathway",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 0,
"items_type": null
}
},
{
"id": 98,
"external_id": 0,
"group_id": 8,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 98
},
"group": {
"id": 8,
"name": "fiber_type",
"profile_type": "report_profile",
"service_id": null,
"single_select": 1,
"type": "integer",
"required": 0,
"items_type": 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.
Accept
requires authentication
Accept a laboratory clearstream request.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/accept" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/accept"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reject
requires authentication
Reject a laboratory clearstream request.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/reject?rejection_reason=a" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/reject"
);
const params = {
"rejection_reason": "a",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Create a new laboratory clearstream request.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/laboratory-requests?laboratory_id=4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/laboratory-requests"
);
const params = {
"laboratory_id": "4",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
Example response (200):
{
"data": {
"id": 2,
"report_id": 2,
"laboratory_id": 238,
"reporting_cycle": "2026-1",
"location": "NL",
"status": "CLOSED",
"upload_method": "manual",
"sampling_completed_at": "2025-11-14T10:17:35.000000Z",
"testing_started_at": "2025-11-17 13:37:00",
"testing_completed_at": "2025-11-17T13:37:22.000000Z",
"closed_at": null,
"accepted_at": "2025-11-14 10:17:27",
"rejected_at": null,
"accepted_by_supplier_at": "2025-11-17 13:37:50",
"rejected_by_supplier_at": null,
"rejection_reason": null,
"rejection_reason_by_supplier": null,
"supplier_rejection_additional_info": null,
"created_at": "2025-11-14T10:17:10.000000Z",
"updated_at": "2025-11-17T13:37:50.000000Z",
"report": {
"id": 2,
"reference_id": "60-HSER7PY6S32L-W",
"uuid": "a05aba8c-5c93-4e50-91e7-04327509c58d",
"organisation_id": 64,
"status": "PASSED",
"created_at": "2025-11-14T10:16:12.000000Z",
"updated_at": "2025-11-19T14:24:04.000000Z",
"archived_at": "2025-11-19 14:24:04",
"last_viewed_at": "2025-11-19 14:24:00",
"payment_completed_at": "2025-11-17 13:36:39",
"organisation": {
"id": 64,
"maxio_customer_id": 226048,
"reference_id": "01-CR6986RX4H7WL-N",
"pdc_id": null,
"gateway_aid": null,
"uuid": "9f77ac5b-67a0-445a-b72e-e86db5d454b1",
"type_id": 2,
"status": "approved",
"name": "test-Supplier a.rahman",
"legal_name": "Hyatt Inc",
"address_1": "3614 Swaniawski Ports Suite 956",
"address_2": "Apt. 823",
"city": "Alfordview",
"state": "Connecticut",
"location": "SO",
"zip": "21152-3340",
"phone": "+16058376916",
"email": "nyasia32@reichert.com",
"contact_first_name": "Priscilla",
"contact_last_name": "Breitenberg",
"website": "https://www.ferry.com/praesentium-provident-qui-nostrum-repellendus-animi-explicabo-ut",
"avatar_url": null,
"applicant_comment": null,
"reviewer_comment": null,
"registration_mail_sent_at": "1970-02-12 06:44:40",
"created_at": "2025-07-24T13:23:35.000000Z",
"updated_at": "2026-02-07T00:00:18.000000Z",
"reviewer_comment_category": null,
"profile_reviewed_at": "2026-01-19 09:42:53",
"profile_reviewed_by_user_id": 8,
"location_name": "Somalia"
},
"profile": {
"id": 2,
"report_id": 2,
"version_id": 1,
"requires_testing": 1,
"completed_at": "2025-11-14 10:16:53",
"created_at": "2025-11-14T10:16:44.000000Z",
"updated_at": "2025-11-14T10:16:53.000000Z",
"attributes": [
{
"id": 1,
"external_id": 1,
"group_id": 1,
"parent_id": null,
"short": null,
"name": "Wastewater 2.2",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 1
}
},
{
"id": 36,
"external_id": 1,
"group_id": 2,
"parent_id": null,
"short": null,
"name": "Textile",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 36
}
},
{
"id": 52,
"external_id": 13,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Vertically integrated Mill",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 52
}
},
{
"id": 53,
"external_id": 14,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Down and Feathers processor",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 53
}
},
{
"id": 54,
"external_id": 15,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to tanned",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 54
}
},
{
"id": 55,
"external_id": 16,
"group_id": 3,
"parent_id": null,
"short": null,
"name": "Raw hide/skin to crust",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 55
}
},
{
"id": 74,
"external_id": 1,
"group_id": 4,
"parent_id": null,
"short": null,
"name": "Direct",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 74
}
},
{
"id": 80,
"external_id": 0,
"group_id": 5,
"parent_id": null,
"short": null,
"name": "less than 15m³ per day",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 80
}
},
{
"id": 82,
"external_id": 0,
"group_id": 6,
"parent_id": null,
"short": null,
"name": "No",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 82
}
},
{
"id": 91,
"external_id": 0,
"group_id": 7,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 91
}
},
{
"id": 98,
"external_id": 0,
"group_id": 8,
"parent_id": null,
"short": null,
"name": "Not applicable/none",
"selectable": 1,
"order": null,
"pivot": {
"profile_id": 2,
"attribute_id": 98
}
}
]
}
}
}
}
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.
Choose Upload Method
requires authentication
Allows the user to choose the upload method for the laboratory request.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/choose-upload-method" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"manual\"
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/choose-upload-method"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "manual"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"message": "Upload method successfully saved."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store test results
requires authentication
Store test results for a specific report
Example request:
curl --request PATCH \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/store-test-results" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"parameters\": [
{
\"id\": 7,
\"non_detected\": true
}
]
}"
const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/store-test-results"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"parameters": [
{
"id": 7,
"non_detected": 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.
Prefill test results
requires authentication
Prefill test results for a specific report. Only available for envs with APP_DEBUG=true
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/prefill-test-results" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/prefill-test-results"
);
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.
Accept By Supplier
requires authentication
Accept a finished laboratory clearstream request from the supplier side.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/accept-by-supplier" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/accept-by-supplier"
);
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.
Reject By Supplier
requires authentication
Reject a finished laboratory clearstream request from the supplier side.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/reject-by-supplier?rejection_reason=values_are_incorrect&additional_details=c&return_to_reporting=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/reject-by-supplier"
);
const params = {
"rejection_reason": "values_are_incorrect",
"additional_details": "c",
"return_to_reporting": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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.
Reporting
Preview required tests
requires authentication
Get a summary of parameters for a specific report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/preview-required-tests" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/preview-required-tests"
);
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):
{
"data": [
{
"matrix": null,
"name": null,
"name_or_parent": null
},
{
"matrix": null,
"name": null,
"name_or_parent": 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.
Get test results
requires authentication
Get a test result for a specific report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/2"
);
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):
{
"data": {
"id": 3,
"report_id": 2,
"parameters_filled": "2025-11-14 10:16:57",
"test_date": null,
"last_viewed_at": null,
"created_at": "2025-11-14T10:16:54.000000Z",
"updated_at": "2025-11-14T10:16:57.000000Z"
}
}
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.
parameter parents
requires authentication
Get parameter parents for a specific report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameter-parents/2?per_page=1&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameter-parents/2"
);
const params = {
"per_page": "1",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 45,
"guideline_id": 1,
"test_result_id": 3,
"unit_id": 2,
"method_id": null,
"resulting_limit_id": null,
"visibility": "always",
"measured_value": null,
"name": "ZDHC Heavy Metals",
"matrix": "Discharged wastewater",
"status": "passed",
"cas_number": "",
"alternative_value": null,
"is_passing": 0,
"mandatory": 1,
"created_at": "2025-11-14T10:16:54.000000Z",
"updated_at": "2026-03-20T09:28:55.000000Z",
"parent_id": null,
"data_type": null,
"value_type": null,
"scoring_applicable": 0,
"non_detected": 0
},
{
"id": 45,
"guideline_id": 1,
"test_result_id": 3,
"unit_id": 2,
"method_id": null,
"resulting_limit_id": null,
"visibility": "always",
"measured_value": null,
"name": "ZDHC Heavy Metals",
"matrix": "Discharged wastewater",
"status": "passed",
"cas_number": "",
"alternative_value": null,
"is_passing": 0,
"mandatory": 1,
"created_at": "2025-11-14T10:16:54.000000Z",
"updated_at": "2026-03-20T09:28:55.000000Z",
"parent_id": null,
"data_type": null,
"value_type": null,
"scoring_applicable": 0,
"non_detected": 0
}
]
}
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 test result parameters
requires authentication
Get test result parameters for a specific test result
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameters/2?per_page=1&group=16&page=1&search=ut&filter%5Bmatrix%5D=omnis&filter%5Bparent_name%5D=asperiores&filter%5Bonly_with_rca_cap%5D=consequuntur&column=matrix&sort=name%2Cparent_name" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-result-parameters/2"
);
const params = {
"per_page": "1",
"group": "16",
"page": "1",
"search": "ut",
"filter[matrix]": "omnis",
"filter[parent_name]": "asperiores",
"filter[only_with_rca_cap]": "consequuntur",
"column": "matrix",
"sort": "name,parent_name",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 45,
"guideline_id": 1,
"test_result_id": 3,
"unit_id": 2,
"method_id": null,
"resulting_limit_id": null,
"visibility": "always",
"measured_value": null,
"name": "ZDHC Heavy Metals",
"matrix": "Discharged wastewater",
"status": "passed",
"cas_number": "",
"alternative_value": null,
"is_passing": 0,
"mandatory": 1,
"created_at": "2025-11-14T10:16:54.000000Z",
"updated_at": "2026-03-20T09:28:55.000000Z",
"parent_id": null,
"data_type": null,
"value_type": null,
"scoring_applicable": 0,
"non_detected": 0,
"limits": [],
"methods": [],
"selected_method": null,
"parent": null,
"rca": null,
"unit": {
"id": 2,
"name": ""
}
},
{
"id": 45,
"guideline_id": 1,
"test_result_id": 3,
"unit_id": 2,
"method_id": null,
"resulting_limit_id": null,
"visibility": "always",
"measured_value": null,
"name": "ZDHC Heavy Metals",
"matrix": "Discharged wastewater",
"status": "passed",
"cas_number": "",
"alternative_value": null,
"is_passing": 0,
"mandatory": 1,
"created_at": "2025-11-14T10:16:54.000000Z",
"updated_at": "2026-03-20T09:28:55.000000Z",
"parent_id": null,
"data_type": null,
"value_type": null,
"scoring_applicable": 0,
"non_detected": 0,
"limits": [],
"methods": [],
"selected_method": null,
"parent": null,
"rca": null,
"unit": {
"id": 2,
"name": ""
}
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Export test result parameters
requires authentication
Esports the test result parameters for a specific report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/2/export" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/labs/test-results/2/export"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Index
requires authentication
Get all wastewater reports for an organisation
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reports?per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reports"
);
const params = {
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
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):
{
"data": [
{
"id": 2,
"reference_id": "60-HSER7PY6S32L-W",
"uuid": "a05aba8c-5c93-4e50-91e7-04327509c58d",
"organisation_id": 64,
"status": "PASSED",
"created_at": "2025-11-14T10:16:12.000000Z",
"updated_at": "2025-11-19T14:24:04.000000Z",
"archived_at": "2025-11-19 14:24:04",
"last_viewed_at": "2025-11-19 14:24:00",
"payment_completed_at": "2025-11-17 13:36:39"
},
{
"id": 2,
"reference_id": "60-HSER7PY6S32L-W",
"uuid": "a05aba8c-5c93-4e50-91e7-04327509c58d",
"organisation_id": 64,
"status": "PASSED",
"created_at": "2025-11-14T10:16:12.000000Z",
"updated_at": "2025-11-19T14:24:04.000000Z",
"archived_at": "2025-11-19 14:24:04",
"last_viewed_at": "2025-11-19 14:24:00",
"payment_completed_at": "2025-11-17 13:36:39"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": 50,
"to": 2,
"total": 2
}
}
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.
Reporting Progress
requires authentication
Get information on the progress of the currently running wastewater reporting.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/progress/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/progress/2"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Start Reporting
requires authentication
Start the wastewater reporting process.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/start-reporting" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/start-reporting"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
Example response (400, Wastewater reporting has been started.):
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.
Restart Cycle
requires authentication
Restart a cycle
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/restart-cycle" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/restart-cycle"
);
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.
Reporting Progress
requires authentication
Get information on the progress of the currently running wastewater reporting.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/complete-payment" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/complete-payment"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Example response (200):
{
"message": "OK"
}
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.
Details
requires authentication
Get details for report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/details/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/details/2"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Sampling Information
Show
requires authentication
Show the sampling information.
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/sampling-information/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/sampling-information/1"
);
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):
{
"data": {
"id": 1,
"lab_request_id": 2,
"effluent_discharge_method_id": 74,
"project_number": "23",
"wastewater_type": "Industrial Wastewater",
"industrial_wastewater_volume_more_than_15qm": 0,
"created_at": "2025-11-14T10:17:35.000000Z",
"updated_at": "2025-11-14T10:17:35.000000Z"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Store the sampling information.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/sampling-information" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "project_number=dfqvmwxxjafugfkdpgtk"\
--form "effluent_discharge_method_id=velit"\
--form "wastewater_type=Industrial Wastewater mixed with Domestic Wastewater"\
--form "industrial_wastewater_volume_more_than_15qm=1"\
--form "sample_points[][name]=ut"\
--form "sample_points[][latitude]=11"\
--form "sample_points[][longitude]=11"\
--form "sample_points[][type]=untreated"\
--form "sample_points[][discharge_to_aquatic_bodies]=1"\
--form "sample_points[][pre_treatments][]=natus"\
--form "sample_points[][temperature_safety_risk]="\
--form "sample_points[][persistent_foam_safety_risk]=1"\
--form "sample_points[][major_disposal_pathway]=Offsite Incineration at >1000°C"\
--form "sample_points[][disposal_pathway_percentage]=5"\
--form "sample_points[][filename]=@/tmp/phpgOBdka" --form "sample_points[][temperature_safety_risk_file]=@/tmp/phpefEhka" --form "sample_points[][persistent_foam_safety_risk_file]=@/tmp/phpLkjika" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/laboratory-requests/2/sampling-information"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('project_number', 'dfqvmwxxjafugfkdpgtk');
body.append('effluent_discharge_method_id', 'velit');
body.append('wastewater_type', 'Industrial Wastewater mixed with Domestic Wastewater');
body.append('industrial_wastewater_volume_more_than_15qm', '1');
body.append('sample_points[][name]', 'ut');
body.append('sample_points[][latitude]', '11');
body.append('sample_points[][longitude]', '11');
body.append('sample_points[][type]', 'untreated');
body.append('sample_points[][discharge_to_aquatic_bodies]', '1');
body.append('sample_points[][pre_treatments][]', 'natus');
body.append('sample_points[][temperature_safety_risk]', '');
body.append('sample_points[][persistent_foam_safety_risk]', '1');
body.append('sample_points[][major_disposal_pathway]', 'Offsite Incineration at >1000°C');
body.append('sample_points[][disposal_pathway_percentage]', '5');
body.append('sample_points[][filename]', document.querySelector('input[name="sample_points[][filename]"]').files[0]);
body.append('sample_points[][temperature_safety_risk_file]', document.querySelector('input[name="sample_points[][temperature_safety_risk_file]"]').files[0]);
body.append('sample_points[][persistent_foam_safety_risk_file]', document.querySelector('input[name="sample_points[][persistent_foam_safety_risk_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.
Root Cause Analysis
Show
requires authentication
Show details about a given RCA record
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca/2"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
access-control-expose-headers: WWW-Authenticate
www-authenticate: Bearer realm="Token not found"
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Token not found"
}
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.
Create
requires authentication
Create a new Wastewater Root Cause Analysis record.
Example request:
curl --request POST \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "parameter_id=19"\
--form "is_resolved=1"\
--form "reason_for_failure=htifm"\
--form "corrective_action=knhxfuftjx"\
--form "notes=voluptatem"\
--form "action_notes=cupiditate"\
--form "planned_resolution_date=2026-03-24 14:59:58"\
--form "evidence=@/tmp/phppBfInb" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('parameter_id', '19');
body.append('is_resolved', '1');
body.append('reason_for_failure', 'htifm');
body.append('corrective_action', 'knhxfuftjx');
body.append('notes', 'voluptatem');
body.append('action_notes', 'cupiditate');
body.append('planned_resolution_date', '2026-03-24 14:59:58');
body.append('evidence', document.querySelector('input[name="evidence"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Example response (201):
{
"data": {
"id": 2,
"parameter_id": 89,
"is_resolved": false,
"reason_for_failure": "Incorrect dosing of treatment chemicals",
"corrective_action": "Optimise treatment chemical dosing",
"notes": null,
"action_notes": null,
"planned_resolution_date": "2025-11-25T01:00:00.000000Z",
"created_at": "2025-11-17T13:38:26.000000Z",
"updated_at": "2025-11-17T13:38:26.000000Z",
"evidence_file_url": null
},
"message": "Wastewater RCA created successfully"
}
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
requires authentication
Update a given RCA record
Example request:
curl --request PUT \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "parameter_id=9"\
--form "is_resolved="\
--form "reason_for_failure=nnqdwypilyygxtdffiw"\
--form "corrective_action=ctjis"\
--form "notes=incidunt"\
--form "action_notes=ducimus"\
--form "planned_resolution_date=2026-03-24 14:59:58"\
--form "evidence=@/tmp/phpfiedPc" const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca/2"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('parameter_id', '9');
body.append('is_resolved', '');
body.append('reason_for_failure', 'nnqdwypilyygxtdffiw');
body.append('corrective_action', 'ctjis');
body.append('notes', 'incidunt');
body.append('action_notes', 'ducimus');
body.append('planned_resolution_date', '2026-03-24 14:59:58');
body.append('evidence', document.querySelector('input[name="evidence"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 2,
"parameter_id": 89,
"is_resolved": false,
"reason_for_failure": "Incorrect dosing of treatment chemicals",
"corrective_action": "Optimise treatment chemical dosing",
"notes": null,
"action_notes": null,
"planned_resolution_date": "2025-11-25T01:00:00.000000Z",
"created_at": "2025-11-17T13:38:26.000000Z",
"updated_at": "2025-11-17T13:38:26.000000Z",
"evidence_file_url": null
},
"message": "Wastewater RCA updated successfully"
}
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 File
requires authentication
Delete the evidence file
Example request:
curl --request DELETE \
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca/2/delete-evidence-file" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca/2/delete-evidence-file"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"id": 2,
"parameter_id": 89,
"is_resolved": false,
"reason_for_failure": "Incorrect dosing of treatment chemicals",
"corrective_action": "Optimise treatment chemical dosing",
"notes": null,
"action_notes": null,
"planned_resolution_date": "2025-11-25T01:00:00.000000Z",
"created_at": "2025-11-17T13:38:26.000000Z",
"updated_at": "2025-11-17T13:38:26.000000Z",
"evidence_file_url": null
},
"message": "Wastewater RCA evidence file deleted successfully"
}
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.
RCA Overview PDF
Generate
requires authentication
Generate the Rca Overview Pdf
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca-overview-pdf" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/2/rca-overview-pdf"
);
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):
content of the pdf
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.
Reporting Summary
Index
requires authentication
Get a summary of the reporting status of a wastewater report
Example request:
curl --request GET \
--get "https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/report/2/summary" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://staging-api.vm400.consulting1x1.info/api/organisation/1/wastewater/reporting/report/2/summary"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": {
"testedParameters": 10,
"passingParameters": 8,
"failingParameters": 2,
"complianceRate": 80
}
}
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.