Generate a PDF from an article URL
cURL
curl --request POST \ --url https://api.peelapi.com/v1/article-to-pdf \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "style": "minimal", "branding_logo": "<string>" } '
{ "data": { "job_id": "job_123", "links": { "self": "/v1/jobs/job_123", "stream": "/v1/jobs/job_123/stream" } }, "errors": "<unknown>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Must be a valid URL
classic
minimal
Job accepted
Show child attributes
"job_123"
"/v1/jobs/job_123"
"/v1/jobs/job_123/stream"