These docs are for v1.0. Click to read the latest docs for v2.0.

Create a New Trigger

Creates a new trigger that can be fired.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to Testing Triggers

Name of the trigger (what a shop sees).

tags
array of objects

A list of available merge tags that can be used when firing this trigger.

tags
boolean
Defaults to false

Whether or not a trigger can be used to send transactional messages. Note: just because a trigger can be transactional, does not mean it will be used that way. Also, transactional messages require approval from Postscript before they can be sent to transactional subscribers.

Headers
string

Only for partners, shops should use the Authorization header instead. If you include a shop's API token as part of this call, it will create the trigger for that specific shop only. If you would like to create a general trigger to add multiple shops to, first create a trigger without using the shop token, then use the Add Shop to Trigger endpoint to grant individual shops access to your trigger.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json