Gamma API

Get my notification preferences

GET
/api/account/notifications

Defaults until first saved.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Response Body

OK.

application/json
  1. response
timeZone*|

The IANA time zone digests are scheduled in; null falls back to the project's.

marketingEmails*boolean

Consent to marketing email. Stored only; none is sent yet.

securityCode*|

A phrase of the user's own, printed in every email sent to them, so a message without it is recognisably not from us. Null for none.

Example Request
curl -X GET 'http://localhost:3000/api/account/notifications'
Example Response
{  "timeZone": "string",  "marketingEmails": true,  "securityCode": "string"}