Loading...

The Document Object

The document object holds all data regarding a file attached to the agreement.

Attributes

idString

The unique ID of the document

filenameString

The file name of the document

mime_typeString

The mime type of the document

urlString

The read url of the document

compatibility_checkEnumeration

Describes if the document provided is compatible to be signed.

Possible values:

  • successful
  • failed
created_atDateTime

The UTC date of when the agreement was created

updated_atDateTime

The UTC date of when the agreement was last updated

Code Example

{ "id": "7c7cfbc0-32c5-4a2b-8cd0-4e39585f9f03", "filename": "example.pdf", "mime_type": "application/pdf", "url": "www.zigned.se", "compatibility_check": "successful", "created_at": "Tue, 11 Jan 2022 15:59:53 GMT", "updated_at": "Tue, 11 Jan 2022 15:59:53 GMT" }

Notes

Note regarding Document URL:s

We limit access to document URL:s to a short period of time to ensure old links do not get into the wrong hands. However, as long as you have access to the service, you can refresh any document URL by calling the service.

Document URL:s are valid for 10 (ten) days from the time of your request. If you need to refresh the URL, do any request for one or several agreements to retrieve a new one. Each time our service responds to your request, you will get a new, signed URL valid for 10 days.