Clone Gallery Template
Copy a gallery template into this workspace.
POST
https://api.foxreach.io/ 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#
slugstringpathrequiredThe share slug from the gallery link.
Response#
Returns the new template with a 201 status code.
dataobjectShow data
idstringTemplate identifier.
namestringName, ending in
(Copy).subjectstringSubject line.
bodystringBody.
categorystringTemplate type.
sendAsHtmlbooleanWhether the body is sent as HTML.
createdAtstringISO 8601 timestamp.
updatedAtstringISO 8601 timestamp.
Errors#
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: write |
404 | Template 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
writecall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(write). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.
Was this page helpful?
View as MarkdownLast updated November 4, 2026