Security
bearerAuth and apiKeyAuth
- Production Serverhttps://api3.sprinklr.com/prod/api/v3/asset-group
- Mock serverhttps://developer.sprinklr.com/_mock/apis/sprinklr-v3/asset-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"
]
}
]
}'Success
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": [ { … } ] }