Security
bearerAuth and apiKeyAuth
Targeting values as a map where key is the targeting field name and value is a list of targeting options
- Production Serverhttps://api3.sprinklr.com/prod/api/v3/audience
- Mock serverhttps://developer.sprinklr.com/_mock/apis/sprinklr-v3/audience
curl -i -X POST \
https://api3.sprinklr.com/prod/api/v3/audience \
-H 'Authorization: Bearer <YOUR_Token_HERE>' \
-H 'Content-Type: application/json' \
-H 'Key: YOUR_API_KEY_HERE' \
-d '{
"id": "string",
"name": "string",
"description": "string",
"audienceType": "string",
"channelTypes": [
"string"
],
"accountTypes": [
"string"
],
"channelAudience": {},
"clientCustomProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"partnerCustomProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"createdTime": 0,
"modifiedTime": 0,
"attributes": {
"property1": "string",
"property2": "string"
},
"targetingValues": {
"property1": [
{}
],
"property2": [
{}
]
},
"key": "string",
"label": "string",
"additional": {
"property1": "string",
"property2": "string"
},
"parentTargetingValues": {
"property1": {},
"property2": {}
}
}'Success
Targeting values as a map where key is the targeting field name and value is a list of targeting options
Response
{ "id": "string", "name": "string", "description": "string", "audienceType": "string", "channelTypes": [ "string" ], "accountTypes": [ "string" ], "channelAudience": {}, "clientCustomProperties": { "property1": [ … ], "property2": [ … ] }, "partnerCustomProperties": { "property1": [ … ], "property2": [ … ] }, "createdTime": 0, "modifiedTime": 0, "attributes": { "property1": "string", "property2": "string" }, "targetingValues": { "property1": [ … ], "property2": [ … ] }, "key": "string", "label": "string", "additional": { "property1": "string", "property2": "string" }, "parentTargetingValues": { "property1": {}, "property2": {} } }