ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiNewsletter

Add a subscriber manually (admin)

POST
/api/v1/newsletter/subscribers

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body
email*string

Email address to subscribe

firstName?string

First name (optional)

lastName?string

Last name (optional)

Response Body

Subscriber added successfully

Example Request
curl -X POST 'http://localhost:3001/api/v1/newsletter/subscribers' \  -H 'Content-Type: application/json' \  -d '{  "email": "john.doe@example.com"}'
Example Response
Empty