POST
/api/v1/storefront/projects/{project_slug}/subscribePublic Subscribe
| Name | Type | In | Description |
|---|---|---|---|
| project_slug | string | path | Required. |
| Field | Type | Description | |
|---|---|---|---|
| string<email> | required | — | |
| name | string (nullable) | optional | — |
| source | string (nullable) | optional | — |
| Field | Type | Description | |
|---|---|---|---|
| id | string | required | — |
| project_id | string | required | — |
| string<email> | required | — | |
| name | string (nullable) | optional | — |
| status | SubscriberStatus | required | Newsletter subscriber lifecycle. |
| source | string (nullable) | optional | — |
| subscribed_at | string<date-time> (nullable) | optional | — |
| unsubscribed_at | string<date-time> (nullable) | optional | — |
| created_at | string<date-time> | required | — |
| updated_at | string<date-time> | required | — |
| unsubscribe_token | string (nullable) | optional | — |
curl -X POST "https://api.webtools.ng/api/v1/storefront/projects/your-project/subscribe" \
-H "X-Project-Key: wt_pk_your_key" \
-H "Content-Type: application/json" \
-d '{ "email": "…" }'