Copy Email

Copies the source email under the userId specified in the request body and returns the complete newly created email.

Validation and behavior:

  • userId is required, must not exceed 255 characters, and must match ^[A-Za-z0-9_-]+$.
  • userId must resolve to the owner of the source email under the current application. This endpoint does not create an end user.
  • name is optional and must not exceed 64 characters. When omitted, null, empty, or blank, the server uses the source email name plus _copy, truncated to 64 characters when necessary.
  • subject, summary, snapshot, html, settings, extra, component configuration, and source information are copied from the source email and cannot be overridden by this request.
  • The copied email is independent from the source email and receives a new external id.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

Email external ID returned by /resource/email. Clients must use the returned slug. Values that cannot be resolved return 404 emailNotFound.

Body Params
string
required
length between 1 and 255
^[A-Za-z0-9_-]+$

Required caller-provided end-user ID. It must identify the owner of the source email.

string | null

Optional new email name. Omitted, null, empty, or blank values use the source name plus _copy, truncated to 64 characters when necessary.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json