Railhook Platform Admin API
Deployment-wide overview and accounts (platform admin only)
Deployment-wide overview and accounts (platform admin only)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/railhook-io:railhook-io-platform-admin-api"
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.
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: 3.2.0
info:
title: Railhook Platform Admin 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: Platform Admin
description: Deployment-wide overview and accounts (platform admin only)
paths:
/api/v1/admin/users:
get:
tags:
- Platform Admin
summary: List accounts
description: 'Every account on this deployment, newest first, optionally narrowed by address or name: verification, status, sign-in methods, organizations and last activity. Never carries a password hash or any token.'
operationId: adminListUsers
parameters:
- name: search
in: query
required: false
schema:
type: string
- name: pageable
in: query
required: true
schema:
$ref: '#/components/schemas/Pageable'
responses:
'200':
description: A page of accounts
content:
'*/*':
schema:
$ref: '#/components/schemas/PageAdminUserResponse'
'403':
description: Forbidden — requires the platform admin
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Too many platform admin requests
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- bearerAuth: []
- platformAdminToken: []
/api/v1/admin/overview:
get:
tags:
- Platform Admin
summary: Deployment overview
description: Organizations, accounts and sign-ups, event and delivery volume, active tunnels, organizations at 80% or more of their monthly event limit, and the most recent sign-ups. Counts only.
operationId: adminGetOverview
responses:
'200':
description: The overview
content:
'*/*':
schema:
$ref: '#/components/schemas/PlatformOverviewResponse'
'403':
description: Forbidden — requires the platform admin
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Too many platform admin requests
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- bearerAuth: []
- platformAdminToken: []
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
PlatformOverviewResponse:
type: object
properties:
organizations:
type: integer
format: int64
suspendedOrganizations:
type: integer
format: int64
users:
type: integer
format: int64
signupsToday:
type: integer
format: int64
signups7d:
type: integer
format: int64
signups30d:
type: integer
format: int64
eventsToday:
type: integer
format: int64
events30d:
type: integer
format: int64
deliveriesSucceeded24h:
type: integer
format: int64
deliveriesFailed24h:
type: integer
format: int64
activeTunnels:
type: integer
format: int64
organizationsNearQuota:
type: integer
format: int64
daily30d:
type: array
items:
$ref: '#/components/schemas/Day'
activation30d:
$ref: '#/components/schemas/Activation'
recentSignups:
type: array
items:
$ref: '#/components/schemas/AdminSignupResponse'
generatedAt:
type: string
format: date-time
AdminUserResponse:
type: object
properties:
id:
type: string
format: uuid
email:
type: string
fullName:
type: string
emailVerified:
type: boolean
status:
type: string
enum:
- ACTIVE
- PENDING_VERIFICATION
- DISABLED
signInMethods:
type: array
items:
type: string
organizations:
type: array
items:
$ref: '#/components/schemas/OrganizationMembership'
createdAt:
type: string
format: date-time
lastSeenAt:
type: string
format: date-time
platformAdmin:
type: boolean
PageAdminUserResponse:
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/AdminUserResponse'
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
Activation:
type: object
properties:
signups:
type: integer
format: int64
verified:
type: integer
format: int64
organizations:
type: integer
format: int64
withProject:
type: integer
format: int64
withEvent:
type: integer
format: int64
Day:
type: object
properties:
date:
type: string
format: date
signups:
type: integer
format: int64
events:
type: integer
format: int64
ErrorResponse:
type: object
properties:
error:
type: string
message:
type: string
status:
type: integer
format: int32
fieldErrors:
type: object
additionalProperties:
type: string
OrganizationMembership:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
role:
type: string
enum:
- OWNER
- DEVELOPER
- VIEWER
- API_KEY
AdminSignupResponse:
type: object
properties:
userId:
type: string
format: uuid
email:
type: string
fullName:
type: string
emailVerified:
type: boolean
status:
type: string
enum:
- ACTIVE
- PENDING_VERIFICATION
- DISABLED
signInMethods:
type: array
items:
type: string
organizationId:
type: string
format: uuid
organizationName:
type: string
createdAt:
type: string
format: date-time
Pageable:
type: object
properties:
page:
type: integer
format: int32
minimum: 0
size:
type: integer
format: int32
minimum: 1
sort:
type: array
items:
type: string
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_…