---
title: "Subscribe Trigger"
method: POST
path: "/api/v1/triggers/subscribe"
tags: ["triggers"]
---

# Subscribe Trigger

`POST /api/v1/triggers/subscribe`

## Headers

- `x-api-key` string

## Request body

- TriggerCreate
  - `trigger_id` string, required
  - `webhook` Webhook, required
    - `url` string, required
    - `method` string, nullable
    - `headers` object, nullable
    - `body` object, nullable
  - `kind` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/soulmachines/apis/soul-machines-interactions-api.md) · [All operations](https://skmtc.net/soulmachines/apis/soul-machines-interactions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soulmachines/soul-machines-interactions-api/versions/4ac38edbb38a/schema)
