---
title: "POST /apps/{appId}/webhooks"
method: POST
path: "/apps/{appId}/webhooks"
---

# POST /apps/{appId}/webhooks

`POST /apps/{appId}/webhooks`

Creates a new webhook on an Amplify app.

## Path parameters

- `appId` string, required

## Request body

- object
  - `branchName` string, required — The name for a branch that is part of an Amplify app.
  - `description` string — The description for a webhook.

## Response `200`

Success

- CreateWebhookResult — The result structure for the create webhook request.
  - `webhook` object, required — Describes a webhook that connects repository events to an Amplify app.
    - `webhookArn` string, required — The Amazon Resource Name (ARN) for the webhook.
    - `webhookId` string, required — The ID of the webhook.
    - `webhookUrl` string, required — The URL of the webhook.
    - `branchName` string, required — The name for a branch that is part of an Amplify app.
    - `description` string, required — The description for a webhook.
    - `createTime` string, date-time, required — The create date and time for a webhook.
    - `updateTime` string, date-time, required — Updates the date and time for a webhook.

## Other responses

- `480` — BadRequestException
- `481` — UnauthorizedException
- `482` — NotFoundException
- `483` — InternalFailureException
- `484` — LimitExceededException
- `485` — DependentServiceFailureException

---

[API](https://skmtc.net/aws/apis/amplify.md) · [All operations](https://skmtc.net/aws/apis/amplify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/amplify/revisions/573daadbd119/schema)
