Skip to content

Fetch Accounts by Account ID or ChannelId. Supports bulk fetch.

Request

Security
bearerAuth and apiKeyAuth
Query
idstring

Comma-separated list of account id

accountTypeChannelIdstring

Comma-separated list of accountTypeChannelId

curl -i -X GET \
  'https://api3.sprinklr.com/prod/api/v3/account?id=string&accountTypeChannelId=string' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
Array [
idstring

Unique id of account

typestring

Type of the account. e.g. FBPAGE, TWITTER

displayNamestring

display name for the account

channelIdstring

unique id of the account on channel

ownerinteger, (int64)

id of the account owner in Sprinklr

propertiesstring

Special properties of the account, if any.

channelTypestring

channel type of the account

spaceIdinteger, (int64)

Client Id of the account in which account is added

clientCustomPropertiesobject

Client custom properties on the asset, if any.

partnerCustomPropertiesobject

Partner custom properties on the asset, if any.

visibilityobject(Visibility)

visibility of the account

permissionsArray of objects(AssetShareConfig)

permissions of the account

activeboolean

True if account is active

deactivationReasonstring

If active is false then this will contain reason for deactivation

deletedboolean

True id account is deleted

createdTimestring

Time of the account added in sprinklr

modifiedTimestring

Last modified time od the account

]
Response
[ { "id": "string", "type": "string", "displayName": "string", "channelId": "string", "owner": 0, "properties": "string", "channelType": "string", "spaceId": 0, "clientCustomProperties": { … }, "partnerCustomProperties": { … }, "visibility": { … }, "permissions": [ … ], "permalink": "string", "active": true, "deactivationReason": "string", "deleted": true, "createdTime": "string", "modifiedTime": "string" } ]