Notifications

Per-member in-app notifications.

4 endpoints · base URL https://api.aerscheduler.com

get/notifications

List your notifications

Your own in-app notifications.

Query parameters

qstringFree-text filter. Matches the fields a person would search on.
status"unread" | "read" | "all"Filter by read state. Defaults to all.
limitintegerRows to return, 1,1000. Defaults to 1000; a larger value is clamped rather than rejected.
offsetintegerRows to skip, for paging. Defaults to 0.
sortstringField to order by before paging, as a dot path into the row , total, user.firstName. Omit to keep the endpoint's own order. Numbers and ISO timestamps order as numbers and instants, not as text, and empty values always sort last regardless of direction. Ordering happens before the page is cut, so it orders the whole collection rather than the page you are holding.
order"asc" | "desc"asc (default) or desc. Only meaningful with sort.

Responses

200OKThe notifications.{ data: Notification[] }
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/notifications \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
post/notifications

Clear all your notifications

Removes every notification for the signed-in member. A POST rather than a DELETE for historical reasons.

Responses

204No ContentSuccess. No body.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X POST https://api.aerscheduler.com/notifications \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
patch/notifications

Register a push device token

Despite the path, this does not update notifications , it registers a device for push. A separate concern that shares the route for historical reasons.

Request body

The device token.

tokenrequiredstring

Responses

200OKRegistered.
400Bad RequestNo token supplied.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X PATCH https://api.aerscheduler.com/notifications \
  -H "Authorization: Bearer $AERSCHEDULER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token":"…"}'
post/notifications/{notificationId}

Mark a notification read

A POST rather than a PATCH for historical reasons.

Path parameters

notificationIdrequiredintegerThe notification id.

Responses

204No ContentSuccess. No body.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenThat notification is not yours.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X POST https://api.aerscheduler.com/notifications/:notificationId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"