Skip to content

Macro

Apply one or more macros to execute predefined sets of actions.

Apply macro(s)

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
entityKeysArray of stringsrequired

Entity keys

assetClassstringrequired

Asset class

macroIdsArray of stringsrequired

Macro Ids

curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/macro/apply \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "entityKeys": [
      "string"
    ],
    "assetClass": "string",
    "macroIds": [
      "string"
    ]
  }'

Responses

Success

Bodyapplication/json
string(AssigneeType)
Response
"string"