Organization Documents API
Used by organizations to query and fetch documents that are registered to their national ID. The API is only available through Straumurinn (X-Road)
Authentication
The Island.is Authentication Service with client credentials flow is used for authentication.
Organizations can integrate with this service by:
Creating a Machine to Machine Client (Application) in the IDS Admin.
Requesting API access for the client via Island.is support.
API
Document List
Returns a list of documents registered to the organization. A maximum of 100 items can be retrieved in each request.
false115OK
No Content
Bad Request
Get Document
Retrieves the document and its contents. Three content types are supported, only one content type is used per document.
content is a base64 string of the documents content
htmlContent is plaintext HTML
urlContent is a URL linking to the document
OK
No Content
Bad Request
Read Document
Marks document as read
No Content
Bad Request
No content
Archive Document
Sets the documents archived status
No Content
Bad Request
No content
Bookmark Document
Sets the documents bookmarked status
No Content
Bad Request
No content
Document Types
Returns all document types associated with the organization’s documents
OK
Bad Request
Document Categories
Returns all document categories associated with the organization’s documents
OK
Bad Request
Last updated
Was this helpful?