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

Create Document Session

POST
/documents/{id}/session
Create a document session for a recipient to view and sign a document. This endpoint returns a session ID that can be used to generate a document link for sharing.
Once a sessionID has been generated via this endpoint, it can be placed in the following URL share for sharing:

Request

Path Params

Body Params application/json

Example
{
    "recipient": "test@mail.com",
    "lifetime": 900
}

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 POST '/documents/ZPeAfcpzr9aiVs5vqUf6jg/session' \
--header 'Content-Type: application/json' \
--data-raw '{
    "recipient": "test@mail.com",
    "lifetime": 900
}'

Responses

🟢201Created
application/json
OK
Body

Example
{
    "id": "nPh2PDhFdDqAES9k64h9qX",
    "expires_at": "2024-07-01T08:03:57.536427Z"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠429429
Modified at 2024-09-17 17:28:25
Previous
Send Document
Next
Download Document