POST /v3/action-sets
Create a new action set
Security
API_Key
POST
curl -i -X POST \
'https://api.observepoint.com/v3/action-sets?accountId=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"actions": [
{
"sequence": 0,
"description": "string",
"actionType": "click",
"waitDuration": 0,
"selectors": [
{
"selectorType": "id",
"value": null
}
],
"preventNavigation": true,
"value": "string",
"maskedValue": "string",
"js": "string",
"url": "string",
"seconds": 0,
"isRequired": true,
"actionSetId": 0,
"pageFilter": "string"
}
]
}'Action set created successfully
Response
{ "id": 0, "name": "string", "actions": [ { … } ], "updatedAt": "string", "createdAt": "string", "accountId": 0, "userId": 0 }