SiteSwapDevelopers
API reference: Alerts

Mark a notification read

POSThttps://dev.siteswap.pro/api/v1/notifications/{id}/read

Marks one notification read.

Needs the alerts scope.

Needs an API key or sign-in token in Authorization: Bearer or X-API-Key. Authentication

Path parameters

idstringrequired
The notification

Responses

200OK
400bad_request, key_in_url or invalid_json: the request could not be read
401missing_key or invalid_key: no key, or a key that is not valid or was revoked
403key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
404not_found: nothing here that you may see
413too_large: the body is over 256 KB
429rate_limited or daily_quota: wait for Retry-After seconds

Response fields

idstringrequired
kindstringrequired
What it is about, for example offer or alert
titlestringrequired
bodystringrequired
urlstringrequired
Where it points on SiteSwap
readbooleanrequired
created_atstringrequired
When it was made. ISO 8601 in UTC
SiteSwap API v1Support