Template
List index templates
Changed onRetrieve a list of index templates with optional filtering by aspect ratio.
get/v2/templates
Request
- Base URLhttps://api.jogg.ai
- URLhttps://api.jogg.ai/v2/templates
- AuthAPI key in header x-api-key
Query parameters
aspect_ratio'portrait' | 'landscape' | 'square'
Example:portrait
Screen aspect ratio filter:
- portrait - Portrait [9:16]
- landscape - Landscape [16:9]
- square - Square [1:1]
Response
Success
Example response
{
"msg": "Success",
"data": {
"templates": [
{
"id": 123,
"name": "Product Showcase",
"cover_url": "https://res.jogg.ai/template-cover.jpg",
"preview_url": "https://res.jogg.ai/template-preview.mp4",
"aspect_ratio": 1
}
]
}
}Changes
- info
endpoint added
- info