Easymailing
Subscription forms

Publish a subscription form

PUT /subscription_forms/{uuid}/actions/publish

PUT/subscription_forms/{uuid}/actions/publish

Makes the form live: from now on it is shown wherever its code is installed and on its public link, and it starts capturing people. Publishing again after editing replaces the live version with the current one.

When to use: When the form has a design (or the template to generate it from) and its settings are ready and the person wants it to start capturing sign-ups, or to push later changes live (pending_changes is true).

When not to use: To take a live form offline for a while use pause_subscription_form; to bring a paused form back as it was use resume_subscription_form. A form with status form.status.draft has no design yet: publishing generates it from the template the form was created with, and answers design_required only when it cannot. For a classic form use publish_form.

Side effects: Real people can start signing up. With double opt-in, each sign-up sends a confirmation email (or SMS) to the person. A form still without design gets it generated from its template first. It freezes an immutable version of the form and makes it live, and a paused form is not resumed by this: use resume_subscription_form. The installed code and the public link do not change. Publishing needs an active default SMS sender in the audience when the form asks for double opt-in by SMS; without one the request is refused with sms_sender_missing and nothing is published.

Permissions: Requires the manager role or higher, or the marketing.forms_landings.write capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the form. Get it from list_subscription_forms.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://api.easymailing.com/subscription_forms/3f1c7a52-8d4e-4b0a-9c61-2e5a7d9b1f08/actions/publish" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "@id": "/subscription_forms/3f1c7a52-8d4e-4b0a-9c61-2e5a7d9b1f08",  "uuid": "3f1c7a52-8d4e-4b0a-9c61-2e5a7d9b1f08",  "title": "Newsletter sign-up",  "audience": "/audiences/0df14405-90ff-4287-b3e4-ef088901ee6f",  "type": "embedded",  "channels": [    "email"  ],  "status": "form.status.published",  "generation": "current",  "converted_at": null,  "subscriber_count": 128,  "created_at": "2026-11-02T09:15:00+01:00",  "updated_at": "2026-11-11T10:02:00+01:00",  "locale": "en",  "email_double_opt_in": true,  "sms_double_opt_in": false,  "consent_mode": "all_required",  "purposes": [    {      "uuid": "a41c7f02-1b3d-4e5a-9f60-7c8d9e0f1a2b",      "name": "Marketing emails"    }  ],  "available_purposes": [    {      "uuid": "a41c7f02-1b3d-4e5a-9f60-7c8d9e0f1a2b",      "name": "Marketing emails"    }  ],  "groups": [    "/audiences/0df14405-90ff-4287-b3e4-ef088901ee6f/groups/9b2e4a10-6d57-4f7b-8c0e-1a3b5c7d9e21"  ],  "welcome_email_enabled": true,  "crm_data_policy": {    "contact": "fill_empty",    "company": "fill_empty"  },  "popup_behavior": null,  "pending_changes": false,  "share_url": "https://acme.easymailing.cloud/app/public/f/s/CB8vQHYrr54mPUJbfpXHV7"}