Layerbeat

Read your workspace email preferences

GET
/v1/notifications/preferences

Returns your email preferences for the current workspace.

Access: User session. API keys aren't supported.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.

Response Body

The signed-in user’s notification settings or delivery history.

application/json
  1. response
org_id*string
vps_updates*boolean
billing_updates*boolean
service_updates*boolean
product_updates*boolean
curl -X GET 'https://layerbeat.com/v1/notifications/preferences'
{  "org_id": "org_demo",  "vps_updates": true,  "billing_updates": true,  "service_updates": true,  "product_updates": false}