---
title: "Register an inbound webhook for an app. Returns the URL and signing secret ONCE"
method: POST
path: "/apps/{slug}/webhooks"
tags: ["apps"]
---

# Register an inbound webhook for an app. Returns the URL and signing secret ONCE

`POST /apps/{slug}/webhooks`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/apps/{slug}/webhooks`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Register an inbound webhook for an app. Returns the URL and signing secret ONCE.

## Path parameters

- `slug` string, required: Installed app slug.

## Request body

- object
  - `hookName` string, required: Hook name, e.g. `stripe` or `github-push`.

## Response `200`

Successful response

- unknown

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
