List grants addressed to this integration's organisation

​

Returns delivered grant metadata across active, paused, revoked and expired states. Current grants:read entitlement and verified organisation binding are required. An active clinical grant is not required to explain a revoked grant. This read grants no clinical action authority. Inactive or erasing patients and patients without any addressed delivered grant return 404. Results use ascending stable grant IDs; cursors continue after the last ID and do not freeze subsequent grant changes.

Path Parameters

Query Parameters

  • Integer numbers.

Responses

  • application/json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
Request Example for get/v1/users/{userId}/access-grants
curl 'https://api.dev.eno.health/v1/users/{userId}/access-grants?limit=25' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "id": "string",
      "userId": "string",
      "revision": 1,
      "organizationId": "string",
      "scope": {
        "type": "whole_record"
      },
      "status": "active",
      "expiresAt": null,
      "isBreakGlass": true
    }
  ],
  "nextCursor": null,
  "hasMore": true
}
Partner API reference · Check your integration’s enabled capabilities before making requests.