Returns a document metadata with given ID in JSON format.
Service specification:
URL | https://apidev.okdokument.com/JSON/document/metadata/{{documentId}} |
Method | GET |
Authentication | set header x-api-key |
Response | HTTP 200 when successful HTTP 404 if document not found |
The response body is a JSON format.
Properties of the array elements:
filename | Name of the item. (*.pdf) |
id | Unique identification of the document (used to send acknowledgments) |
url | Link to download (for document) or to list the contents |
state | State of the document: “tosign”, “signed” |
Example of success response
{
"filename": "cec00479-5669-491d-ae52-47d3b690efd7.pdf",
"state": "tosign",
"modification": "2022-06-21 14:30:44",
"id": "y7Ki_u1mrUwijfb-o_S1JiphSsoXya8iypH380F",
"date": 1655814644472,
"number": "1655814644463"
}