Docupilot
HomeLoginSignup
  • Docupilot Help Documentation
  • Getting Started
  • Building Templates
    • Tokens (Merge Field)
    • Document Builder
    • AI-Powered Template Builder
    • Word Document (DOCX) & PowerPoint (PPTX)
    • Excel (XLSX)
    • Fillable PDF
    • Template Preferences
    • Formatting Your Data
    • Numerical Calculations
    • Advanced usage
  • Test your document template
  • Deliveries
    • Email
    • Webhook
    • Dropbox
    • Google Drive
    • One Drive
    • DropboxSign (formerly Hellosign)
    • DocuSign
    • SignNow
    • Xodo sign (formerly Eversign)
    • Signable
    • Yousign
    • Amazon S3
    • SFTP
  • Create document
    • Data Capture Form
    • API & Webhook Integration
    • Bulk Create
    • Integrate with Zapier
    • Integrate with Make
    • Integrate with Zoho Flow
    • Integrate with Integrately
  • Integrations
    • Google Forms
    • Google Sheets
    • Airtable Extension
    • Docupilot Add in for Microsoft Word
  • Collaborating with multiple users
    • Invite users
    • Manage & delete users
  • Reports
  • Settings
    • Workspace
    • API Settings
    • Manage Subscription
    • Linked Accounts
  • Folders & Templates management
    • Manage Folders
    • Manage Templates
    • Share Templates & Folders
  • Profile & Account Security
  • Frequently Asked Questions (FAQs)
  • Developers
    • API Overview
    • Templates API
    • Folders API
  • Updates
    • Scheduled Downtime Notification
Powered by GitBook
On this page
  • Introduction
  • V2 API Authentication
  • V1 API Introduction (Deprecated)
  • Deprecation notice of V1 APIs❗️
  • Authentication

Was this helpful?

  1. Developers

API Overview

PreviousFrequently Asked Questions (FAQs)NextTemplates API

Last updated 10 months ago

Was this helpful?

Introduction

Docupilot API allows you to perform most of the operations that you do with our web application. Our APIs are designed based on HTTP REST Architectural pattern and follow OpenAPI Specification.

Interactive documentation of Docupilot's V2 APIs is available at

V2 API Authentication

APIs can be accessed using a combination of API Key and Secret created from your API Settings section.

  1. Go to Settings > API Settings to create a new API key.

  2. Copy the Key & Secret - download the copy if needed. The secret cannot be retrieved again.

  3. base64 encoded value of key:secret will be your API key

Use the following command to base64 encode your key:secret

// create the base64 encoded string
echo -n YOUR_API_KEY:YOUR_API_SECRET | base64

Use the following curl command to make an API request using the base64 encoded string generated from previous step.

// making an API request
curl -X GET \
  https://api.docupilot.app/accounts/v2/users/me/ \
  -H 'Authorization: Bearer <Base64 encoded API credentials>'

X-Workspace Header

The X-Workspace header is required to be sent for all the APIs that interact with your Workspace (ex: Templates, etc). This header holds the ID of your workspace for which the request is being made.

You can locate your Workspace ID on the Workspace details page. Navigate to the Dashboard and click on the Settings icon in the left side menu to access the Workspace details page.

V1 API Introduction (Deprecated)

Deprecation notice of V1 APIs❗️

The V1 version of APIs are deprecated and new version, v2, APIs are launched with support for more features. V1 APIs will be deprecated in future and are discouraged from being used.

Authentication

All V1 APIs need to be authenticated using an API Key.

Example
curl -X GET \
  https://api.docupilot.app/api/v1/templates \
  -H 'apikey: YOUR_API_KEY'

You can generate your API Key here . You will need to add an apikey header while making an API request.

https://dashboard.docupilot.app/api-docs/swagger-ui/
https://dashboard.docupilot.app/settings/api
Workspace ID