Skip to content

(POST-V1) The caller's per-type channel preferences.

GET
/notifications/preferences
curl --request GET \
--url https://api.gospl.example/v1/notifications/preferences \
--header 'Authorization: Bearer <token>'

POST-V1 — v1 has no opt-out; all types mandatory. Documented for future.

OK

Media type application/json
Array<object>
object
type
required

Seed registry; grows per feature. See spec §2.

string
Allowed values: weekly_summary.submitted weekly_summary.response weekly_summary.reminder weekly_summary.monday_digest weekly_goals.non_setter
channels
required
Array<string>
Allowed values: in_app email
mandatory

Read-only hint — if true, channels cannot be fully disabled.

boolean
Example
[
{
"type": "weekly_summary.submitted",
"channels": [
"in_app"
]
}
]

Missing/invalid credentials.

Media type application/json
object
code
required
string
message
required
string
Example generated
{
"code": "example",
"message": "example"
}