POST
/
email_templates
/
{id}
/
copy_one_off
curl --request POST \
  --url https://api.pocketflows.com/email_templates/{id}/copy_one_off \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "name": "<string>",
  "subject": "<string>",
  "body": "<string>",
  "template_json": "<any>",
  "template_html": "<string>",
  "attachments": [
    {
      "content": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the email template to copy

Response

200 - application/json

The copied EmailTemplate object. As a one-off, it will not be return from GET /businesses/:id/email_templates

The response is of type object.