GET
/
trigger_templates
curl --request GET \
  --url https://api.pocketflows.com/trigger_templates \
  --header 'Authorization: Basic <encoded-value>'
{
  "trigger_templates": [
    {
      "id": "<string>",
      "name": "<string>",
      "trigger": "<string>",
      "steps": [
        {
          "type": "email",
          "custom_step_id": "<string>",
          "email_template_id": "<string>"
        }
      ],
      "status": "draft",
      "filter": "<string>",
      "email_address": "<string>",
      "phone_number": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

A dictionary with a trigger_templates property that contains an array of TriggerTemplate objects

The response is of type object.