---
title: "Get all sub accounts with filter"
method: GET
path: "/settings/1/accounts"
tags: ["platform", "account-management", "accounts"]
---

# Get all sub accounts with filter

`GET /settings/1/accounts`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/settings/1/accounts`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

This method allows you to get all sub accounts with custom filter

## Query parameters

- `name` string
- `limit` integer
- `enabled` boolean

## Response `200`

OK

- Bb8af9c2d2d4d677e25555100e31662e23d86ede8b5d73bbf4974b4decdd08d7AccountsResponse
  - `accounts` Bb8af9c2d2d4d677e25555100e31662e23d86ede8b5d73bbf4974b4decdd08d7Account[]: List of accounts
    - `key` string
    - `ownerKey` string
    - `name` string
    - `enabled` boolean

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
