Pigeon // E-Sign
  1. Documents
Pigeon // E-Sign
  • Introduction
  • Authentication
  • Integrations
  • Documents
    • List Documents
      GET
    • Create Document
      POST
    • Get Document Status
      GET
    • Delete Document
      DELETE
    • Update Document
      PATCH
    • Update Document Status
      PATCH
    • Move Document to Draft
      POST
    • Get Document Details
      GET
    • Send Document
      POST
    • Create Document Session
      POST
    • Download Document
      GET
    • Download Protected Document
      GET
    • Update Document Ownership
      PATCH
    • Transfer Documents Ownership
      PATCH
  • Document Attachments
    • Document Attachment List
      GET
    • Document Attachment Create
      POST
    • Document Attachment Details
      GET
    • Document Attachment Delete
      DELETE
    • Document Attachment Download
      GET
  • Document Generation
    • List Document Fields
      GET
    • Create Document Fields
      POST
  • Document Recipients
    • Add Document Recipient
      POST
    • Edit Document Recipient
      PATCH
    • Delete Document Recipient
      DELETE
    • Reassign Document Recipient
      POST
  • Bulk Send
    • Trigger Bulk Send
    • Create Bulk Send List
    • Get Bulk Send List
    • Get Bulk Send Lists
    • Update Bulk Send List
    • Delete Bulk Send List
  • Templates
    • List Templates
    • Create Template
    • Template Details
    • Delete Template
  • Cloud Storage
    • List Cloud Storage Providers
    • Connect Cloud Storage Providers
    • Disconnect Cloud Storage Provider
  • Webhooks
    • Get all webhook subscriptions
    • Create webhook subscription
    • Get webhook subscription by uuid
    • Update webhook subscription
    • Delete webhook subscription
  • Branding
    • Get Organization Branding
    • Update Organization Branding
  • Confirmation Page
    • Enable/Disable Signature Confirmation Page
  1. Documents

Get Document Status

GET
/documents/{id}
It is useful to request document status to ensure a document is in the expected state before calling additional API methods.

Required Document Statuses#

Here are some common methods and the document.status required to proceed:
API MethodRequired Document State
Send A Documentdocument.draft
Get Document Detailsdocument.draft
Embed A Documentdocument.sent
Download A Documentdocument.completed

Available Document Statuses#

The following is a complete list of all possible document statuses returned:
Document StatusStatus Description
document.uploadedThe document has just been created or uploaded. It is in processing and will be in document.draft state momentarily.
document.draftThe document is in a draft state. All aspects of the document can be edited in this state.
document.sentThe document has been "sealed" and optionally sent. No further document edits can occur except for document recipient(s) filling out or signing the document.
document.viewedDocument recipient(s) have viewed the sent document.
document.waiting_approvalThe document has an automatic approval workflow and has not yet been approved.
document.rejectedThe document has an automatic approval workflow and was rejected.
document.approvedThe document has an automatic approval workflow and was approved.
document.completedThe document has been completed by all recipients.
document.voidedThe document expired and is no longer available for completion or signature.
document.declinedThe document was manually marked as "Declined"
document.external_reviewThe document is reviewed by it's recipient using Suggest Edit feature

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/documents/fANp5wW5EwY7AkiTkTGekZ'

Responses

🟢200OK
application/json
OK
Body

Examples
{
    "id": "fANp5wW5EwY7AkiTkTGekZ",
    "name": "Document from file",
    "status": "document.uploaded",
    "date_created": "2024-07-02T16:21:57.510203Z",
    "date_modified": "2024-07-02T16:21:57.708251Z",
    "expiration_date": null,
    "version": null,
    "uuid": "fANp5wW5EwY7AkiTkTGekZ"
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠429429
Modified at 2024-09-18 01:43:20
Previous
Create Document
Next
Delete Document