# Create a webhook at Account level

Create webhooks at account level

Endpoint: POST /v1/webhooks
Version: 1.0
Security: x-api-key

## Header parameters:

  - `Harness-Account` (string)
    Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

## Request fields (application/json):

  - `webhook_identifier` (string, required)

  - `webhook_name` (string, required)

  - `spec` (object, required)
    Details of the Webhook defined in Harness

  - `spec.webhook_type` (string)
    Enum: "GIT", "GENERIC", "SLACK"

## Response 201 fields (application/json):

  - `webhook_identifier` (string)


