Skip to content

Clone Gallery Template

Copy a gallery template into this workspace.

POST/api/v1/templates/clone/{slug}

Requires an API key with the write scope.

The copy is named <name> (Copy) and keeps the subject, body, type and HTML setting. A template that is published but not yet approved can only be cloned by the workspace that owns it.

Path Parameters#

slugstringpathrequired
The share slug from the gallery link.

Response#

Returns the new template with a 201 status code.

dataobject
Show data
idstring
Template identifier.
namestring
Name, ending in (Copy).
subjectstring
Subject line.
bodystring
Body.
categorystring
Template type.
sendAsHtmlboolean
Whether the body is sent as HTML.
createdAtstring
ISO 8601 timestamp.
updatedAtstring
ISO 8601 timestamp.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: write
404Template not found: no published template has that slug, or it is not approved and belongs to another workspace

Rate Limit#

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 4, 2026