Create a Trigger

Create an automation trigger based on conditional matching of one more conditions followed by an implied action when all conditions are met.

SecurityOAuth2
Request
header Parameters
content-type
string
Example: application/json
Authorization
string
Example: Bearer <token>
Request Body schema: application/json
active
boolean
name
string [ 3 .. 250 ] characters

The name given to the trigger.

Array of objects
object
intervalSchedule (object) or eventSchedule (object)
Responses
200

Successful Request. Trigger Created Successfully.

400

One or more required parameters are missing or invalid.

401

Authentication failed (unauthorized).

403

Forbidden. You do not have permissions to perform this action, or your connection information is not correct.

503

The server is too busy to handle the request.

post/triggers
Request samples
application/json
{
  • "active": true,
  • "name": "Set Archive Date on Assets when Expiration Date reached.",
  • "rules": [
    ],
  • "action": {
    },
  • "schedule": {
    }
}
Response samples
application/json
{
  • "triggers": [
    ],
  • "pagination": {
    }
}