API Authentication
The authentication is super simple, after creating an API Key, every time you make a request to RenderPDF.io, add your API Key to Authorization: Bearer {token}
header.
CURL example:
curl -XPOST -H 'Authorization: Bearer YOUR_API_KEY' \
-H "Content-type: application/json" \
'https://renderpdf.io/api/pdfs/render-sync'
Available Error Responses
401
MISSING_API_KEY
when you don't specify the API Key in the Authorization Header.INVALID_API_KEY
when using an invalid API Key
400
withINVALID_SUBSCRIPTION
: when your account has an invalid subscription.Please contact us if you encounter this case.
Last updated