ESTAGE Support
IdeasMy tickets

Update a message

Permission messages:writeRate limit writesIdempotent with Idempotency-Key

Send only the fields to change. Publishes at once: the next send of a broadcast or automation step uses the edited version. The channel cannot change; fields of the other channel are ignored (body_html, subject and preheader on a text message, body_text on an email). A renamed message whose new name is taken gets a numeric suffix.

PATCHhttps://api.estage.com/v1/messages/{id}

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired

Body

application/json
namestring≤ 255 chars
subjectstring≤ 255 chars
preheaderstringnullable≤ 255 chars
body_htmlstring
body_textstring≤ 1600 chars

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
curl --request PATCH \
  --url 'https://api.estage.com/v1/messages/message-id' \
  --header 'ESTAGE-API-Key: est_live_your-api-key' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: your-unique-key' \
  --data '{ "subject": "Welcome aboard, {{first_name|there}}", "preheader": "Start here" }'
OK
{
  "data": {
    "id": 311,
    "name": "Welcome email",
    "channel": "email",
    "type": null,
    "status": "public",
    "subject": "Welcome aboard, {{first_name|there}}",
    "preheader": "Start here",
    "created_at": "2026-11-02T10:15:00Z",
    "updated_at": "2026-11-13T09:02:44Z",
    "body_html": "<p>Hi {{first_name|there}},</p><p>Thanks for joining Studio Nova.</p><p><a href=\"{{unsubscribe_url}}\">Unsubscribe</a></p>",
    "body_text": null
  }
}
Example. Errors are { error: { code, message, details } }.