Docraptor
Overview
SLUG: DOCRAPTOR
Description
The best and easiest HTML-to-PDF API
Authentication Details
API Key
Connecting to Docraptor
Create an auth config
Use the dashboard to create an auth config for the Docraptor toolkit. This allows you to connect multiple Docraptor accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Docraptor Auth Config”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Docraptor toolkit’s playground
For code examples, see the Tool calling guide and Provider examples.
Tool List
DOCRAPTOR_CREATE_ASYNC_DOC
Tool Name: Create Async Document
Description
Action Parameters
Action Response
DOCRAPTOR_CREATE_DOC
Tool Name: Create Document
Description
Action Parameters
Action Response
DOCRAPTOR_CREATE_DOCUMENT_FROM_REFERRER
Tool Name: Create Document from Referrer
Description
Action Parameters
Action Response
DOCRAPTOR_CREATE_HOSTED_ASYNC_DOC
Tool Name: Create Hosted Async Document
Description
Action Parameters
Action Response
DOCRAPTOR_GET_ASYNC_DOC
Tool Name: Download Async Document
Description
Action Parameters
Action Response
DOCRAPTOR_GET_ASYNC_DOC_STATUS
Tool Name: Get Async Document Status
Description
Action Parameters
Action Response
DOCRAPTOR_LIST_DOCUMENTS_JSON
Tool Name: List Documents (JSON)
Description
Action Parameters
Action Response
DOCRAPTOR_LIST_DOCUMENTS_XML
Tool Name: List Documents (XML)
Description
Action Parameters
Action Response
DOCRAPTOR_LIST_IPS_JSON
Tool Name: List IPs (JSON)
Description
Action Parameters
Action Response
DOCRAPTOR_LIST_IPS_TEXT
Tool Name: List IPs (Text)
Description
Action Parameters
Action Response