Skip to main content

Retrieve shares

Using the access token requested in the authentication chapter, retrieve all Shares of your app using endpoint:

https://api.enablenow.nl/shares

Request query parameters

You can call this endpoint without any of the following parameters. We always return the records sorted by created date. We will return page 1 (up to 50 records) of all shares found for your clientId.

Parameter
Required
Description
page
No
Page number to retrieve (optional) (defaults to 1)
pageSize
No
Number of results to retrieve per page (optional) (defaults to 50)
isExpired
No
Filters all expired shares from the results

Response model

The _pagination model contains metadata information about the pagination state.

Property
Type
Availability
Description
page
integer
Required
The page number of the results.
size
integer
Required
The number of results per page.
totalCount
integer
Required
The total number of results.
totalPages
integer
Required
The total number of pages.

Inside the data collection, the share object consists of the following properties:

Property
Type
Availability
Description
id
UUID
Required
The unique EnableNow ID for this share.
clientId
string
Required
The shared EnableNow app identifier
expirationDateUtc
datetime
Required
The expiration date of this share (in UTC)
consentIds
UUID[]
Required
An array of EnableNow Consent identifiers
accountIds
UUID[]
Required
An array of EnableNow Account identifiers
analysisIds
UUID[]
Required
An array of EnableNow Analysis identifiers
reference
string
Optional
The external reference of this share

Response model example

{
"_pagination": {
"page": 1,
"size": 50,
"totalCount": 8,
"totalPages": 1
},
"data": [
{
"id": "e50c460d-0e18-4846-41e9-08de94a79554",
"clientId": "en-app-ref-002",
"reference": "my-internal-reference-1",
"expirationDateUtc": "2026-04-15T12:00:00+02:00",
"consentIds": [],
"accountIds": [
"590d7709-5aca-48b8-de16-08de7916b96f"
],
"analysisIds": []
},
[...]
{
"id": "e50c460d-0e18-4846-41e9-08de94a79554",
"clientId": "en-app-ref-001",
"reference": "my-internal-reference-1",
"expirationDateUtc": "2026-04-30T12:00:00+02:00",
"consentIds": [
"590d7709-5aca-48b8-de16-08de7916b96f"
],
"accountIds": [],
"analysisIds": []
}
]
}