Get Template by ID
Video Templates
Get Template by ID
Retrieve detailed information about a specific video template using its unique identifier
GET
Get Template by ID
Documentation Index
Fetch the complete documentation index at: https://docs.pictory.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Retrieve comprehensive details about a specific video template using its unique identifier. This endpoint returns the complete template configuration, including scene structure, variables, voice-over settings, background music, and S3 storage URLs for project files.You need a valid API key to use this endpoint. Get your API key from the API Access page in your Pictory dashboard.
API Endpoint
Request Parameters
Path Parameters
The unique identifier of the template to retrieveExample:
202512230204424435786014d42904bbc95813430789fe736Headers
API key for authentication (starts with
pictai_)Response
The response contains detailed template information including configuration, scenes, variables, and media settings.Unique identifier for the template
Name of the template
Language code of the template (e.g.,
en for English)Indicates whether the template is published and available for use
Indicates whether the template has been deprecated (note: API uses “depricated” spelling)
Background music configuration
Voice-over configuration
Array of scene objects that define the template structure
Template variables that can be customized when creating videos from this template. Keys are variable names, values are default values or placeholders.Example:
{"Name": "NAME", "Company": "COMPANY_NAME"}Template schema version (e.g.,
v2, v3)S3 URL to the complete project template JSON file
S3 URL to the project template structure JSON file
Response Examples
Code Examples
Usage Notes
Template Variables: The
variables object shows all customizable placeholders in the template. These can be replaced with actual values when creating videos from the template.S3 URLs: The
project and structure URLs point to S3 storage containing the complete template configuration and structure data.Common Use Cases
1. Retrieve Template Details
Get complete information about a specific template:2. Extract Template Variables
Identify all customizable variables in a template:3. Analyze Template Structure
Analyze and report on template structure:4. Compare Template Versions
Compare two template versions:5. Download Template Configuration
Download and save complete template configuration:6. Validate Template Before Use
Validate template configuration before creating videos:Best Practices
Template Inspection
- Retrieve Before Update: Always fetch the template details before updating to understand the current structure
- Validate Configuration: Check that the template is published and not deprecated before using it
- Understand Variables: Review all variables and their default values before creating videos
- Check Schema Version: Be aware of the schema version as it affects available features
Performance Tips
- Cache template details locally to reduce API calls
- Only fetch template details when needed (e.g., before creating videos or updating)
- Use the template list endpoint to get basic info, then fetch details only for selected templates
- Store frequently used template configurations locally
Related Endpoints
- Get Templates - List all available templates
- Update Template - Modify template configuration
- Create Template - Create a new template
