Algus API Reference v1.0.0

Introduction

Welcome to the Algus Organization API. This API is designed to allow developers and system integrators to retrieve audits, create safety checklists, dispatch action items, and manage compliance files on behalf of your organization.

โ„น๏ธ
What is an API?

Think of it as a secure digital counter. Instead of a human clicking buttons in a browser, your other software sends structured messages to this counter to retrieve or post operations.

๐ŸŒAPI Base URL Structure

Your API base URL connects you directly to your workspace. The easiest way to find it is to take your organization's web login URL and append /api/ to it. All API requests must use the format below, where the organization's unique ID is included in the URL:

https://app.algus.io/{organization-uuid}/api/

The {organization-uuid} segment refers to your organization's unique Organization UUID (e.g., f037a612-9486-4760-8d70-83a1e344427b). You can copy this UUID directly from the web application by navigating to Settings โ†’ Organization โ†’ API Key, or retrieve it directly from your web application URL.

Authentication & Keys

To keep your workplace details secure, the Algus API uses a Dual-Layer Authentication system. Every single request you send must verify two things:

Layer 1 โ€” Organization Key

X-Organization-Api-Key

This header identifies which organization is making the request. It is required for every single API call.

๐Ÿ“ Where to find it: Go to Settings โ†’ Organization โ†’ API Key

Layer 2 โ€” User Authorization

Authorization: Bearer {token}

This header identifies which user is performing the action. You get this token by calling the /login endpoint first.

Request Headers

NAMEVALUETYPE
X-Organization-Api-Keyyour_organization_api_keytext
AuthorizationBearer your_bearer_tokentext

Request Parameters

Here is a guide explaining parameters and types used across our API endpoints:

LabelWhat It Means
RequiredYou must include this value in your request body or parameters.
OptionalYou can include it, but the request will still succeed without it.

Response Formats

All success and error responses returned by the API conform to the following standard shapes:

Success Shape

200 OK
{
  "status": true,
  "status_code": 200,
  "message": "Task Successfully Created",
  "data": null,
  "now": "2026-08-15 12:00:00"
}

Error Shape

401 Unauthorized
{
  "status": false,
  "status_code": 401,
  "message": "Invalid API key",
  "description": null,
  "data": null,
  "now": "2026-08-15 12:00:00"
}

Validation Error Shape

422 Unprocessable Entity
{
  "status": false,
  "status_code": 422,
  "message": "The given data was invalid.",
  "description": null,
  "data": {
    "title": ["The title field is required."]
  },
  "now": "2026-08-15 12:00:00"
}

Error Codes

CodeNameWhat It MeansHow to Fix
200OKRequest was successfulNo action needed
201CreatedNew item was createdNo action needed
400Bad RequestThe request was invalid or could not be processedCheck your request syntax or business logic constraints
401UnauthorizedAPI key or token is missing or invalidCheck your X-Organization-Api-Key and Bearer token
403ForbiddenUser doesn't have permission for this actionContact your admin to grant the required permissions
404Not FoundThe item you requested doesn't existVerify the ID or URL is correct
422Validation ErrorYour request body is missing required fields or has invalid dataCheck the message and data fields for details
500Server ErrorAn unexpected server error occurredTry again later or contact support if the issue persists

๐Ÿ” Authentication

Endpoints for user login, logout, and token check actions.

๐Ÿข Organization

Organization details and settings.

๐Ÿ‘ฅ Users

Manage users within the organization.

๐Ÿ‘ฅ User Groups

Manage user groups and their assigned sites.

โœ… Tasks

Manage and track operational tasks.

โš ๏ธ Issues

Manage operational issues.

๐Ÿ“‹ Inspections

Manage and perform template-based inspections.

๐Ÿ“‘ Templates

Manage inspection templates.

๐Ÿข Sites

Manage sites and locations.

๐Ÿšœ Resources

Manage equipment, vehicles, and other physical assets.

๐Ÿ“„ Documents

Manage files, folders, versions, and metadata in the document library.

๐Ÿ’ฌ Feedback

Manage feedback forms, submissions, and responses in the feedback module.

โœ… Approvals & Acknowledgments

Endpoints to fetch pending approvals, submit approval outcomes, and view or acknowledge escalations.

๐Ÿšจ Incidents

Manage incidents, incident metadata, coordinators, dynamic custom fields, attachments, linking, and department investigations.