# Fetch data of existing accounts

Canonical page: https://docs.ovok.com/api/accounts/fetch-data-of-existing-accounts

`GET /accounts`

Lists the email addresses of every account in the caller's project. Use it to build a participant picker, for example for a video call.

**Auth:** bearer token. The caller must be a Practitioner, a project admin or a super admin, or hold an access policy named "System Owner". Other callers get 403.
**Scope:** the project of the token.

## Behaviour

- Every project membership with a Patient or Practitioner profile and a User is included. Accounts whose User has no email are left out.
- The handler returns only the `email` of each account.
- The list is not paginated and has no defined sort order.

## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/accounts' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
