cURL
curl --request POST \ --url https://api.steamsets.com/v1/account.subscribeEmail \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "subscribed": true, "email": "[email protected]" } '
{ "$schema": "<string>", "detail": "<string>", "errors": [ { "location": "<string>", "message": "<string>", "value": "<unknown>" } ], "instance": "<string>", "status": 123, "title": "<string>", "type": "about:blank" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Whether the account wants to be subscribed to the newsletter
The email address to subscribe to the newsletter (only for the landing page)
No Content