This article explains how to interpret error responses and how to page through list endpoints. The Scheduling API v1 and the Video API follow different conventions, so each has its own sections below.

Scheduling API v1 (/api/v1) Video API (/api/rooms, /api/room_feedbacks)
Success body { "data": ... } The object, or an object with a list such as rooms
Error body { "errors": [{ "code", "attribute", "message" }] } An array of validation errors on 400, other shapes elsewhere
Pagination page, per_page (default 50, at most 100) page (20 per page)
Sync updated_since on every list, paged by cursor Not available

Scheduling API v1: errors

Every error of the Scheduling API is JSON in one format, with English messages, whatever language your tenant uses:

{
  "errors": [
    { "code": "slot_unavailable", "attribute": null, "message": "This time is not, or no longer, free." }
  ]
}
Field Description
code A stable identifier meant for programs. Branch on it.
attribute The field that caused the error, or null when the error is about the request as a whole. Nested fields are written with dots, for example profile.first_name, owner.email, settings.planner_day_end_hour or repeat.interval.
message An English sentence for humans. It may change; do not parse it.

A response can carry several errors at once, one per offending field. Iterate over the array.

{
  "errors": [
    { "code": "not_found", "attribute": "doctor_external_id", "message": "Not found." }
  ]
}

Status codes

Code Meaning Typical code values
200 OK Success
201 Created Record created
202 Accepted Accepted, finished in the background Deleting an organization with confirmation
204 No Content Success, no body Deleting or archiving a record
400 Bad Request The body is not valid JSON invalid_json
401 Unauthorized The token is missing, unknown or expired unauthorized
403 Forbidden The token may not do this read_only_token, instance_token_required, organization_token_required, organization_forbidden, attribute_forbidden, feature_disabled, monthly_limit_reached, subscription_inactive
404 Not Found The record does not exist, or belongs to another organization not_found
409 Conflict The request conflicts with the current state slot_unavailable, deletion_confirmation_required, future_appointments, in_use, reserved, not_reschedulable, not_cancellable, not_completable
422 Unprocessable Content Validation failed The validation: blank, taken, invalid, inclusion, immutable, reserved, ambiguous_reference, organization_required, ...
429 Too Many Requests Rate limit exceeded rate_limited

The meaning of each code is explained where the endpoint is documented. For 403 see Authentication & API tokens.

Things to know

  • 404 hides other organizations. A record of another organization answers exactly like one that does not exist. Treat an unexpected 404 as a scope problem before assuming the record was deleted.
  • A 422 names the field. For a validation error the code is the validation that failed (blank, taken, ...) and attribute the field, so you can show it next to the right input.
  • A 409 is retryable with new input. After slot_unavailable, fetch the free slots again and book another. After future_appointments or in_use, resolve what blocks the request first.
  • Rate limiting uses the same format. A 429 from an Organization API Token that sends too many requests has the code rate_limited: { "errors": [{ "code": "rate_limited", "attribute": null, "message": "Too many requests. Please try again later." }] }. See Rate limits.

Scheduling API v1: pagination and sync

Every list of the Scheduling API is paginated with two query parameters:

Parameter Description
page The page to return, from 1. Defaults to 1.
per_page Records per page. Defaults to 50; values above 100 are capped at 100, and a value below 1 gives the default.

Each paginated response carries these headers (header names are case-insensitive):

Header Description
total-count The total number of records
total-pages The total number of pages
current-page The page returned
page-limit The number of records per page in effect
link Navigation links in RFC 8288 format, with the relations first, prev, next and last

Requesting a page beyond the last one returns 200 OK with an empty data array. The free slots endpoint is the one list that is not paginated: one response covers the whole range.

curl -i "https://acme.meetone.io/api/v1/appointments?page=2&per_page=100" \
  -H "Authorization: Bearer $TOKEN"
HTTP/1.1 200 OK
current-page: 2
page-limit: 100
total-count: 230
total-pages: 3
link: <https://acme.meetone.io/api/v1/appointments?page=1&per_page=100>; rel="first", <https://acme.meetone.io/api/v1/appointments?page=1&per_page=100>; rel="prev", <https://acme.meetone.io/api/v1/appointments?page=3&per_page=100>; rel="next", <https://acme.meetone.io/api/v1/appointments?page=3&per_page=100>; rel="last"

{ "data": [ ... ] }

Syncing with updated_since

Every list accepts updated_since, an ISO 8601 time. It returns the records changed at or after that time, ordered by their last change (updated_at), oldest first. Store the updated_at of the last record you processed and send it next time to fetch only what changed since.

A sync pages by cursor, not by page number. Follow the next URL in the link header until there is none; its page value is an opaque cursor, not a page number, so do not build or count it up yourself. A sync response has no total-count or total-pages header.

curl -i "https://acme.meetone.io/api/v1/users?updated_since=2026-10-08T14:30:00%2B02:00&per_page=100" \
  -H "Authorization: Bearer $TOKEN"
HTTP/1.1 200 OK
page-limit: 100
link: <https://acme.meetone.io/api/v1/users?page=WyIyMDI2LTEwLTA4VDEyOjMwOjAwLjEyMzQ1NloiLCJjNmUwYjNhOS03MmQ0LTRmMWItOWE1OC0wZDNmOGUyYzZiMTciXQ%3D%3D&per_page=100&updated_since=2026-10-08T14%3A30%3A00%2B02%3A00>; rel="next"

{ "data": [ ... ] }

(The page of that URL is an example; yours looks different.) A record that changes while you page comes again further on, after the ones you have not read yet. Store records by id (upsert) so that reading one twice does no harm. For the next sync, send the updated_at of the last record you processed, or a minute earlier to be safe; whatever comes again is simply stored again. A cursor that is malformed returns 422 with the code invalid and the attribute page.

In a query string a + stands for a space, so encode the offset of a time as %2B, or use Z. Cancelled appointments and deactivated users stay in their lists, so cancellations and deactivations reach you as changes. Waitlist entries are the exception: a deleted entry simply disappears, see Waitlist entries endpoints. A complete example is in Appointments endpoints.

Video API: status codes

Code Meaning When you'll see it
200 OK Success Listing, fetching, or updating a resource
201 Created Resource created Creating a room
204 No Content Success, no body Deleting or closing a room
400 Bad Request Validation failed Creating or updating a room with missing or invalid fields, or sending permanent: false for a permanent room
401 Unauthorized Missing or invalid token Any request without a valid Authorization header
403 Forbidden Token not allowed to do this Calling a feedbacks endpoint without an Instance API Token, changing data with a read-only token, or creating a room for an organization without a running trial or contract (subscription_inactive)
404 Not Found Resource doesn't exist, or isn't visible to your token Fetching a room by a public_id that doesn't match any room, or one that belongs to another organization; calling a feedbacks endpoint while the room_feedback feature is off
422 Unprocessable Content Request understood but rejected Submitting permanent: true when the permanent_rooms feature toggle isn't enabled, enable_waiting_room: true without the waiting room, an unknown status or a malformed scheduled_from/scheduled_to on the room list, deleting a room with billable usage, or, if group calls are enabled for your organization, call_type: "group" when your plan doesn't include them

Validation errors (400)

When a request fails validation, the response body is an array of error objects, each with an attribute, a type, and a human-readable message:

[
  {
    "attribute": "name",
    "type": "blank",
    "message": "can't be blank"
  }
]

Iterate over the array: a single request can fail more than one validation at once.

Scope errors (404, not 403)

An Organization API Token only sees the rooms that belong to its own organization, the rooms of its appointments included. Everything else answers 404 Not Found, the same response an unknown room public_id gets. The API does not reveal that a room exists outside your scope, so there is no 403 to catch here.

Treat a 404 on a room you expected to see as a scope problem before assuming it was deleted. Where your installation has a retention period, rooms past it are deleted without a room.deleted webhook and answer 404 too. See Authentication & API tokens for what each token type can reach.

Feature-gated errors (422)

Creating or updating a room with permanent: true requires the permanent_rooms feature toggle to be enabled for your tenant or organization, which is not the case by default. If the toggle isn't enabled, the API returns 422 Unprocessable Content with a different, single-object shape:

{
  "error": "Permanent rooms are not available in your current plan."
}

See Additional participants & permanent rooms for details on this feature.

If group calls are enabled for your organization, creating a room with call_type: "group" answers the same way when your plan doesn't include group calls:

{
  "error": "Group calls are not available in your current plan."
}

See Group calls for what the plan has to include.

Deleting a room that has billable usage also answers 422 with a single error string ("This room has billable usage and cannot be deleted. Close it instead.").

The error shapes are not interchangeable: 400 responses are a JSON array of validation errors, while the feature-gated 422 responses above are a single JSON object with an error string. Other errors use an errors array of plain messages: the 422 for an invalid list filter ({ "errors": ["status must be one of: active, started, ended, closed"] }), the 403 and 404 responses ({ "errors": ["not found"] }). Branch on the status code first, then parse accordingly.

Video API: pagination

The Video API's list endpoints, GET /api/rooms and GET /api/room_feedbacks, are paginated using a page query parameter, which defaults to 1 if omitted.

Each paginated response includes these headers:

Header Description
Current-Page The current returned page
Page-Limit The maximum number of items per page (default: 20)
Total-Pages The total number of pages
Total-Count The total number of items
Link Navigation links in RFC 5988 format, with first, last, next, and prev relations

Requesting a page beyond the last page returns 200 OK with an empty rooms array rather than an error.

Worked example

curl -i "https://acme.meetone.io/api/rooms?page=2" \
  -H "Authorization: Bearer $MEETONE_API_TOKEN"
HTTP/1.1 200 OK
Current-Page: 2
Page-Limit: 20
Total-Pages: 5
Total-Count: 97
Link: <https://acme.meetone.io/api/rooms?page=1>; rel="first", <https://acme.meetone.io/api/rooms?page=5>; rel="last", <https://acme.meetone.io/api/rooms?page=3>; rel="next", <https://acme.meetone.io/api/rooms?page=1>; rel="prev"

{
  "rooms": [ ... ]
}

Follow the next and prev links from the Link header instead of incrementing the page parameter yourself. It keeps your integration working even if the pagination scheme changes.

Questions? Contact us at support@meetone.io.