POST
/
email_subscriptions
Create subscription
curl --request POST \
  --url https://{your-workspace}.neetopublish.com/api/v1/email_subscriptions \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "subscription": {
    "email": "jsmith@example.com"
  }
}'
{
  "message": "<string>"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Body

application/json
subscription
object

Response

200 - application/json

OK - Request succeeded

message
string