Retrieve shares
Using the access token requested in the authentication chapter, retrieve all Shares of your app using endpoint:
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.
Response model
The _pagination model contains metadata information about the pagination state.
Inside the data collection, the share object consists of the following properties:
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": []
}
]
}
Retrieve a single share by ID
If you already know the share identifier, you can retrieve that specific share directly instead of listing all shares first.
Request Method: GET
https://api.staging.enablenow.nl/shares/<share-id>
Required path parameter and headers
Request example
For instance, if you want to retrieve the share with identifier af86536d-34e3-4ebc-6c64-08db56ccef25, you would create a GET request to:
Request Method: GET
https://api.staging.enablenow.nl/shares/af86536d-34e3-4ebc-6c64-08db56ccef25Accept: application/jsonAuthorization: <token>
Response model example
{
"data": {
"id": "af86536d-34e3-4ebc-6c64-08db56ccef25",
"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": []
}
}
If you need near-real-time updates or want to keep a local copy of share data in sync, prefer using Webhooks and storing the share identifiers you receive from share events. Direct retrieval by ID is most useful when you already have a specific shareId and need to look up the latest details on demand.