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

# Subscribe Trigger

`POST /api/v1/triggers/subscribe`

## Request

- Base URL: `https://interactions-api.soulmachines.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://interactions-api.soulmachines.cloud/api/v1/triggers/subscribe`
- Auth: none declared

## 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.dev/soulmachines/apis/soul-machines-interactions-api.md) - [All operations](https://skmtc.dev/soulmachines/apis/soul-machines-interactions-api/llms.txt) - [OpenAPI document](https://skmtc.dev/soulmachines/apis/soul-machines-interactions-api/revisions/ede891b8801e?raw)
