Authmarks REST API v1 reference: every endpoint, field and error
The complete reference for the read-only Authmarks REST API v1: each endpoint with its required scope, parameters, response fields and error codes, plus worked examples.
Published 2026-11-26 · 7 min read
| API version | v1 |
|---|---|
| Auth | Bearer token (amk_ organisation API token) |
| Base URL | https://www.authmarks.com/api/v1 |
| Methods | GET and HEAD only |
| Format | JSON, UTF-8, Cache-Control no-store |
| OpenAPI | https://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 will find its method, path, required scope, parameters, response fields, errors and a worked example. The same contract in machine-readable form is the OpenAPI 3.1 document at https://www.authmarks.com/api/v1/openapi.json. If you have not used the API before, begin with the quickstart.
For university IT services and VLE administrators, note that the API exposes student names and email addresses. Under UK GDPR and the Data Protection Act 2018 your institution is responsible for deciding how that personal data is handled once it leaves Authmarks, so agree storage and access with your data protection officer before building a report on it.
Conventions
| Topic | How it works |
|---|---|
| Base URL | https://www.authmarks.com/api/v1/orgs/{orgId}. orgId is the UUID of your organisation, displayed under Settings → Developers. |
| Authentication | Authorization: Bearer amk_…, using an organisation API token. See Authentication and scopes. |
| Read-only | GET and HEAD only. Any other method returns 405. Nothing in v1 creates, alters or deletes data. |
| Caching | Each response carries Cache-Control: no-store. Never cache responses in a shared proxy. |
| Timestamps | ISO 8601 in UTC, such as 2026-11-25T18:02:44Z. A timestamp that does not apply is returned as null. |
| Ids | Opaque strings. Store them as text, compare them exactly and never try to split them into parts. |
| Lists | { "data": [...], "next_cursor": "..." }. limit is 1 to 200 (50 by default). Send next_cursor back as cursor. On the final page next_cursor is null. |
| Single objects | Returned as { "data": { ... } }. |
| Errors | { "error": { "code": "...", "message": "..." } }. code stays stable; message is written for people and may change. |
| Rate limit | 600 requests a minute per token; beyond that, 429 with Retry-After (in seconds). |
| Organisation boundary | A token works only for the organisation that issued it. Another organisation's id returns 401, never 403, so nobody can use a token to discover which organisations exist. |
List parameters
Each paged list endpoint accepts:
| Parameter | In | Type | Default | Details |
|---|---|---|---|---|
limit | query | integer | 50 | From 1 to 200. A value outside that range returns 400 invalid_request. |
cursor | query | string | none | The previous page's next_cursor. It is opaque; a cursor that has been edited returns 400. |
Error codes
| Status | code | What it means |
|---|---|---|
| 400 | invalid_request | A parameter is malformed or outside its allowed range. |
| 401 | unauthorized | The token is missing, unknown, revoked or expired, or it belongs to another organisation. |
| 403 | forbidden | The token is valid but does not hold the endpoint's scope, or the organisation's plan does not include the feature the scope relies on. |
| 404 | not_found | No such object exists in this organisation. |
| 405 | method_not_allowed | A method other than GET or HEAD was used. |
| 429 | rate_limited | This token has sent too many requests, or this address has made too many failed authentications. Wait the number of seconds in Retry-After. |
| 503 | unavailable | A temporary fault. Try again with backoff. |
List LMS connections
GET /api/v1/orgs/{orgId}/lms-connections
Scope: lms_read (your organisation's plan must include the LTI feature).
Returns the LTI 1.3 platforms (your VLE, such as Moodle, Canvas or Brightspace) connected to the organisation, together with their deployments. It is a quick way to find connections still awaiting approval. Setting one up is covered in LTI 1.3 setup.
Parameters
| Parameter | In | Type | Required | Details |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organisation. |
Response fields (data[])
| Field | Type | Details |
|---|---|---|
id | string | The connection id, used when you read grade returns. |
label | string | The name an admin chose for the connection. |
issuer | string | The LTI issuer URL of the platform. |
client_id | string | The LTI client id assigned by the platform. |
product | string | Which LMS product it is, such as canvas or moodle. |
status | string | pending (awaiting approval), active or disabled. |
source | string | dynamic (registered through LTI Dynamic Registration) or manual. |
deployments | array | [{ deployment_id, status }], with one entry per LTI deployment. |
created_at | string | When the connection was registered. |
approved_at | string or null | When an admin approved the connection; null until then. |
The envelope also includes next_cursor.
Errors
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.
This is the log of grade and status returns that Authmarks has sent to the LMS through LTI Assignment and Grade Services. Use it to spot returns that did not go through. See Grades and roster.
Parameters
| Parameter | In | Type | Required | Details |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organisation. |
connectionId | path | string | yes | An id taken from the connection list. |
limit | query | integer | no | From 1 to 200; 50 if omitted. |
cursor | query | string | no | Taken from next_cursor. |
Response fields (data[])
| Field | Type | Details |
|---|---|---|
id | string | The grade-return id. |
resource_link_id | string | The LMS's own id for the placement (LTI resource_link.id). |
lineitem | string | The URL of the LMS line item the return went to. |
activity_progress | string | The LTI AGS activityProgress value sent, such as Submitted. |
grading_progress | string | The LTI AGS gradingProgress value sent, such as PendingManual or FullyGraded. |
status | string | Either sent or failed. |
created_at | string | When the return was attempted. |
Errors
400, 401, 403, 404 (the connection is unknown), 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
| Parameter | In | Type | Required | Details |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organisation. |
limit | query | integer | no | From 1 to 200; 50 if omitted. |
cursor | query | string | no | Taken from next_cursor. |
Response fields (data[])
| Field | Type | Details |
|---|---|---|
id | string | The assignment id, used when you list submissions. |
title | string | The title of the assignment. |
status | string | Where the assignment is in its lifecycle, such as active or completed. Accept values you do not recognise as valid. |
course_id | string or null | The course (in UK terms, usually the module or programme) the assignment sits in. |
module_id | string or null | The module within that course, where one exists. |
starts_at | string or null | When writing opens. |
due_at | string or null | The deadline. |
created_at | string | When the assignment was set up. |
Errors
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.
Returns 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
| Parameter | In | Type | Required | Details |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organisation. |
assignmentId | path | string | yes | An id taken from the assignment list. |
limit | query | integer | no | From 1 to 200; 50 if omitted. |
cursor | query | string | no | Taken from next_cursor. |
Response fields (data[])
| Field | Type | Details |
|---|---|---|
student.id | string | The student's Authmarks id. |
student.name | string or null | The display name. |
student.email | string or null | The email address. Handle it as personal data. |
document_id | string | The student's document for this assignment. |
sealed | boolean | true if the document has a sealed record. |
record_id | string or null | The id of the sealed record; null if unsealed. |
sealed_at | string or null | The time of sealing; null if unsealed. |
record_url | string or null | A link to the record page; null if unsealed. |
Errors
400, 401, 403, 404 (the assignment is unknown), 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.
The endpoint returns only records belonging to your organisation's members or assignments. Every other record id returns 404, whether the record exists or not. For checks that anyone can run without a token, see the Verification API.
Parameters
| Parameter | In | Type | Required | Details |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organisation. |
recordId | path | string | yes | A record id, for instance one taken from a submission. |
Response fields (data)
| Field | Type | Details |
|---|---|---|
id | string | The id of the record. |
document_id | string | The document that was sealed. |
sealed_at | string | The time of sealing. |
content_sha256 | string or null | The SHA-256 of the sealed file (the sealed document PDF, or otherwise the Authmarks sealed copy), as 64 lowercase hex characters. Check it with POST /api/verify/hash or with the MCP verify_hash tool. null when the record holds no sealed file. |
record_url | string | The record page. |
verify_url | string | The public check of this record, which needs no account (/api/records/{recordId}/public). |
Errors
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 required. This public OpenAPI 3.1 document describes every endpoint on this page, as well as the public verification endpoints (POST /api/verify/hash, POST /api/verify/file) and the MCP endpoint (POST /api/mcp). The security scheme is orgToken: HTTP bearer, with bearer format amk_ token. You can generate clients from it as the quickstart shows.
Related endpoints
| Endpoint | Auth | Guide |
|---|---|---|
POST /api/mcp | The same token | MCP server |
POST /api/verify/hash, POST /api/verify/file, GET /api/records/{id}/public | None needed | Verification API |
/api/scim/v2/{orgId}/… | A token holding scim_users or scim_groups | SCIM and audit stream |
GET /api/orgs/{orgId}/audit-stream | A token holding audit_stream | SCIM and audit stream |
Sources
- OpenAPI Specification 3.1.0 — as of 2026-11-26
- RFC 3339, Date and Time on the Internet (ISO 8601 profile) — as of 2026-11-26
Change notes
- 2026-11-26 — First published.
Spotted an error? Email sales@authmarks.com and we will correct the page and date the correction.