For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Home
Home
  • Support Hub
      • API Guide
      • Operations using API
      • Invoice scanning flow with human validation
      • Using the UI with the API
    • Product Enhancements
LogoLogo
On this page
  • Postman Installation
  • Get the Staple API documentation
Support HubAPI for developers

API Guide

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

SAP Concur integration

Next

Operations using API

Built with

Welcome to the API Guide. This guide covers the basic information on how to access the Staple website through API requests. You can either read it through this page or download the API guide here.

API stands for Application Programming Interface. It is a collection of communication protocols and subroutines used for communication between various programs - referred to as the client and the server. REST API calls have two phases that ease communication. The client sends a request to a server asking for the required information. The server then processes the request and creates a response containing all the appropriate data. The general methods that form a REST API request are:

  • POST - Used to create a new set of data
  • PUT - Used to update or replace already existing data
  • GET - Used to read data
  • DELETE- Used to delete existing data

To understand how communication works, we use a popular platform called Postman. Postman API simplifies working with APIs and helps developers to create, share, test, and document APIs.

Postman Installation

To download Postman, go to https://www.postman.com/downloads/ and select the Postman app according to your operating system (i.e. Windows, Mac, Linux). An .exe file will be downloaded onto your computer. Open the file and follow the steps for the desired configuration. After the installation is complete, you can create a new account or log in to an existing one.

Untitled

Get the Staple API documentation

To get the staple API documentation, visit the link https://documentation.staple.io/. The documentation contains everything related to the Staple platform such as scanning invoices, receipts and other documents. To run this in Postman, click on the orange button on the top right labeled “Run in Postman”. It will direct you to the Postman account.

Untitled

Select the desired workspace and click on the Import button.

Untitled