Easymailing
Subscription forms

Update a subscription form

PUT /subscription_forms/{uuid}

PUT/subscription_forms/{uuid}

Changes the settings of a Customer App form: name, language, groups the people are added to, double opt-in, consent, welcome email and what the form does with existing CRM data. Send only what you want to change.

When to use: To rename a form, add its sign-ups to groups, turn double opt-in or the welcome email on or off, choose whether visitors must accept every consent purpose or at least one, or change how it treats data of people and companies already in the CRM.

When not to use: Audience, type and channels cannot be changed after creation. The design (fields, texts, colors, layout) is edited in the Customer App editor. Popup triggers use update_subscription_form_popup_behavior. To make a published form live with the change use publish_subscription_form. Classic forms use update_embedded_form or update_popup_form. The consent purposes a form shows are chosen by a person in the Customer App: the API only reads them (purposes of get_subscription_form).

Side effects: On a published form, a change can only reach visitors after publish_subscription_form: until then pending_changes is true and visitors still see the previous version. Double opt-in cannot be turned off where the account requires it: the value stays true. The settings, the consent and the welcome email are saved one after the other, so if a later part is rejected the earlier ones stay saved: read the form again to see what applied.

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

Request Body

The updated SubscriptionForm resource

TypeScript Definitions

Use the request body type in TypeScript.

Subscription forms of the Customer App ("current generation") in the public API (plan 4, Task 4a: the two reads; Task 5a: create, update and popup behavior; Task 5b: duplicate, convert and delete). The texts are the approved contract's (trabajo/2026-11-11-maia-customer-app/formularios-propuesta/subscription-forms.json).

Published since the unveil (branch feature/api-formularios-destape, after the QA of MKT-010): the operations were built hidden with deprecated: true (decision D4) and now appear in the specification, the snapshot and the MCP. SubscriptionFormsApprovedContractTest compares them with the approved contract. Each operation declares the whole example of its response (DocumentationOverride::RESPONSE_EXAMPLE): the schema is shared and its property examples cannot vary per operation.

subscription_form:list is the summary every item of the list has; subscription_form:read adds the settings only get_subscription_form returns.

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" \  -H "X-Auth-Token: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "locale": "string",    "groups": [      "string"    ],    "email_double_opt_in": true,    "sms_double_opt_in": true,    "consent_mode": "all_required",    "welcome_email_enabled": true,    "crm_data_policy": {      "contact": "fill_empty",      "company": "fill_empty"    }  }'
{  "@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-10T10:05: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": true,  "share_url": "https://acme.easymailing.cloud/app/public/f/s/CB8vQHYrr54mPUJbfpXHV7"}