Get Branded Templates
GET
https://api.slidespeak.co/api/v1/presentation/templates/branded
Returns a list of all processed branded presentation templates, including their id and file name. Use this endpoint to retrieve processed branded templates that can be applied when generating new presentations. The template id later can be used to generate a presentation using one of our generation endpoints.
Headers
Section titled “Headers” Content-Type: string
application/json
X-API-Key: string
The API key to use for the request.
<YOUR_API_KEY>
Code Examples
Section titled “Code Examples”curl -X GET "https://api.slidespeak.co/api/v1/presentation/templates/branded" -H "Content-Type: application/json" -H "x-api-key: YOUR_API_KEY"
fetch('https://api.slidespeak.co/api/v1/presentation/templates/branded', { method: 'GET', headers: { 'Content-Type': 'application/json', 'x-api-key': 'YOUR_API_KEY' }}) .then(response => response.json()) .then(data => { console.log('Templates:', data); }) .catch(error => { console.error('Error:', error); });
import requests
url = "https://api.slidespeak.co/api/v1/presentation/templates/branded"headers = { "Content-Type": "application/json", "x-api-key": "YOUR_API_KEY" }
response = requests.get(url, headers=headers)print(response.json())
<?phprequire 'vendor/autoload.php';
use GuzzleHttpClient;
$client = new Client();
$response = $client->get('https://api.slidespeak.co/api/v1/presentation/templates/branded', [ 'headers' => [ 'Content-Type' => 'application/json', 'x-api-key' => 'YOUR_API_KEY' ]]);
$body = $response->getBody();$data = json_decode($body, true);
print_r($data);
Response
Section titled “Response”[ { "id": "cme19z5c40003vktkvhd5jvfw", "name": "My Template.pptx" }, { "id": "cme1am6ap0005vktk30rtpsaf", "name": "My Template 2.pptx" }, ...]