Source: https://support.atomicwork.com/api-reference/access-management/getapi-v1-iga-entitlements

# List available entitlements

GET `https://{tenant}.atomicwork.com/api/v1/iga/entitlements`

List entitlements available for granting, filterable by app.
Use app\_id from /iga/apps to filter.

## Authorization

#### X-Api-Key (header, string, required)

API key authentication.

## Headers

#### X-Workspace-Id (header, string)

## Query Parameters

#### search\_key (query, string)

#### app\_id (query, integer)

#### type (query, enum (string)) — allowed: GROUP, ROLE

Filter entitlements by type

#### status (query, enum (string)) — allowed: DRAFT, PUBLISHED

Filter entitlements by status

#### page (query, integer)

#### per\_page (query, integer)

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X GET 'https://{tenant}.atomicwork.com/api/v1/iga/entitlements' \
  -H 'X-Api-Key: <api-key>'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/iga/entitlements', {
  method: 'GET',
  headers: {
    'X-Api-Key': '<api-key>',
  },
});
const data = await res.json();
```

```python Python
import requests

res = requests.get(
    'https://{tenant}.atomicwork.com/api/v1/iga/entitlements',
    headers={'X-Api-Key': '<api-key>'}
)
data = res.json()
```
