Skip to content

Asset Group

Organize assets into groups. Supports creating a group and fetching, updating, or deleting a group by its identifier.

Create asset group

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
namestringrequired

Name of the group

descriptionstring

Description of the group

clientIdinteger, (int64)

Client id of the group.

assetIdsArray of strings

Asset Id's in the group

clientCustomFieldsobject

Client level custom fields of the group

partnerCustomFieldsobject

Partner level custom fields of the group

groupTypestring(GroupType)required

Type of group e.g. DEFINED, DYNAMIC

assetTypestring(AssetType)required

Type of asset in the group

Enum:"USER""BRAND""ACCOUNT""CLIENT"
assetPermissionsArray of objects(AssetShareConfig)

Asset Permission assigned to the group

subscribersArray of objects(Subscriber)

Subscribers of the group

curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/asset-group \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "string",
    "description": "string",
    "clientId": 0,
    "assetIds": [
      "string"
    ],
    "clientCustomFields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "partnerCustomFields": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "groupType": "string",
    "assetType": "USER",
    "assetPermissions": [
      {
        "type": "string",
        "ids": [
          "string"
        ]
      }
    ],
    "subscribers": [
      {
        "type": "string",
        "ids": [
          "string"
        ]
      }
    ]
  }'

Responses

Success

Bodyapplication/json
idstringrequired

Id of the group

namestringrequired

Name of the group

descriptionstring

Description of the group

assetIdsArray of strings

Asset Id's in the group

clientCustomPropertiesobject

Client level custom fields of the group

partnerCustomPropertiesobject

Partner level custom fields of the group

createdTimeinteger, (int64)

Created time of the group

modifiedTimeinteger, (int64)

Last modified time of the group

ownerUserIdinteger, (int64)

Owner of the group

spaceIdinteger, (int64)

Client id of the group

deletedboolean

Is group deleted

groupTypestring(GroupType)

Type of Group

assetTypestring(AssetType)required

Asset Type of the group

Enum:"USER""BRAND""ACCOUNT""CLIENT"
assetPermissionsArray of objects(AssetShareConfig)

Asset Permission assigned to the group

subscribersArray of objects(Subscriber)

Subscribers of the group

Response
{ "id": "string", "name": "string", "description": "string", "assetIds": [ "string" ], "clientCustomProperties": { "property1": [ … ], "property2": [ … ] }, "partnerCustomProperties": { "property1": [ … ], "property2": [ … ] }, "createdTime": 0, "modifiedTime": 0, "ownerUserId": 0, "spaceId": 0, "deleted": true, "groupType": "string", "assetType": "USER", "assetPermissions": [ { … } ], "subscribers": [ { … } ] }