Skip to main content
Skip table of contents

Get request status or signed document

This article describes how to use the PDF Signing API to get the status for a specific signing request and to fetch the actual PDF document. 

Get information for specific request

To get information for one specific request, use the method GET /request/{id}.

Example: Get information for specific request

Example: Get information for specific request including documents

TEXT
Authorization: Bearer <access token>
GET /request/123?includeDocs=true

Response

CODE
{
  "id": "123",
  "name": "Request 1",
  "description": "First request",
  "created": 1525843503909,
  "state": "IN_PROGRESS",
  "signatures": [{
    "signer" : "signer.second@example.com",
    "signed": false,
    "method": "SE_BANKID"
  }],
  "documents": [{
    {
      "name": "API.pdf",
      "data": "string"
 }]
}

Example: Get information for specific request, no documents included

CODE
Authorization: Bearer <access token>
GET /request/123?includeDocs=false

Response

CODE
{
  "id": "123",
  "name": "Request 1",
  "description": "First request",
  "created": 1525843503909,
  "state": "IN_PROGRESS",
  "signatures": [{
    "signer" : "signer.bankid@example.com",
    "signed": false,
    "method": "SE_BANKID"
  }]
}

Get information for all requests

To get information for all requests created by the current client ID, use the method GET /request.

Example: Get information for all requests

Example: Get information for all requests

CODE
Authorization: Bearer <access token>
GET /request

Response

TEXT
[{
  "id": "123",
  "name": "Request 1",
  "description": "First request",
  "created": 1525843503909,
  "state": "IN_PROGRESS",
  "signatures": [{
    "signer" : "signer.second@example.com",
    "signed": false,
    "method": "SE_BANKID"
  }]
}, {
  "id": "124",
  "name": "Request 2",
  "description": "Second request",
  "created": 1525843503919,
  "state": "COMPLETED",
  "signatures": [{
    "signer" : "signer.second@example.com",
    "signed": true,
    "signedAt": 1525843503929,
    "method": "PM"
  }]
  }
]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.