Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

School — API reference

The Record Sender School for the key's person: free courses on Record Sender itself, lessons, quizzes and exams graded at once, certificates with a public verification code, and each course's AI teacher — paid from the key account's prepaid AI credits (its price is in GET …/tutor first; 402 when empty, nothing charged). Reads `learn:read`, learning `learn:write`; progress is the person's own.

← All groups
GET /api/v1/school/attempts/{id}

One of your attempts

Scope: learn:read · school.attempt

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

attempt * SchoolAttempt
fields

SchoolAttempt

deadline_at string | null
exam_id * string (uuid)
exam_title * string
id * string (uuid)
kind * "quiz" | "final" | "certification"
number integer
pass_mark_pct integer
passed boolean | null
questions * [object]
fields
answer any what was answered: a choice id, a list of ids, or text
choices [object]
fields
id string
text string
correct boolean | null only once the exam reveals answers
explanation string | null only once the exam reveals answers
id * string (uuid)
kind * "single" | "multi" | "true_false" | "numeric" | "short"
prompt * string
score_pct integer | null
status * "in_progress" | "graded"

401 Problem details (401)

403 Problem details (403)

404 No such attempt

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/school/attempts/{id}/submit

Answer and submit an attempt

Graded at once. `answers` maps question ids to a choice id (single, true_false: "true"/"false"), a list of choice ids (multi) or text (numeric, short). Answers after a timed exam's deadline are not counted.

Scope: learn:write · Idempotency-Key · school.submit

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
answers object question id → answer
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

attempt * SchoolAttempt
fields

SchoolAttempt

deadline_at string | null
exam_id * string (uuid)
exam_title * string
id * string (uuid)
kind * "quiz" | "final" | "certification"
number integer
pass_mark_pct integer
passed boolean | null
questions * [object]
fields
answer any what was answered: a choice id, a list of ids, or text
choices [object]
fields
id string
text string
correct boolean | null only once the exam reveals answers
explanation string | null only once the exam reveals answers
id * string (uuid)
kind * "single" | "multi" | "true_false" | "numeric" | "short"
prompt * string
score_pct integer | null
status * "in_progress" | "graded"

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 No such attempt

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/school/courses

The courses and certifications

Scope: learn:read · school.index

ParameterInTypeDescription
qquerystring
disciplinequery"essentials" | "connected" | "automation"
levelquery"foundation" | "intermediate" | "advanced"
Responses 200 · 401 · 403 · 429

200 Success

certifications * [object]
fields
code string
exam_id string | null
slug string
summary string | null
title string
courses * [SchoolCourse]
fields

SchoolCourse

code string | null
discipline string
duration_minutes integer
enrolled * boolean
level * "foundation" | "intermediate" | "advanced"
outcomes [string]
programme string | null
progress SchoolEnrollment | null
fields

SchoolEnrollment

completed_at string | null
course string progress list only: the course slug
course_id * string (uuid)
last_lesson_id string | null
progress_pct * integer 0–100
started_at string | null
status * "active" | "completed"
skills [string]
slug * string
subtitle string | null
summary string | null
title * string

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/school/courses/{slug}

A course with its syllabus and your progress

Scope: learn:read · school.show

ParameterInTypeDescription
slug *pathstringthe course's address, e.g. emailstation-essentials
Responses 200 · 401 · 403 · 404 · 429

200 Success

course * SchoolCourse
fields

SchoolCourse

code string | null
discipline string
duration_minutes integer
enrolled * boolean
level * "foundation" | "intermediate" | "advanced"
outcomes [string]
programme string | null
progress SchoolEnrollment | null
fields

SchoolEnrollment

completed_at string | null
course string progress list only: the course slug
course_id * string (uuid)
last_lesson_id string | null
progress_pct * integer 0–100
started_at string | null
status * "active" | "completed"
skills [string]
slug * string
subtitle string | null
summary string | null
title * string
description string | null Markdown
modules * [object]
fields
lessons [SchoolLesson]
fields

SchoolLesson

blocks [object] one lesson only: plain blocks (Markdown lessons)
fields
items [string]
text string
type string
done * boolean
duration_minutes integer
exam_id string | null quiz lessons: the exam to sit
html string one lesson only
id * string (uuid)
kind * "reading" | "video" | "quiz"
position integer
title * string
video_url string | null
summary string | null
title string
next_lesson_id string | null

401 Problem details (401)

403 Problem details (403)

404 No such course

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/school/courses/{slug}/enroll

Enrol (free, idempotent)

Scope: learn:write · Idempotency-Key · school.enroll

ParameterInTypeDescription
slug *pathstringthe course's address, e.g. emailstation-essentials
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

enrollment * SchoolEnrollment
fields

SchoolEnrollment

completed_at string | null
course string progress list only: the course slug
course_id * string (uuid)
last_lesson_id string | null
progress_pct * integer 0–100
started_at string | null
status * "active" | "completed"

401 Problem details (401)

402 Problem details (402)

403 no_person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such course

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/school/courses/{slug}/tutor

The AI teacher: its price now and your conversation

Scope: learn:read · school.tutor

ParameterInTypeDescription
slug *pathstringthe course's address, e.g. emailstation-essentials
Responses 200 · 401 · 403 · 404 · 429

200 Success

cost * object
fields
available number
configured boolean
credits integer | null
label string e.g. ~2 credits
out boolean
read_only boolean
messages * [SchoolTutorMessage]
fields

SchoolTutorMessage

at string (date-time)
citations [object]
fields
index integer
lesson string
lesson_id string (uuid)
quote string
content * string
credits number | null what the answer cost
mode string
role * "user" | "assistant"

401 Problem details (401)

403 Problem details (403)

404 No such course

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/school/courses/{slug}/tutor

Ask the AI teacher (paid AI credits)

Answers from the course's lessons with [n] citations, paid from the key account's AI credits (see GET …/tutor for the price first). Modes: explain (default), coach (hints), quiz (asks you a question; send your answer next). Without a configured AI provider the course's passages come back, free (`model` extractive).

Scope: learn:write · Idempotency-Key · school.ask

ParameterInTypeDescription
slug *pathstringthe course's address, e.g. emailstation-essentials
Request body application/json
lesson_id string (uuid) the lesson you're on
mode "explain" | "coach" | "quiz"
question string at most 4,000 characters; may be empty in quiz mode
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429 · 503

201 Success

message * SchoolTutorMessage
fields

SchoolTutorMessage

at string (date-time)
citations [object]
fields
index integer
lesson string
lesson_id string (uuid)
quote string
content * string
credits number | null what the answer cost
mode string
role * "user" | "assistant"

401 Problem details (401)

402 insufficient_credits · billing_read_only

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

403 Problem details (403)

404 No such course

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_enrolled

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 invalid

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

503 ai_unavailable

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)
GET /api/v1/school/credentials

Your certificates

Scope: learn:read · school.credentials

Responses 200 · 401 · 403 · 429

200 Success

credentials * [object]
fields
code * string RS-XXXX-XXXX-XXXX
expires_at string | null
holder_name string
issued_at string (date-time)
kind * "course_certificate" | "certification"
revoked boolean
score_pct integer | null
title * string
verify_url string (uri) the public check

401 Problem details (401)

403 no_person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/school/exams/{id}/attempts

Start (or resume) a quiz or exam

Scope: learn:write · Idempotency-Key · school.start_exam

ParameterInTypeDescription
id *pathstring (uuid)an exam id, from a quiz lesson's exam_id or a certification
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

attempt * SchoolAttempt
fields

SchoolAttempt

deadline_at string | null
exam_id * string (uuid)
exam_title * string
id * string (uuid)
kind * "quiz" | "final" | "certification"
number integer
pass_mark_pct integer
passed boolean | null
questions * [object]
fields
answer any what was answered: a choice id, a list of ids, or text
choices [object]
fields
id string
text string
correct boolean | null only once the exam reveals answers
explanation string | null only once the exam reveals answers
id * string (uuid)
kind * "single" | "multi" | "true_false" | "numeric" | "short"
prompt * string
score_pct integer | null
status * "in_progress" | "graded"

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 No such exam

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_enrolled · already_passed · no_attempts_left · cooldown · courses_missing

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/school/lessons/{id}

One lesson's text

Scope: learn:read · school.lesson

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 409 · 429

200 Success

course * string
lesson * SchoolLesson
fields

SchoolLesson

blocks [object] one lesson only: plain blocks (Markdown lessons)
fields
items [string]
text string
type string
done * boolean
duration_minutes integer
exam_id string | null quiz lessons: the exam to sit
html string one lesson only
id * string (uuid)
kind * "reading" | "video" | "quiz"
position integer
title * string
video_url string | null

401 Problem details (401)

403 no_person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 No such lesson

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_enrolled

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/school/lessons/{id}/complete

Mark a reading or video lesson done

Quiz lessons complete when their exam is passed (409 pass_required). Completing every lesson issues the course certificate.

Scope: learn:write · Idempotency-Key · school.complete

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

enrollment * SchoolEnrollment
fields

SchoolEnrollment

completed_at string | null
course string progress list only: the course slug
course_id * string (uuid)
last_lesson_id string | null
progress_pct * integer 0–100
started_at string | null
status * "active" | "completed"

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 No such lesson

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 not_enrolled · pass_required

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/school/progress

Your enrolments and progress

Scope: learn:read · school.progress

Responses 200 · 401 · 403 · 429

200 Success

enrollments * [SchoolEnrollment]
fields

SchoolEnrollment

completed_at string | null
course string progress list only: the course slug
course_id * string (uuid)
last_lesson_id string | null
progress_pct * integer 0–100
started_at string | null
status * "active" | "completed"

401 Problem details (401)

403 no_person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)