---
updatedAt: 2025-07-17T08:39:02.000Z
agentTools:
  projectIndex: https://docs.appery.io/llms.txt
---

# Get ACL

Retrieve the ACL object.

To retrieve ACL object, send ***GET*** request to according URL:

```text
https://api.appery.io/rest/1/db/files/<fileName>/acl
```

**[X-Appery-Master-Key](https://docs.appery.io/docs/database-settings#master-api-key)** header may be specified instead of **[X-Appery-Session-Token](https://docs.appery.io/docs/x-appery-session-token)**, granting access to DB.

## Example

**cURL**

```curl
curl -X GET \
-H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9" \
-H "X-Appery-Session-Token: 6fb9515d-82fd-43b3-9124-f0534dceca8e" \
https://api.appery.io/rest/1/db/files/myFile.txt/acl
```

```json
{
  "<user>": {
    "<permissionType>": <boolean>,
    ...
  },
  ...
}
```

In the response:

* `<user>` is userId, or `"*"` for 'public' ACL;
* `<permissionType>` is `"read"` or `"write"`;