Railhook Dead Letter Queue API

DLQ management operations

GitHub OpenAPI

Operations 12

POST /api/v1/projects/{projectId}/incoming-dlq/{forwardAttemptId}/retry Retry single incoming DLQ item #
POST /api/v1/projects/{projectId}/incoming-dlq/retry Bulk retry incoming DLQ items #
POST /api/v1/projects/{projectId}/dlq/{deliveryId}/retry Retry single DLQ item #
POST /api/v1/projects/{projectId}/dlq/retry Bulk retry DLQ items #
GET /api/v1/projects/{projectId}/incoming-dlq List incoming DLQ items #
DELETE /api/v1/projects/{projectId}/incoming-dlq Purge all incoming DLQ items #
GET /api/v1/projects/{projectId}/incoming-dlq/{forwardAttemptId} Get incoming DLQ item details #
GET /api/v1/projects/{projectId}/incoming-dlq/stats Get incoming DLQ stats #
GET /api/v1/projects/{projectId}/dlq List DLQ items #
DELETE /api/v1/projects/{projectId}/dlq Purge all DLQ items #
GET /api/v1/projects/{projectId}/dlq/{deliveryId} Get DLQ item details #
GET /api/v1/projects/{projectId}/dlq/stats Get DLQ stats #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/railhook-io:railhook-io-dead-letter-queue-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

railhook-io-dead-letter-queue-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Railhook Dead Letter Queue API
  description: 'Send webhooks to the endpoints your customers register, and receive webhooks from any provider, with every attempt on record.


    ## What you can do

    - **Outgoing**: post an event once; Railhook delivers it, signed, to every subscribed endpoint and retries on its own (1m → 24h, 7 attempts). What never arrives lands in Failed Messages.

    - **Incoming**: give each provider its own ingress URL; Railhook verifies the signature and forwards the event to your destinations.

    - **Replay**: send past events again with Time Machine.


    ## Authentication

    - **API key** (`X-API-Key` header): project-scoped calls, including sending events. What the SDKs use.

    - **Bearer token**: account and organization calls made on behalf of a signed-in user.

    - **Portal session** (`Authorization: Bearer rhp_…`): the `/api/v1/portal/**` calls the embedded customer portal makes for one Consumer. Opened by your backend with an API key.


    Guides: /docs/'
  contact:
    name: Railhook
    url: https://github.com/vadymkykalo/railhook
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.0.0
servers:
- url: '{baseUrl}'
  description: Your Railhook installation — the same origin the dashboard runs on
  variables:
    baseUrl:
      description: Scheme and host of your installation, without a trailing slash
      default: http://localhost:8080
security:
- bearerAuth: []
tags:
- name: Dead Letter Queue
  description: DLQ management operations
paths:
  /api/v1/projects/{projectId}/incoming-dlq/{forwardAttemptId}/retry:
    post:
      tags:
      - Dead Letter Queue
      summary: Retry single incoming DLQ item
      description: Re-forwards one abandoned forward to the destination that failed
      operationId: retryIncomingDlqItem
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: forwardAttemptId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Forward queued for retry
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqActionResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/incoming-dlq/retry:
    post:
      tags:
      - Dead Letter Queue
      summary: Bulk retry incoming DLQ items
      description: Re-forwards several abandoned forwards, each to the destination that failed
      operationId: retryIncomingDlqItems
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncomingDlqRetryRequest'
        required: true
      responses:
        '200':
          description: Forwards queued for retry
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqActionResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/dlq/{deliveryId}/retry:
    post:
      tags:
      - Dead Letter Queue
      summary: Retry single DLQ item
      description: Retries a single failed delivery
      operationId: retrySingle
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: deliveryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Delivery queued for retry
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqActionResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/dlq/retry:
    post:
      tags:
      - Dead Letter Queue
      summary: Bulk retry DLQ items
      description: Retries multiple failed deliveries
      operationId: retryBulk
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DlqRetryRequest'
        required: true
      responses:
        '200':
          description: Deliveries queued for retry
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqActionResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/incoming-dlq:
    get:
      tags:
      - Dead Letter Queue
      summary: List incoming DLQ items
      description: Returns paginated list of abandoned forwards in the incoming DLQ
      operationId: listIncomingDlqItems
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      - name: size
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 20
      - name: destinationId
        in: query
        required: false
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PageIncomingDlqItemResponse'
      security:
      - bearerAuth: []
      - apiKey: []
    delete:
      tags:
      - Dead Letter Queue
      summary: Purge all incoming DLQ items
      description: Permanently deletes every abandoned forward in the project's incoming DLQ
      operationId: purgeIncomingDlq
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Incoming DLQ purged
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqActionResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/incoming-dlq/{forwardAttemptId}:
    get:
      tags:
      - Dead Letter Queue
      summary: Get incoming DLQ item details
      description: Returns details of a single abandoned forward
      operationId: getIncomingDlqItem
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: forwardAttemptId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/IncomingDlqItemResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/incoming-dlq/stats:
    get:
      tags:
      - Dead Letter Queue
      summary: Get incoming DLQ stats
      description: Returns incoming DLQ statistics for the project
      operationId: getIncomingDlqStats
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqStatsResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/dlq:
    get:
      tags:
      - Dead Letter Queue
      summary: List DLQ items
      description: Returns paginated list of failed deliveries in DLQ
      operationId: listDlqItems
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      - name: size
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 20
      - name: endpointId
        in: query
        required: false
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PageDlqItemResponse'
      security:
      - bearerAuth: []
      - apiKey: []
    delete:
      tags:
      - Dead Letter Queue
      summary: Purge all DLQ items
      description: Permanently deletes all items in DLQ for the project
      operationId: purgeAll
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: DLQ purged
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqActionResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/dlq/{deliveryId}:
    get:
      tags:
      - Dead Letter Queue
      summary: Get DLQ item details
      description: Returns details of a specific DLQ item
      operationId: getDlqItem
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: deliveryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqItemResponse'
      security:
      - bearerAuth: []
      - apiKey: []
  /api/v1/projects/{projectId}/dlq/stats:
    get:
      tags:
      - Dead Letter Queue
      summary: Get DLQ stats
      description: Returns DLQ statistics for the project
      operationId: getDlqStats
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DlqStatsResponse'
      security:
      - bearerAuth: []
      - apiKey: []
components:
  schemas:
    PageDlqItemResponse:
      type: object
      properties:
        totalPages:
          type: integer
          format: int32
        totalElements:
          type: integer
          format: int64
        size:
          type: integer
          format: int32
        content:
          type: array
          items:
            $ref: '#/components/schemas/DlqItemResponse'
        number:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/SortObject'
        pageable:
          $ref: '#/components/schemas/PageableObject'
        numberOfElements:
          type: integer
          format: int32
        first:
          type: boolean
        last:
          type: boolean
        empty:
          type: boolean
    PageIncomingDlqItemResponse:
      type: object
      properties:
        totalPages:
          type: integer
          format: int32
        totalElements:
          type: integer
          format: int64
        size:
          type: integer
          format: int32
        content:
          type: array
          items:
            $ref: '#/components/schemas/IncomingDlqItemResponse'
        number:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/SortObject'
        pageable:
          $ref: '#/components/schemas/PageableObject'
        numberOfElements:
          type: integer
          format: int32
        first:
          type: boolean
        last:
          type: boolean
        empty:
          type: boolean
    PageableObject:
      type: object
      properties:
        offset:
          type: integer
          format: int64
        paged:
          type: boolean
        pageNumber:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/SortObject'
        unpaged:
          type: boolean
    SortObject:
      type: object
      properties:
        empty:
          type: boolean
        sorted:
          type: boolean
        unsorted:
          type: boolean
    DlqActionResponse:
      type: object
      properties:
        retried:
          type: integer
          format: int32
        requested:
          type: integer
          format: int32
        purged:
          type: integer
          format: int32
    DlqStatsResponse:
      type: object
      properties:
        totalItems:
          type: integer
          format: int64
        last24Hours:
          type: integer
          format: int64
        last7Days:
          type: integer
          format: int64
    DlqRetryRequest:
      type: object
      properties:
        deliveryIds:
          type: array
          items:
            type: string
            format: uuid
          minItems: 1
      required:
      - deliveryIds
    IncomingDlqRetryRequest:
      type: object
      properties:
        forwardAttemptIds:
          type: array
          items:
            type: string
            format: uuid
          minItems: 1
      required:
      - forwardAttemptIds
    DlqItemResponse:
      type: object
      properties:
        deliveryId:
          type: string
          format: uuid
        eventId:
          type: string
          format: uuid
        endpointId:
          type: string
          format: uuid
        subscriptionId:
          type: string
          format: uuid
        eventType:
          type: string
        endpointUrl:
          type: string
        attemptCount:
          type: integer
          format: int32
        maxAttempts:
          type: integer
          format: int32
        lastError:
          type: string
        failedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
    IncomingDlqItemResponse:
      type: object
      properties:
        forwardAttemptId:
          type: string
          format: uuid
        incomingEventId:
          type: string
          format: uuid
        destinationId:
          type: string
          format: uuid
        incomingSourceId:
          type: string
          format: uuid
        sourceName:
          type: string
        destinationUrl:
          type: string
        attemptNumber:
          type: integer
          format: int32
        maxAttempts:
          type: integer
          format: int32
        responseCode:
          type: integer
          format: int32
        lastError:
          type: string
        failedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      description: JWT token obtained from /api/v1/auth/login
      scheme: bearer
      bearerFormat: JWT
    apiKey:
      type: apiKey
      description: Project API key for event ingestion
      name: X-API-Key
      in: header
    platformAdminToken:
      type: apiKey
      description: Cluster-operator credential (PLATFORM_ADMIN_TOKEN env var), independent of tenant org membership — required for cross-tenant admin endpoints
      name: X-Platform-Admin-Token
      in: header
    portalSession:
      type: http
      description: Portal session token, returned once by POST /api/v1/projects/{projectId}/consumers/{consumerId}/portal-sessions
      scheme: bearer
      bearerFormat: rhp_…