---
title: "Register Mahadasha-End Webhook"
method: POST
path: "/webhooks/mahadasha-end"
tags: ["Webhooks"]
---

# Register Mahadasha-End Webhook

`POST /webhooks/mahadasha-end`

Fires N days before a Vimshottari mahadasha ends.

## Request body

- Register
  - `url` string, uri, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `id` number, nullable
    - `event` string, 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/6828e5609564/schema)
