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-workflows-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 Workflows 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: Workflows
description: Visual workflow automation
paths:
/api/v1/projects/{projectId}/workflows/{id}:
get:
tags:
- Workflows
summary: Get workflow
description: Returns the definition, the trigger, and how its executions have gone.
operationId: getWorkflow
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/WorkflowResponse'
security:
- bearerAuth: []
- apiKey: []
put:
tags:
- Workflows
summary: Update workflow
description: Replaces the definition and trigger. Executions already running are unaffected; the next one uses the new version.
operationId: updateWorkflow
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
in: path
required: true
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowRequest'
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/WorkflowResponse'
security:
- bearerAuth: []
- apiKey: []
delete:
tags:
- Workflows
summary: Delete workflow
description: Removes the workflow and its execution history.
operationId: deleteWorkflow
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'204':
description: Workflow deleted
security:
- bearerAuth: []
- apiKey: []
/api/v1/projects/{projectId}/workflows:
get:
tags:
- Workflows
summary: List workflows
description: Every workflow in the project, newest first, each with its execution counts.
operationId: listWorkflows
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/WorkflowResponse'
security:
- bearerAuth: []
- apiKey: []
post:
tags:
- Workflows
summary: Create workflow
description: 'Defines a workflow: the nodes it runs, the edges between them, and what triggers it. Created disabled until toggled on.'
operationId: createWorkflow
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowRequest'
required: true
responses:
'201':
description: Workflow created
content:
'*/*':
schema:
$ref: '#/components/schemas/WorkflowResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/projects/{projectId}/workflows/{id}/trigger:
post:
tags:
- Workflows
summary: Manually trigger workflow with test payload
description: Runs the workflow now against a payload you supply, without waiting for its trigger. The run is recorded like any other.
operationId: trigger
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
in: path
required: true
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
type: object
additionalProperties: {}
responses:
'200':
description: Workflow executed
content:
'*/*':
schema:
$ref: '#/components/schemas/WorkflowExecutionResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/projects/{projectId}/workflows/{id}/toggle:
patch:
tags:
- Workflows
summary: Toggle workflow enabled/disabled
description: A disabled workflow keeps its definition and stops being triggered.
operationId: toggleWorkflow
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
in: path
required: true
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
type: object
additionalProperties:
type: boolean
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/WorkflowResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/projects/{projectId}/workflows/{id}/executions:
get:
tags:
- Workflows
summary: List workflow executions
description: Runs of this workflow, newest first, with the status each finished in.
operationId: listExecutions
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
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
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/PageWorkflowExecutionResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/projects/{projectId}/workflows/{id}/executions/{executionId}:
get:
tags:
- Workflows
summary: Get execution details with step results
description: 'One run, node by node: what each step was given, what it returned, and where the run stopped if it did.'
operationId: getExecution
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: executionId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/WorkflowExecutionResponse'
security:
- bearerAuth: []
- apiKey: []
/api/v1/projects/{projectId}/workflows/schedule-preview:
get:
tags:
- Workflows
summary: Preview workflow schedule
description: The next three times a 5-field cron expression fires in the given time zone. Answers 400 with the reason when the schedule is not accepted.
operationId: previewWorkflowSchedule
parameters:
- name: projectId
in: path
required: true
schema:
type: string
format: uuid
- name: cron
in: query
required: true
schema:
type: string
- name: timezone
in: query
required: false
schema:
type: string
default: UTC
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
type: string
format: date-time
security:
- bearerAuth: []
- apiKey: []
components:
schemas:
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
WorkflowExecutionResponse:
type: object
properties:
id:
type: string
format: uuid
workflowId:
type: string
format: uuid
triggerEventId:
type: string
format: uuid
scheduledFor:
type: string
format: date-time
status:
type: string
enum:
- RUNNING
- WAITING
- COMPLETED
- FAILED
- CANCELLED
triggerData: {}
startedAt:
type: string
format: date-time
completedAt:
type: string
format: date-time
errorMessage:
type: string
durationMs:
type: integer
format: int32
steps:
type: array
items:
$ref: '#/components/schemas/StepExecutionResponse'
StepExecutionResponse:
type: object
properties:
id:
type: string
format: uuid
nodeId:
type: string
nodeType:
type: string
status:
type: string
enum:
- PENDING
- RUNNING
- SUCCESS
- FAILED
- SKIPPED
- WAITING
inputData: {}
outputData: {}
errorMessage:
type: string
attemptCount:
type: integer
format: int32
durationMs:
type: integer
format: int32
startedAt:
type: string
format: date-time
completedAt:
type: string
format: date-time
PageWorkflowExecutionResponse:
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/WorkflowExecutionResponse'
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
WorkflowRequest:
type: object
properties:
name:
type: string
maxLength: 255
minLength: 0
description:
type: string
maxLength: 2000
minLength: 0
enabled:
type: boolean
definition: {}
triggerType:
type: string
enum:
- WEBHOOK_EVENT
- MANUAL
- SCHEDULE
triggerConfig: {}
required:
- name
WorkflowResponse:
type: object
properties:
id:
type: string
format: uuid
projectId:
type: string
format: uuid
name:
type: string
description:
type: string
enabled:
type: boolean
definition: {}
triggerType:
type: string
enum:
- WEBHOOK_EVENT
- MANUAL
- SCHEDULE
triggerConfig: {}
version:
type: integer
format: int32
nextRunAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
totalExecutions:
type: integer
format: int64
successfulExecutions:
type: integer
format: int64
failedExecutions:
type: integer
format: int64
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_…