Making your first API call _ PDFMonkey
Making your first API call _ PDFMonkey
PDFMonkey Documentation
Start your API journey with PDFMonkey! Learn how to make an API
From zero to generating
your first Document call and generate PDFs instantly. Sign up to PDFMonkey today to
get started!
Generating your first
Document with Zapier
The first step is to get your API Secret Key. To do so, head to the My
Account page. You can access it using the top-left menu in the dashboard.
Share links
Authorization: Bearer YOUR_API_SECRET_KEY
Synchronous generation
Snippets
Webhooks
To test that you can successfully connect to the API, try making the
Troubleshooting following request:
What can you do with PDFMonkey?
1 of 3 12/6/24, 16:12
GET https://api.pdfmonkey.io/api/v1/current_user
Authorization: Bearer YOUR_API_SECRET_KEY
Using the curl command the request would look like this:
curl "https://api.pdfmonkey.io/api/v1/current_user" \
-H "Authorization: Bearer YOUR_API_SECRET_KEY"
{
"current_user": {
"id": "12345678-90ab-cdef-1234-567890abcdef",
"auth_token": "1234567890ABCDEF1234",
"available_documents": 300,
"created_at": "2022-01-01T12:34:56.123+00:00",
"current_plan": "free",
"current_plan_interval": "month",
"desired_name": "Jane Doe",
"email": "[email protected]",
"lang": "en",
"paying_customer": false,
"trial_ends_on": "2022-01-15",
"updated_at": "2022-01-01T12:34:56.123+00:00",
"block_resources": true,
"share_links": false
}
}
2 of 3 12/6/24, 16:12
Once you made your first API call, you're ready to take it to the next level
and try generating your first Document!
Previous
Next
Generating your first
14-day Pro trial
Document with Make
3 of 3 12/6/24, 16:12