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

# Retry a webhook delivery

> Requests one more attempt of a failed or cancelled webhook delivery. The mail server that received the message makes the attempt shortly afterwards. Requires the permission "Retry webhooks".



## OpenAPI

````yaml /api-reference/openapi.yaml post /receiving/deliveries/{delivery_id}/retry
openapi: 3.1.0
info:
  title: Talario API
  version: '1.0'
  description: REST API for received messages and webhook deliveries.
servers:
  - url: https://talario.eu/api/v1
security:
  - apiKey: []
tags:
  - name: Received messages
  - name: Webhook deliveries
paths:
  /receiving/deliveries/{delivery_id}/retry:
    post:
      tags:
        - Webhook deliveries
      summary: Retry a webhook delivery
      description: >-
        Requests one more attempt of a failed or cancelled webhook delivery. The
        mail server that received the message makes the attempt shortly
        afterwards. Requires the permission "Retry webhooks".
      operationId: retryWebhookDelivery
      parameters:
        - name: delivery_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: Idempotency-Key
          in: header
          required: true
          description: >-
            1 to 255 visible ASCII characters, for example a UUID. Repeating a
            request with the same key returns the first response again.
          schema:
            type: string
            minLength: 1
            maxLength: 255
      responses:
        '202':
          description: The retry was requested.
          headers:
            Idempotent-Replayed:
              description: >-
                `true` if this is the stored response of an earlier request with
                the same key.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                required:
                  - delivery_id
                  - status
                properties:
                  delivery_id:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum:
                      - retry_requested
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: >-
            `delivery_not_retryable`: the delivery is pending or succeeded.
            `retry_pending`: a retry was already requested.
            `endpoint_unavailable`: the endpoint was deleted or disabled.
            `idempotency_conflict`: the key was used for another request.
            `request_in_progress`: a request with this key is still being
            processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          $ref: '#/components/responses/MessageExpired'
        '422':
          $ref: '#/components/responses/InvalidPayload'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  responses:
    Unauthenticated:
      description: '`unauthenticated`: the API key is missing, invalid or revoked.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        `forbidden`: the API key lacks the permission, or the project is
        suspended.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: >-
        `not_found`: the resource does not exist or is outside the scope of the
        API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    MessageExpired:
      description: '`message_expired`: the retention period of the message ended.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InvalidPayload:
      description: '`invalid_payload`: a parameter or header is invalid.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: '`too_many_requests`: a rate limit was exceeded.'
      headers:
        Retry-After:
          description: Seconds to wait before the next request.
          schema:
            type: integer
      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
              example: message_expired
            message:
              type: string
            fields:
              type: object
              description: Invalid fields with their messages; only for `invalid_payload`.
              additionalProperties:
                type: array
                items:
                  type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: API key of your project, starting with `tlr_api_`.

````

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