Authmarks REST API v1 reference: every endpoint, field and error code
The full reference for the read-only Authmarks REST API v1, written for Canadian campus IT and LMS teams: each endpoint with its scope, parameters, response fields, error codes and a worked example.
Published 2026-11-26 · 7 min read
| API version | v1 |
|---|---|
| Auth | Bearer token (amk_ organization 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 covers: the precise contract of version 1 of the Authmarks REST API. For each endpoint you will find the method, the path, the scope it requires, its parameters, the fields it returns, its errors and a sample call. The same contract in machine-readable form is the OpenAPI 3.1 document at https://www.authmarks.com/api/v1/openapi.json. If this is your first time with the API, begin with the quickstart.
Conventions
| Topic | Rule |
|---|---|
| Base URL | https://www.authmarks.com/api/v1/orgs/{orgId}. orgId is the UUID of your organization, displayed under Settings → Developers. |
| Authentication | Authorization: Bearer amk_…, using an organization API token. Details are in Authentication and scopes. |
| Read-only | GET and HEAD only; any other method gets 405. Nothing in v1 can create, edit or delete data. |
| Caching | Each response is sent with Cache-Control: no-store. Shared proxies should not cache it. |
| Timestamps | ISO 8601 in UTC, such as 2026-11-25T18:02:44Z. When a timestamp does not apply, it is null. |
| Ids | Opaque strings. Keep them as text, compare them character for character and never split them into parts. |
| Lists | { "data": [...], "next_cursor": "..." }. limit ranges from 1 to 200 (50 if omitted). Send next_cursor back as cursor; it is null on the final page. |
| Single objects | { "data": { ... } }. |
| Errors | { "error": { "code": "...", "message": "..." } }. You can rely on code; message is written for people and can change. |
| Rate limit | 600 requests a minute per token; past that you get 429 with Retry-After (in seconds). |
| Organization boundary | A token is valid for its own organization only. Any other organization's id returns 401, never 403, so nobody can use a token to discover which organizations exist. |
List parameters
All paged list endpoints accept the following:
| Parameter | Location | Type | Default | Notes |
|---|---|---|---|---|
limit | query | integer | 50 | Between 1 and 200. A value outside that range gets 400 invalid_request. |
cursor | query | string | none | The previous page's next_cursor. It is opaque, and a modified cursor gets 400. |
Error codes
| Status | code | What it means |
|---|---|---|
| 400 | invalid_request | A parameter is badly formed or outside its allowed range. |
| 401 | unauthorized | The token is absent, unknown, revoked or expired, or it belongs to a different organization. |
| 403 | forbidden | The token is valid but does not hold this endpoint's scope, or the organization's plan does not include the feature that scope depends on. |
| 404 | not_found | No such object exists in this organization. |
| 405 | method_not_allowed | The method was something other than GET or HEAD. |
| 429 | rate_limited | This token sent too many requests, or this address had too many failed authentications. Wait for Retry-After seconds. |
| 503 | unavailable | A temporary fault. Try again with backoff. |
List LMS connections
GET /api/v1/orgs/{orgId}/lms-connections
Scope needed: lms_read (your organization's plan must include the LTI feature).
Returns the LTI 1.3 platforms connected to your organization, along with their deployments. It is a quick way to see which connections are still waiting for approval, whether your campus runs D2L Brightspace, Canvas or Moodle. For setup, see LTI 1.3 setup.
Path and query parameters
| Parameter | Location | Type | Required | Notes |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organization. |
Fields in each data[] item
| Field | Type | Notes |
|---|---|---|
id | string | The connection's id; you pass it when asking for grade returns. |
label | string | The name an administrator gave this connection. |
issuer | string | The LTI issuer URL of the platform. |
client_id | string | The LTI client id that the platform issued. |
product | string | Which LMS it is, such as canvas or moodle. |
status | string | pending (not yet approved), active or disabled. |
source | string | dynamic (registered through LTI Dynamic Registration) or manual. |
deployments | array | [{ deployment_id, status }], with one entry for each LTI deployment. |
created_at | string | The moment the connection was registered. |
approved_at | string or null | The moment an administrator approved it; null until then. |
The envelope also carries next_cursor.
Error responses
Possible statuses: 401, 403, 405, 429, 503.
Sample request and response
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 needed: lms_read.
This is the log of grades and statuses that Authmarks sent back to the LMS through LTI Assignment and Grade Services. Read it to find any return that failed. More context is in Grades and roster.
Path and query parameters
| Parameter | Location | Type | Required | Notes |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organization. |
connectionId | path | string | yes | One of the id values from the connection list. |
limit | query | integer | no | Between 1 and 200; 50 if omitted. |
cursor | query | string | no | Taken from next_cursor. |
Fields in each data[] item
| Field | Type | Notes |
|---|---|---|
id | string | The id of this grade return. |
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 that received the return. |
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 | The moment the return was attempted. |
Error responses
Possible statuses: 400, 401, 403, 404 (connection not found), 405, 429, 503.
Sample request and response
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 needed: assignments_read.
Path and query parameters
| Parameter | Location | Type | Required | Notes |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organization. |
limit | query | integer | no | Between 1 and 200; 50 if omitted. |
cursor | query | string | no | Taken from next_cursor. |
Fields in each data[] item
| Field | Type | Notes |
|---|---|---|
id | string | The assignment's id; you pass it when asking for submissions. |
title | string | What the assignment is called. |
status | string | Where the assignment is in its lifecycle, such as active or completed. Accept values you do not recognize as valid. |
course_id | string or null | The course that holds the assignment. |
module_id | string or null | The module within the course, if one is set. |
starts_at | string or null | The moment writing opens. |
due_at | string or null | The deadline. |
created_at | string | The moment the assignment was created. |
Error responses
Possible statuses: 400, 401, 403, 405, 429, 503.
Sample request and response
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 needed: records_read.
Each row is one submission: who the student is, which document they wrote and whether it has been sealed. No scores, no percentages and no detector output are ever returned.
Path and query parameters
| Parameter | Location | Type | Required | Notes |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organization. |
assignmentId | path | string | yes | One of the id values from the assignment list. |
limit | query | integer | no | Between 1 and 200; 50 if omitted. |
cursor | query | string | no | Taken from next_cursor. |
Fields in each data[] item
| Field | Type | Notes |
|---|---|---|
student.id | string | The student's Authmarks id. |
student.name | string or null | The name shown for the student. |
student.email | string or null | The student's email address. Handle it as personal information, the term PIPEDA and provincial privacy laws use. |
document_id | string | The document the student wrote 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 not sealed. |
sealed_at | string or null | The moment it was sealed; null if not sealed. |
record_url | string or null | Link to the record page; null if not sealed. |
Error responses
Possible statuses: 400, 401, 403, 404 (assignment not found), 405, 429, 503.
Sample request and response
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 needed: records_read.
You only get records that belong to your organization's members or assignments. Any other record id returns 404, whether that record exists or not. For checks that need no token at all, see the Verification API.
Path and query parameters
| Parameter | Location | Type | Required | Notes |
|---|---|---|---|---|
orgId | path | string | yes | The id of your organization. |
recordId | path | string | yes | A record id, for instance one taken from a submission. |
Fields in data
| Field | Type | Notes |
|---|---|---|
id | string | The id of the record. |
document_id | string | The document that was sealed. |
sealed_at | string | The moment it was sealed. |
content_sha256 | string or null | SHA-256 of the sealed file (the sealed document PDF, otherwise the Authmarks sealed copy), as 64 lowercase hex characters. You can check it with POST /api/verify/hash or with the MCP verify_hash tool. It is null when the record holds no sealed file. |
record_url | string | The page for this record. |
verify_url | string | The public check of this record, which needs no account (/api/records/{recordId}/public). |
Error responses
Possible statuses: 401, 403, 404, 405, 429, 503.
Sample request and response
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. This public OpenAPI 3.1 document describes every endpoint listed here, plus the public verification endpoints (POST /api/verify/hash, POST /api/verify/file) and the MCP endpoint (POST /api/mcp). Its security scheme is orgToken, an HTTP bearer scheme with bearer format amk_ token. You can generate clients from it by following the quickstart.
Related endpoints
| Endpoint | Auth | Page |
|---|---|---|
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.