Base URL
All Runtime API calls are made to:pdf.pitchprint.com for PDFs and png.pitchprint.com (or jpeg) for raster images.
Authentication
Every/runtime/ request is authenticated with a signature, which is the MD5 hash of your API Key, Secret Key and a UNIX timestamp:
apiKey, timestamp and signature with each request, never the Secret Key itself. See Authentication for the full walkthrough and code samples.
Request format
- Send parameters as a JSON body (not query-string pairs) with
Content-Type: application/json. - Requests are POST, except file rendering which is GET.
- The
timestampis valid for a one-hour window. Generate a fresh signature for each call.
Responses
Successful calls return a JSON object with adata field:
Where to next
Integrating PitchPrint
Generate your keys, load the app into your page and handle saved projects.
Designer API
Hook into the editor with methods, properties and events.
Runtime API
Load designs, projects and render PDFs server-side.