GET
/
trigger_templates
/
{id}
curl --request GET \
  --url https://api.pocketflows.com/trigger_templates/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "trigger": {
    "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>"
  },
  "enabled": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the trigger template

Response

200 - application/json

The retrieved TriggerTemplate

The response is of type object.