Skip to main content
POST
/
v1
/
account.subscribeEmail
Subscribe to email notifications
curl --request POST \
  --url https://api.steamsets.com/v1/account.subscribeEmail \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "steamsets@example.com",
  "subscribed": true
}'
This response does not have an example.
This endpoint is not intended for public use and requires user authentication

Authentication Required

This endpoint requires an active user session and cannot be accessed via API keys. It’s designed for authenticated user interactions within the web application.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Forwarded-For
string

Body

application/json
subscribed
boolean
required

Whether the account wants to be subscribed to the newsletter

Examples:

true

email
string<email> | null

The email address to subscribe to the newsletter (only for the landing page)

Examples:

"steamsets@example.com"

Response

No Content