Skip to main content
POST
/
api
/
v1
/
newsletter
/
subscribe
Subscribe
curl --request POST \
  --url https://api.example.com/api/v1/newsletter/subscribe \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "marketing_consent": true
}
'
{
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
email
string<email>
required

User must explicitly consent to marketing emails

Response

Successful Response

message
string
required