---
title: "Register Transit-Trigger Webhook"
method: POST
path: "/webhooks/transit-trigger"
tags: ["Webhooks"]
---

# Register Transit-Trigger Webhook

`POST /webhooks/transit-trigger`

Subscribe to natal-transit aspect threshold-crossings.

## Request body

- Register
  - `url` string, uri, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `id` number, nullable
    - `event` string, nullable
    - `url` string, nullable
    - `signing_secret` string, nullable
    - `active` boolean, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/529d7d36d7d6/schema)
