Octopus
Octopus Developersgateway.octopusoperations.co.za/v1

API reference

Conventions

36 operations, all sharing one envelope, one authentication scheme and one set of rules. Learn these once and every resource page becomes a list of field names.

Base URL

text
https://gateway.octopusoperations.co.za/v1

The version is in the path. A v2 would live beside v1 rather than replacing it, so an integration that works today keeps working.

The envelope

Every response has the same outer shape, success or failure:

Success
{
  "success": true,
  "data":    { },
  "message": "Human-readable, safe to show a user.",
  "version": "v1",
  "count":   25
}
  • data: an object for a single record, an array for a list.
  • count: only on lists.
  • message: written for a person; safe to surface in your UI.
  • success: check this, not the status code, if you only check one thing.

Discovery

GET /v1 returns your organisation, your scopes and every operation with a one-line summary. It is the cheapest way to confirm a key works, and worth calling in your integration's health check.

Ids and dates

  • Ids are UUIDs, generated by Octopus. Never construct one.
  • Dates like dueDate are YYYY-MM-DD strings.
  • Times like startsAt are epoch milliseconds, as numbers.
  • Timestamps on records are ISO 8601 strings.

Filtering

Filters go in the query string, and are documented per resource. GET /v1/tasks?projectId=… narrows to one project; GET /v1/calendar?from=…&to=… takes a window.

Calendar reads are capped at 400 days

Ask for a wider window and you get a 400 explaining the limit. Page through in chunks rather than requesting a decade in one call.

Resources