Templates API
List your reformat templates through the Levercast API.
List Templates
GET /api/v1/templatesReturns all templates for the authenticated user.
Response:
{
"data": [
{
"id": "uuid",
"name": "Professional",
"isDefault": true,
"linkedInPrompt": "Professional tone, thought leadership...",
"xPrompt": "Concise and punchy...",
"circlePrompt": "Community-friendly...",
"instagramPrompt": "Engaging storytelling...",
"createdAt": "2025-01-15T10:30:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
}
]
}Template Fields
| Field | Type | Description |
|---|---|---|
id | uuid | Unique identifier |
name | string | Display name |
isDefault | boolean | Whether this is the user's default template |
linkedInPrompt | string | null | Custom prompt for LinkedIn reformatting |
xPrompt | string | null | Custom prompt for X reformatting |
circlePrompt | string | null | Custom prompt for Circle reformatting |
instagramPrompt | string | null | Custom prompt for Instagram reformatting |
Null prompt fields indicate that the platform uses the built-in default prompt during reformatting.