Get All Studio Templates

Retrieve studio templates from your workspace with pagination

Updated

GET
/v1/studio/templates/all
curl -X GET "https://api.orshot.com/v1/studio/templates/all?page=10&limit=10&search=<SEARCH>" \
  -H "Authorization: Bearer <ORSHOT_API_KEY>"

List all studio templates in your workspace with pagination support.

Endpoint#

GET /templates/all#

Returns templates with pagination support.

Endpoint
https://api.orshot.com/v1/studio/templates/all?page=1&limit=10

Query Parameters#

ParameterTypeRequiredDefaultDescription
pageIntegerNo1Page number (must be > 0)
limitIntegerNo10Templates per page (max: 40, must be > 0)
searchStringNo-Filter templates by name (case-insensitive substring match, server-side)
tagsStringNo-Comma-separated list of tags. Returns templates that have all of the specified tags
embedIdStringNo*-Embed instance ID (for user-specific filtering)
embedUserIdStringNo*-User ID to filter templates for a specific user

*Both embedId and embedUserId are required together for user-specific filtering.

Request Example#

JavaScript
await fetch("https://api.orshot.com/v1/studio/templates/all?page=1&limit=10", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
});

Filtering by Search and Tags#

You can filter templates by name and tags:

JavaScript
// Search by name and filter by tags
await fetch(
  "https://api.orshot.com/v1/studio/templates/all?search=banner&tags=social,marketing&page=1&limit=10",
  {
    method: "GET",
    headers: {
      "Content-Type": "application/json",
      Authorization: "Bearer <ORSHOT_API_KEY>",
    },
  },
);
  • search performs a case-insensitive substring match on the template name.
  • tags is a comma-separated list — only templates that contain all specified tags are returned.

Filtering by Embed User#

To retrieve templates for a specific embed user, pass both embedId and embedUserId:

JavaScript
await fetch(
  "https://api.orshot.com/v1/studio/templates/all?embedId=YOUR_EMBED_ID&embedUserId=user_123&page=1&limit=10",
  {
    method: "GET",
    headers: {
      "Content-Type": "application/json",
      Authorization: "Bearer <ORSHOT_API_KEY>",
    },
  },
);

This returns only templates belonging to the specified user. Without these parameters, the endpoint returns all workspace templates (including user-specific ones).

Response Example#

JSON
{
  "data": [
    {
      "id": 123,
      "created_at": "2025-09-10T15:30:45.123Z",
      "workspace_id": 890,
      "canvas_width": 1200,
      "canvas_height": 630,
      "updated_at": "2025-10-15T10:20:30.456Z",
      "name": "Social Media Post",
      "description": "Template for social media posts",
      "tags": ["social", "marketing"],
      "thumbnail_url": "https://storage.orshot.com/thumbnails/template-123.png",
      "embed_user_id": null,
      "pages_data": [
        {
          "page_id": "a1b2c3d4-5e6f-7890-abcd-ef1234567890",
          "name": "Page 1",
          "thumbnail_url": "https://storage.orshot.com/thumbnails/page-1.png",
          "video_thumbnail_url": null,
          "has_motion": false
        }
      ],
      "modifications": [
        {
          "key": "title",
          "id": "title",
          "type": "text",
          "description": "Heading — Text content",
          "help_text": "Heading — Text content",
          "element_name": "Heading",
          "example": "Hello World",
          "page_number": 1,
          "page_id": "a1b2c3d4-5e6f-7890-abcd-ef1234567890"
        }
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "totalTemplates": 45,
    "totalPages": 5
  }
}

Pagination Response Fields#

FieldTypeDescription
pageIntegerCurrent page number
limitIntegerNumber of templates per page
totalTemplatesIntegerTotal number of templates
totalPagesIntegerTotal number of available pages

Template Response Fields#

FieldTypeDescription
idIntegerUnique identifier for the template
created_atStringTimestamp when the template was created
workspace_idIntegerID of the workspace the template belongs to
canvas_widthNumberWidth of the template canvas in pixels
canvas_heightNumberHeight of the template canvas in pixels
updated_atStringTimestamp when the template was last updated
nameStringName of the template
descriptionStringDescription of the template
tagsArrayArray of tag strings assigned to the template
thumbnail_urlStringURL to the template's thumbnail image
embed_user_idStringInternal ID of the embed user (null for workspace templates)
pages_dataArrayArray of pages (for multi-page templates)
modificationsArrayArray of available modifications for parameters

Modification Fields#

Each modification object contains:

FieldTypeDescription
keyStringUnique key for the modification. For multi-page templates this is prefixed, e.g. page1@title
idStringSame as key
typeStringType of modification (text, voiceText, imageUrl, videoUrl, backgroundColor, fill, color, stroke)
descriptionStringHuman-readable description, e.g. "Heading — Text content" or "Image URL" when no element name is set
help_textStringSame as description
element_nameStringLayer name of the element in the editor (only present when the element has a name)
exampleStringDefault/example value for the field
page_numberInteger1-based page number this modification belongs to
page_idStringStable id of the page this modification belongs to — use this to reliably map modifications to pages after reorder

Page Fields#

Each entry in pages_data contains:

FieldTypeDescription
page_idStringStable id of the page
nameStringDisplay name of the page
thumbnail_urlStringURL to the thumbnail image of the page
video_thumbnail_urlString|nullAnimated preview of the page, for pages with motion
has_motionBooleanWhether the page has animation

Rate Limits#

This endpoint is rate limited to 30 requests per minute per API key. The studio template, folder and sharing endpoints share this budget. Rate limit headers are included in every response:

HeaderDescription
RateLimit-LimitMaximum requests per minute
RateLimit-RemainingRemaining requests in the current window
RateLimit-ResetSeconds until the rate limit window resets
Retry-AfterSeconds to wait (only on 429 responses)

Error Responses#

CodeDescription
400Invalid page/limit parameters
401Invalid or expired OAuth token
403Missing or invalid API key

An empty result returns HTTP 200 with "data": [] and a normal pagination block.

Was this page helpful?

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 40+ integrations
  • White-label embed for your own app
  • 100 free credits a month, no credit card required