Endpoints
List available themes
Returns the theme catalog for POST /v1/render: every design preset with its slug (pass it in the theme field), category, a “use it when” tagline, and an isDefault flag for the base theme applied when theme is omitted or unknown. Theme fonts are bundled (hosted), so a theme renders identically without any network dependency; your own font selection (fontStack / googleFontsUrl(s) / typography) still overrides a theme font. Themes are identical on every plan. Cacheable via a version-keyed ETag.
GET
/
v1
/
themes
List available themes
curl --request GET \
--url https://api.blinkpdf.io/v1/themesimport requests
url = "https://api.blinkpdf.io/v1/themes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.blinkpdf.io/v1/themes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blinkpdf.io/v1/themes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.blinkpdf.io/v1/themes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.blinkpdf.io/v1/themes")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blinkpdf.io/v1/themes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"version": "<string>",
"default": "<string>",
"themes": [
{
"slug": "<string>",
"category": "report",
"useWhen": "<string>",
"isDefault": true
}
]
}{
"error": "method_not_allowed"
}Response
The theme catalog.
The public theme catalog: each design preset with its category, "use it when" tagline, and default flag. Theme fonts are bundled (hosted); your own font selection still overrides a theme. Themes are identical on every plan.
⌘I
List available themes
curl --request GET \
--url https://api.blinkpdf.io/v1/themesimport requests
url = "https://api.blinkpdf.io/v1/themes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.blinkpdf.io/v1/themes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blinkpdf.io/v1/themes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.blinkpdf.io/v1/themes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.blinkpdf.io/v1/themes")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blinkpdf.io/v1/themes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"version": "<string>",
"default": "<string>",
"themes": [
{
"slug": "<string>",
"category": "report",
"useWhen": "<string>",
"isDefault": true
}
]
}{
"error": "method_not_allowed"
}