SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester

Newsletter

Embed a signup card or subscribe readers from your backend.

Design a signup card in the dashboard, then embed it on your site or add subscribers directly from your own backend. Every card feeds the same subscriber list for your workspace.

Embed the signup card

html
<script src="https://app.softsolz.uk/softsolz.js"
data-public-key="pk_live_your_key"
data-service-id="newsletter"
data-card-slug="your-card-slug"></script>

Subscribe from your server

bash
curl -X POST https://app.softsolz.uk/api/v1/services/newsletter/subscribe \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"email":"reader@example.com","name":"Jane Reader"}'

Adding someone who is already on the list

Both add endpoints are safe to repeat. An address that is already on the list comes back unchanged with created: false: the original consent record is kept and nobody who unsubscribed is subscribed again. Use /subscribe for a new reader (your team gets a notification) and /subscribers to import people you already hold consent for (no notification).

Consent and double opt-in

People who sign up through a signup card store the exact wording they agreed to, the time and the page. People added through the API have no consent wording of their own, so consent_text and consent_at are null. Turn on double opt-in in the dashboard (Newsletter, Subscribers, Consent) and new card sign-ups stay pending until they confirm by email.

Webhooks

Subscribe an endpoint to newsletter.subscriber_added in the Developer tab. It fires when a new reader joins and carries subscriber_id, email, created_at and the source. Check the Softsolz-Signature header before trusting a delivery.

Next

Browse every endpoint in the API Reference, or read the product walkthrough on docs.softsolz.uk.