Developers

Authmarks REST API v1 reference for Australian unis: endpoints, fields and errors

Full reference for the read-only Authmarks REST API v1: every endpoint, required scope, parameter, response field and error code, with examples for uni IT services and LMS administrators.

Published 2026-11-26 · 7 min read

API versionv1
AuthBearer token (amk_ organisation API token)
Base URLhttps://www.authmarks.com/api/v1
MethodsGET and HEAD, nothing else
FormatJSON, UTF-8, Cache-Control no-store
OpenAPIhttps://www.authmarks.com/api/v1/openapi.json

What this page gives you: the precise contract of the Authmarks REST API v1. For each endpoint below you'll find the method, path, required scope, parameters, response fields, errors and a worked example. The machine-readable twin of this page is the OpenAPI 3.1 document at https://www.authmarks.com/api/v1/openapi.json. If you haven't used the API before, begin with the quickstart.

Conventions

TopicRule
Base URLhttps://www.authmarks.com/api/v1/orgs/{orgId}. orgId is your organisation's UUID, displayed in Settings → Developers.
AuthenticationAuthorization: Bearer amk_…, which is an organisation API token. See Authentication and scopes.
Read-onlyGET and HEAD only. Any other method answers 405. Nothing in v1 creates, changes or deletes data.
CachingEach response carries Cache-Control: no-store. Don't cache responses in shared proxies, including a campus web proxy.
TimestampsISO 8601 in UTC, for example 2026-11-25T18:02:44Z. Convert to AEST or AEDT in your own reports. A timestamp that doesn't apply is null.
IdsOpaque strings. Keep them as text, compare them exactly and never split them into parts.
Lists{ "data": [...], "next_cursor": "..." }. limit runs 1 to 200 (default 50). Send next_cursor back as cursor. On the last page next_cursor is null.
Single objectsWrapped as { "data": { ... } }.
Errors{ "error": { "code": "...", "message": "..." } }. code stays stable; message is written for people and can change.
Rate limit600 requests a minute per token; over that you get 429 with Retry-After (seconds).
Organisation boundaryA token works only for its own organisation. Another organisation's id answers 401, never 403, so nobody can use a token to probe which organisations exist.

List parameters

Each list endpoint that pages accepts these:

ParameterInTypeDefaultNotes
limitqueryinteger50From 1 to 200. A value out of range answers 400 invalid_request.
cursorquerystringnoneThe previous page's next_cursor. Opaque; a cursor that has been edited answers 400.

Error codes

StatuscodeMeaning
400invalid_requestA parameter is badly formed or out of range.
401unauthorizedNo token; an unknown, revoked or expired token; or a token belonging to another organisation.
403forbiddenThe token is valid but doesn't hold the endpoint's scope, or the organisation's plan doesn't include the feature that scope relies on.
404not_foundNo such object exists in this organisation.
405method_not_allowedAny method apart from GET or HEAD.
429rate_limitedThis token has sent too many requests, or this address has had too many failed authentications. Wait Retry-After seconds.
503unavailableA temporary fault. Retry with backoff.

List LMS connections

GET /api/v1/orgs/{orgId}/lms-connections

Scope: lms_read (the organisation's plan must include the LTI feature).

Returns the LTI 1.3 platforms connected to your organisation, together with their deployments. LMS administrators use it to spot connections still waiting for approval. Setting one up is explained in LTI 1.3 setup.

Parameters

ParameterInTypeRequiredNotes
orgIdpathstringyesThe id of your organisation.

Response fields (data[])

FieldTypeNotes
idstringConnection id. You'll need it for grade returns.
labelstringThe name an admin gave this connection.
issuerstringThe LTI issuer URL of the platform.
client_idstringThe LTI client id assigned by the platform.
productstringWhich LMS it is, for example canvas or moodle.
statusstringpending (awaiting approval), active or disabled.
sourcestringdynamic (LTI Dynamic Registration) or manual.
deploymentsarray[{ deployment_id, status }], one entry per LTI deployment.
created_atstringWhen the connection was registered.
approved_atstring or nullWhen an admin approved it; stays null while pending.

The envelope also carries next_cursor.

Errors

Can answer 401, 403, 405, 429 or 503.

Example

curl -sS "https://www.authmarks.com/api/v1/orgs/$AUTHMARKS_ORG/lms-connections" \
  -H "Authorization: Bearer $AUTHMARKS_TOKEN"
{
  "data": [
    {
      "id": "lc_9a8b7c6d",
      "label": "Moodle staging",
      "issuer": "https://moodle.example.edu",
      "client_id": "ZqP3x0aBcD",
      "product": "moodle",
      "status": "pending",
      "source": "dynamic",
      "deployments": [{ "deployment_id": "1", "status": "pending" }],
      "created_at": "2026-11-24T16:40:00Z",
      "approved_at": null
    }
  ],
  "next_cursor": null
}

List grade returns for a connection

GET /api/v1/orgs/{orgId}/lms-connections/{connectionId}/grade-returns

Scope: lms_read.

The log of grade and status returns that Authmarks sent to the LMS through LTI Assignment and Grade Services. Use it to track down returns that failed, for example before marks are finalised at the end of semester. See Grades and roster.

Parameters

ParameterInTypeRequiredNotes
orgIdpathstringyesThe id of your organisation.
connectionIdpathstringyesAn id taken from the connection list.
limitqueryintegernoFrom 1 to 200; 50 if omitted.
cursorquerystringnoTaken from next_cursor.

Response fields (data[])

FieldTypeNotes
idstringId of the grade return.
resource_link_idstringThe LMS's own id for the placement (the LTI resource_link.id).
lineitemstringThe LMS line item URL that received the return.
activity_progressstringThe LTI AGS activityProgress that was sent, for example Submitted.
grading_progressstringThe LTI AGS gradingProgress that was sent, for example PendingManual or FullyGraded.
statusstringEither sent or failed.
created_atstringWhen the return was tried.

Errors

Can answer 400, 401, 403, 404 (connection not known), 405, 429 or 503.

Example

curl -sS "https://www.authmarks.com/api/v1/orgs/$AUTHMARKS_ORG/lms-connections/lc_6f1e2d3c/grade-returns?limit=100" \
  -H "Authorization: Bearer $AUTHMARKS_TOKEN"
{
  "data": [
    {
      "id": "gr_01HZX5",
      "resource_link_id": "f8b0c1d2-assignment-link",
      "lineitem": "https://canvas.example.edu/api/lti/courses/120/line_items/88",
      "activity_progress": "Submitted",
      "grading_progress": "PendingManual",
      "status": "failed",
      "created_at": "2026-11-25T21:15:40Z"
    }
  ],
  "next_cursor": "eyJvIjoxMDB9"
}

List assignments

GET /api/v1/orgs/{orgId}/assignments

Scope: assignments_read.

Parameters

ParameterInTypeRequiredNotes
orgIdpathstringyesThe id of your organisation.
limitqueryintegernoFrom 1 to 200; 50 if omitted.
cursorquerystringnoTaken from next_cursor.

Response fields (data[])

FieldTypeNotes
idstringAssignment id. You'll need it for submissions.
titlestringTitle of the assignment (an assessment task, in most Australian unit outlines).
statusstringWhere the assignment is in its lifecycle, for example active or completed. Accept unknown values as valid.
course_idstring or nullThe course the assignment belongs to; at many Australian unis this maps to a unit of study.
module_idstring or nullThe module within the course, if there is one.
starts_atstring or nullWhen writing opens.
due_atstring or nullThe due date and time.
created_atstringWhen the assignment was set up.

Errors

Can answer 400, 401, 403, 405, 429 or 503.

Example

curl -sS "https://www.authmarks.com/api/v1/orgs/$AUTHMARKS_ORG/assignments?limit=1" \
  -H "Authorization: Bearer $AUTHMARKS_TOKEN"
{
  "data": [
    {
      "id": "a7c1d2e3-4f56-4789-8abc-def012345678",
      "title": "Essay 2: Climate policy",
      "status": "active",
      "course_id": "c0ffee00-1111-4222-8333-444455556666",
      "module_id": null,
      "starts_at": "2026-11-02T08:00:00Z",
      "due_at": "2026-11-30T23:59:00Z",
      "created_at": "2026-10-28T14:12:09Z"
    }
  ],
  "next_cursor": "eyJvIjoxfQ"
}

List submissions for an assignment

GET /api/v1/orgs/{orgId}/assignments/{assignmentId}/submissions

Scope: records_read.

One row for each submission: the student, their document and whether it has been sealed. The API returns no scores, no percentages and no detector output.

Parameters

ParameterInTypeRequiredNotes
orgIdpathstringyesThe id of your organisation.
assignmentIdpathstringyesAn id taken from the assignment list.
limitqueryintegernoFrom 1 to 200; 50 if omitted.
cursorquerystringnoTaken from next_cursor.

Response fields (data[])

FieldTypeNotes
student.idstringThe student's Authmarks id.
student.namestring or nullName shown on screen.
student.emailstring or nullEmail address. Handle it as personal information (in Australia, the Privacy Act 1988 and the Australian Privacy Principles generally govern how it is collected, used and disclosed; your uni decides how they apply).
document_idstringThe student's document for this assignment.
sealedbooleantrue once the document has a sealed record.
record_idstring or nullId of the sealed record; null if not sealed.
sealed_atstring or nullWhen sealing happened; null if not sealed.
record_urlstring or nullLink to the record page; null if not sealed.

Errors

Can answer 400, 401, 403, 404 (assignment not known), 405, 429 or 503.

Example

curl -sS "https://www.authmarks.com/api/v1/orgs/$AUTHMARKS_ORG/assignments/a7c1d2e3-4f56-4789-8abc-def012345678/submissions" \
  -H "Authorization: Bearer $AUTHMARKS_TOKEN"
{
  "data": [
    {
      "student": { "id": "p_3b9c0d1e", "name": "Jordan Lee", "email": "jordan.lee@example.edu" },
      "document_id": "doc_7Hq2",
      "sealed": true,
      "record_id": "rec_k9x2_a1_4f8e2c1d9b7a6e5f",
      "sealed_at": "2026-11-25T18:02:44Z",
      "record_url": "https://www.authmarks.com/r/rec_k9x2_a1_4f8e2c1d9b7a6e5f"
    },
    {
      "student": { "id": "p_8e7f6a5b", "name": "Sam Ortiz", "email": "sam.ortiz@example.edu" },
      "document_id": "doc_9Lm4",
      "sealed": false,
      "record_id": null,
      "sealed_at": null,
      "record_url": null
    }
  ],
  "next_cursor": null
}

Get a sealed record

GET /api/v1/orgs/{orgId}/records/{recordId}

Scope: records_read.

You only get back records belonging to your organisation's members or assignments. Every other record id answers 404, whether it exists or not. For checks anyone can run without a token, see the Verification API.

Parameters

ParameterInTypeRequiredNotes
orgIdpathstringyesThe id of your organisation.
recordIdpathstringyesA record id, for instance one taken from a submission.

Response fields (data)

FieldTypeNotes
idstringId of the record.
document_idstringThe document that was sealed.
sealed_atstringWhen sealing happened.
content_sha256string or nullSHA-256 of the sealed file (the sealed document PDF, or otherwise the Authmarks sealed copy), 64 lowercase hex characters. Check it with POST /api/verify/hash or the MCP verify_hash tool. Null if the record has no sealed file.
record_urlstringThe record page.
verify_urlstringThe public check of this record, no account needed (/api/records/{recordId}/public).

Errors

Can answer 401, 403, 404, 405, 429 or 503.

Example

curl -sS "https://www.authmarks.com/api/v1/orgs/$AUTHMARKS_ORG/records/rec_k9x2_a1_4f8e2c1d9b7a6e5f" \
  -H "Authorization: Bearer $AUTHMARKS_TOKEN"
{
  "data": {
    "id": "rec_k9x2_a1_4f8e2c1d9b7a6e5f",
    "document_id": "doc_7Hq2",
    "sealed_at": "2026-11-25T18:02:44Z",
    "content_sha256": "9f2c4a1b0e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b",
    "record_url": "https://www.authmarks.com/r/rec_k9x2_a1_4f8e2c1d9b7a6e5f",
    "verify_url": "https://www.authmarks.com/api/records/rec_k9x2_a1_4f8e2c1d9b7a6e5f/public"
  }
}

OpenAPI document

GET https://www.authmarks.com/api/v1/openapi.json

Auth: none. A public OpenAPI 3.1 document that describes every endpoint on this page, the public verification endpoints (POST /api/verify/hash, POST /api/verify/file) and the MCP endpoint (POST /api/mcp). Its security scheme is orgToken: HTTP bearer, with bearer format amk_ token. You can generate clients from it as the quickstart shows.

EndpointAuthPage
POST /api/mcpThe same tokenMCP server
POST /api/verify/hash, POST /api/verify/file, GET /api/records/{id}/publicNo authVerification API
/api/scim/v2/{orgId}/…A token holding scim_users or scim_groupsSCIM and audit stream
GET /api/orgs/{orgId}/audit-streamA token holding audit_streamSCIM and audit stream

Change notes

  • 2026-11-26 — First published for Australian readers.

Spotted an error? Email sales@authmarks.com and we will correct the page and date the correction.