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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/railhook-io:railhook-io-deliveries-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
openapi: 3.2.0
info:
title: Railhook Deliveries 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: Deliveries
description: Delivery status and replay operations
paths:
/api/v1/deliveries/{id}/replay:
post:
tags:
- Deliveries
summary: Replay delivery
description: Re-sends a failed delivery. Use dryRun=true to preview without sending. Use fromAttempt=N to continue from a specific attempt.
operationId: replayDelivery
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: dryRun
in: query
required: false
schema:
type: boolean
default: false
- name: fromAttempt
in: query
required: false
schema:
type: integer
format: int32
responses:
'202':
description: Replay initiated
content:
'*/*':
schema:
type: object
'409':
description: An attempt at this delivery is under way
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/deliveries/bulk-replay:
post:
tags:
- Deliveries
summary: Bulk replay deliveries
description: Re-sends multiple failed deliveries at once
operationId: bulkReplayDeliveries
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BulkReplayRequest'
required: true
responses:
'202':
description: Bulk replay initiated
content:
'*/*':
schema:
$ref: '#/components/schemas/BulkReplayResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/deliveries:
get:
tags:
- Deliveries
summary: List deliveries
description: Returns paginated list of deliveries
operationId: listDeliveries
parameters:
- name: eventId
in: query
required: false
schema:
type: string
format: uuid
- name: page
in: query
description: Zero-based page index (0..N)
required: false
schema:
type: integer
default: 0
minimum: 0
- name: size
in: query
description: The size of the page to be returned
required: false
schema:
type: integer
default: 20
minimum: 1
- name: sort
in: query
description: 'Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.'
required: false
schema:
type: array
items:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/PageDeliveryResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/deliveries/{id}:
get:
tags:
- Deliveries
summary: Get delivery
description: Returns delivery details by ID
operationId: getDelivery
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/DeliveryResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/deliveries/{id}/attempts:
get:
tags:
- Deliveries
summary: Get delivery attempts
description: Returns all delivery attempts with request/response details
operationId: getDeliveryAttempts
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/DeliveryAttemptResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/deliveries/projects/{projectId}:
get:
tags:
- Deliveries
summary: List deliveries by project
description: Returns paginated deliveries with filtering
operationId: listDeliveriesByProject
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: status
in: query
required: false
schema:
type: string
enum:
- PENDING
- PROCESSING
- SUCCESS
- FAILED
- DLQ
- CANCELLED
- name: endpointId
in: query
required: false
schema:
type: string
format: uuid
- name: eventId
in: query
required: false
schema:
type: string
format: uuid
- name: eventType
in: query
required: false
schema:
type: string
- name: fromDate
in: query
required: false
schema:
type: string
format: date-time
- name: toDate
in: query
required: false
schema:
type: string
format: date-time
- name: page
in: query
description: Zero-based page index (0..N)
required: false
schema:
type: integer
default: 0
minimum: 0
- name: size
in: query
description: The size of the page to be returned
required: false
schema:
type: integer
default: 20
minimum: 1
- name: sort
in: query
description: 'Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.'
required: false
schema:
type: array
items:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/PageDeliveryResponse'
security:
- bearerAuth: []
- apiKey: []
components:
schemas:
DeliveryResponse:
type: object
properties:
id:
type: string
format: uuid
eventId:
type: string
format: uuid
eventType:
type: string
endpointId:
type: string
format: uuid
subscriptionId:
type: string
format: uuid
status:
type: string
enum:
- PENDING
- PROCESSING
- SUCCESS
- FAILED
- DLQ
- CANCELLED
attemptCount:
type: integer
format: int32
maxAttempts:
type: integer
format: int32
nextRetryAt:
type: string
format: date-time
lastAttemptAt:
type: string
format: date-time
succeededAt:
type: string
format: date-time
failedAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
SortObject:
type: object
properties:
empty:
type: boolean
sorted:
type: boolean
unsorted:
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
PageDeliveryResponse:
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/DeliveryResponse'
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
ErrorResponse:
type: object
properties:
error:
type: string
message:
type: string
status:
type: integer
format: int32
fieldErrors:
type: object
additionalProperties:
type: string
BulkReplayResponse:
type: object
properties:
totalRequested:
type: integer
format: int32
replayed:
type: integer
format: int32
skipped:
type: integer
format: int32
totalMatched:
type: integer
format: int64
hasMore:
type: boolean
message:
type: string
DeliveryAttemptResponse:
type: object
properties:
id:
type: string
format: uuid
deliveryId:
type: string
format: uuid
attemptNumber:
type: integer
format: int32
requestHeaders:
type: string
requestBody:
type: string
httpStatusCode:
type: integer
format: int32
responseHeaders:
type: string
responseBody:
type: string
errorMessage:
type: string
durationMs:
type: integer
format: int32
createdAt:
type: string
format: date-time
BulkReplayRequest:
type: object
properties:
deliveryIds:
type: array
items:
type: string
format: uuid
maxItems: 1000
minItems: 0
status:
type: string
enum:
- PENDING
- PROCESSING
- SUCCESS
- FAILED
- DLQ
- CANCELLED
endpointId:
type: string
format: uuid
projectId:
type: string
format: uuid
limit:
type: integer
format: int32
maximum: 5000
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_…