> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixpanel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Authenticate Service Accounts API requests with a service account that has the admin or owner role, with an example request

## Service Account

> [!NOTE]
>
> **Roles & Permissions**
>
> To modify (create, delete) a service account, the service account used for authentication must have the role of admin or owner.

[Service Account Authentication Details](https://docs.mixpanel.com/reference/authentication#service-accounts)

```sh theme={"system"}
curl --request GET \
     --url https://mixpanel.com/api/app/organizations/12345/service-accounts \
     --header 'Accept: application/json' \
     --header 'Authorization: Basic dGVzdDp0ZXN0'
```
