---
title: "List all service accounts"
method: GET
path: "/admin/service-accounts"
tags: ["Service Accounts"]
---

# List all service accounts

`GET /admin/service-accounts`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/admin/service-accounts`
- Auth: HTTP bearer

Retrieve all M2M service accounts (admin only)

## Response `200`

Service accounts retrieved

- object
  - `success` boolean
  - `serviceAccounts` object[]

## Other responses

- `401`: Missing or invalid authentication token
- `403`: Admin access required

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
