Skip to content

List authorized users

To list all authorized users for particular encryption key, submit the following GET request:

GET /api/v2/encrypt_keys/<encrypt-key-id>/authorized_users.json

Response message will contain a list of user-ids, which are authorized to access that encryption key. Authorized users may access audio recordings, which were encrypted with that key.

Example of response:

{
  "next_url": null,
  "total": 2,
  "users": [
    {
      "user_id": "2c4b823a-8ce4-11e5-93b6-e03f497dbdff"
    },
    {
      "user_id": "5a5b525a-7ce5-11e5-83b6-a66f445dbdea"
    }
  ]
}