Skip to main content

Paging through a list

Lists return up to 50 records by default. Use limit to ask for up to 200.
When next_cursor isn’t null, pass it back unchanged as cursor to get the next page:
Lists are always ordered by updated_at, then id, oldest change first.

Syncing only what changed

Add updated_since (an ISO-8601 time) to get only records changed at or after that moment. A typical nightly sync:
  1. Page through the list with updated_since set to the time your last sync started.
  2. Save the time this sync started, for next time.
A record that’s deleted in Relyant drops out of the list, so a sync with updated_since doesn’t see it go. Moving a student to another class doesn’t change the student’s updated_at. Run a full sync from time to time to catch these.

Filters

Many lists take filters. Repeat a filter or separate its values with commas: ?status=open,in_progress. See Endpoints for each list’s filters.

Formats

  • Field names are snake_case.
  • Times are ISO-8601 in UTC, such as 2026-11-30T08:15:00.000Z.
  • Dates are YYYY-MM-DD, in your school’s calendar.
  • Related records are { "id": "…", "name": "…" }, or null.
New fields can be added to a response at any time, so ignore fields you don’t recognise. Fields are never renamed or removed within /api/v1.

Rate limits

Each key can make 120 requests a minute, and each school 1,000 a minute across all its keys. Every response carries: Over the limit, you get 429 rate_limited with a Retry-After header. Wait that many seconds and try again.

Errors

Errors return a JSON body with a plain-English error and a stable code: