Automation templates

GET /automation-templates

List the templates an automation can start from: ready-made scripts for common jobs, such as tagging loyalty tiers or posting reviews to Slack.

Requires the automations:read permission.

Request
curl \
  "https://your-store.meisei.app/api/automation-templates" \
  -H "Authorization: Bearer sk_YOUR_SECRET_KEY"
Response
{
  "data": [
    {
      "key": "string",
      "name": "string",
      "description": "string",
      "events": ["..."],
      "permissions": ["..."],
      "secrets": ["..."],
      "parameters": ["..."],
      "emails": ["..."],
      "inbound": {
        "signature": "...",
        "idempotencyHeader": "..."
      },
      "code": "string"
    }
  ]
}