> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gomaestro.org/llms.txt
> Use this file to discover all available pages before exploring further.

> Create a new webhook for a Cardano project to receive real-time notifications about transaction events and confirmations.

# Create a Webhook



## OpenAPI

````yaml post /webhooks/project/{project_id}
openapi: 3.0.3
info:
  title: Cardano - Transaction Manager API
  description: Cardano Transaction Submit API with advanced monitoring.
  contact:
    name: Maestro Blockchain Inc.
    url: https://gomaestro.org/
    email: info@gomaestro.org
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.txt
  version: v1.7.0
servers:
  - url: https://mainnet.gomaestro-api.org/v1
    description: Cardano Mainnet
  - url: https://preprod.gomaestro-api.org/v1
    description: Cardano Preprod
  - url: https://preview.gomaestro-api.org/v1
    description: Cardano Preview
security:
  - api-key: []
tags:
  - name: Transactions
  - name: Webhooks
paths:
  /webhooks/project/{project_id}:
    post:
      tags:
        - Webhooks
      summary: Create a Webhook
      description: Set up a new webhook for transaction monitoring.
      operationId: create_webhook
      parameters:
        - name: project_id
          in: path
          description: Unique project identifier.
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookCreateRequest'
      responses:
        '201':
          description: Webhook created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        '400':
          description: Bad Request - Invalid webhook data
        '500':
          description: Internal server error
components:
  schemas:
    WebhookCreateRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the webhook
        url:
          type: string
          description: Webhook URL
      required:
        - name
        - url
    WebhookResponse:
      type: object
      properties:
        webhook_id:
          type: string
          description: Unique ID of the webhook
        name:
          type: string
          description: Webhook name
        url:
          type: string
          description: Webhook URL
        active:
          type: boolean
          description: Whether the webhook is active
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: API key for authenticating requests.

````