AerScheduler

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.

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_TOKEN"
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_TOKEN"
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_TOKEN" \
  -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_TOKEN"