Skip to content

Get Accounts

Request

Overview

This APIs allows you to get details of all accounts

Scope

Client application must have 'app.conversation.conversationmgr.manage' or 'app.conversation.conversationmgr.read' scope assigned.

Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.de...
)
GET
/accounts
curl -i -X GET \
  https://api.egain.cloud/conversation/conversationmgr/v3/accounts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
paginationInfoobject(PaginationInfo)
accountArray of objects(GetAccountData)
Example:
[ { "id": "ae103957-9c82-4fa8-a34e-925be85e06ec", "created": "2021-03-21T14:29:01.516Z", "modified": "2021-03-28T14:29:01.516Z", "name": "order_account", "address": "123456789", "channel": {}, "chatConfigurations": {} }, { "id": "b5fc053c-77f4-4445-b6df-2e744aef8f4f", "created": "2021-03-21T14:29:01.516Z", "modified": "2021-03-28T14:29:01.516Z", "name": "purplenile_account", "address": "123456789", "channel": {}, "chatConfigurations": {} } ]
Response
{ "account": [ {}, {} ] }