/
Get request status or signed document

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 including documents
Authorization: Bearer <access token> GET /request/123?includeDocs=true



Response
{ "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
Authorization: Bearer <access token> GET /request/123?includeDocs=false



Response
{ "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
Authorization: Bearer <access token> GET /request



Response
[{ "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" }] } ]





Related content

Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions