Get Template Sharing
Get the public sharing state, links and stats for a studio template
Overview#
Returns the current public sharing state of a studio template, including the public link, embed link, ready-to-paste embed code, and view/copy stats. These are the same links you see in the studio's Share dialog.
https://api.orshot.com/v1/studio/templates/:templateId/sharePath Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
templateId | Integer | Yes | The unique ID of the studio template |
Request#
await fetch("https://api.orshot.com/v1/studio/templates/123/share", {
method: "GET",
headers: {
Authorization: "Bearer <ORSHOT_API_KEY>",
},
});When sharing is disabled, enabled is false and the link fields are null.
Response Fields#
| Field | Type | Description |
|---|---|---|
enabled | Boolean | Whether public sharing is on |
allow_duplication | Boolean | Whether visitors can save a copy of the template to their workspace |
share_url | String | Public preview link (null when sharing is off) |
embed_url | String | Embeddable page link (null when sharing is off) |
embed_code | String | Ready-to-paste iframe snippet (null when sharing is off) |
stats.views | Integer | How many times the public page was viewed |
stats.copies | Integer | How many times the template was duplicated from the public page |
created_at | String | When sharing was first enabled |
Error Responses#
Template Not Found (404)#
{
"error": "Studio template with ID '123' not found in your workspace"
}Unauthorized (403)#
{
"error": "Access Forbidden: Invalid API Key"
}Rate Limits#
- 30 requests per minute per API key
Ready to automate?
Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.
Get your API key- Image, PDF and video generation via API
- Visual editor with AI and smart layouts
- Zapier, Make, MCP and 50+ integrations
- White-label embed for your own app
- 30 free credits — no credit card required