Get all accounts

This method allows you to get all accounts. To get the current authenticated account append /_ to the path.

Please log in to see full path URL. Learn why.
get
/settings/1/accounts
Authorizations:
query Parameters
name
string
Example: name=First account

Account name

limit
integer <int32>
Example: limit=3

Indicates the number of accounts in the response. By default, it will list last 40 accounts ordered by id.

enabled
boolean
Example: enabled=true

Indicates whether the account is enabled.

Responses

default

successful response

401

Unauthorized

403

Forbidden

4XX

Error responses

500

Internal Server Error

5XX

Error responses

Request samples

Example
cURL
Copy
curl -L -g 'https://{baseUrl}/settings/1/accounts?name=First%20account&limit=3&enabled=true' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
Copy
Collapse all
{
  • "accounts":
    [
    • {
      • "key": "8F0792F86035A9F4290821F1EE6BC06A",
      • "ownerKey": "37B93F4D2BA3C58B58526EAEAA1AB35C",
      • "name": "First account",
      • "enabled": true
      },
    • {
      • "key": "6298AA7707903A4ED680B436929681AD",
      • "ownerKey": "37B93F4D2BA3C58B58526EAEAA1AB35C",
      • "name": "Second account",
      • "enabled": false
      }
    ]
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.