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

# Send a test event to an endpoint

> Needs the crypto:webhooks:manage scope. Sends a signed `webhook.test` event (with every currently valid secret) and reports how your server answered. A server that does not answer is a normal result (`delivered: false`), not an error.




## OpenAPI

````yaml /openapi.yaml post /v1/webhooks/endpoints/{id}/test
openapi: 3.1.0
info:
  title: Taramiz Crypto API (live gateway)
  version: 0.1.0
  description: >
    Generate crypto deposit addresses. Draft: describes the endpoint built so
    far. Must be kept in step with the gateway by hand until it is generated.
servers:
  - url: http://127.0.0.1:44010
    description: Local development (task dev)
security:
  - bearerAuth: []
paths:
  /v1/webhooks/endpoints/{id}/test:
    post:
      summary: Send a test event to an endpoint
      description: >
        Needs the crypto:webhooks:manage scope. Sends a signed `webhook.test`
        event (with every currently valid secret) and reports how your server
        answered. A server that does not answer is a normal result (`delivered:
        false`), not an error.
      operationId: testWebhookEndpoint
      parameters:
        - $ref: '#/components/parameters/EndpointId'
      responses:
        '200':
          description: How the URL answered.
          content:
            application/json:
              schema:
                type: object
                required:
                  - delivered
                  - http_status
                  - message
                properties:
                  delivered:
                    type: boolean
                    description: True if the URL answered with a 2xx status.
                  http_status:
                    type: integer
                    description: The status it answered with; 0 if it could not be reached.
                  message:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    EndpointId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        product_not_enabled, or insufficient_scope (the key lacks the scope this
        call needs).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such endpoint (including one that belongs to another account).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Temporarily unavailable. Try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable machine-readable code.
              enum:
                - invalid_request
                - unauthorized
                - product_not_enabled
                - insufficient_scope
                - idempotency_conflict
                - request_in_progress
                - payload_too_large
                - not_found
                - service_unavailable
                - internal_error
            message:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key, sent as `Authorization: Bearer <key>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.