Relin Events API

Read sources, events, delivery attempts, and open issues.

GitHub OpenAPI

Operations 14

GET /api/v1/sources List sources #
POST /api/v1/sources Create source #
GET /api/v1/sources/{sourceId} Get source #
PATCH /api/v1/sources/{sourceId} Update source #
DELETE /api/v1/sources/{sourceId} Archive source #
POST /api/v1/sources/{sourceId}/rotate-token Rotate source ingest URL #
GET /api/v1/events List events #
GET /api/v1/events/{eventId} Get event #
GET /api/v1/events/{eventId}/payload Get event payload #
GET /api/v1/events/{eventId}/attempts List event attempts #
POST /api/v1/events/{eventId}/replay Replay event #
GET /api/v1/anomalies List open issues #
POST /api/v1/anomalies/resolve Resolve anomalies #
GET /api/v1/delivery-attempts List delivery attempts #

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/relin-app:relin-app-events-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

relin-app-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Relin Events API
  version: 1.0.0
  description: Relin API for developer configuration, customer portal access, events, deliveries, retries, metrics, and alerts.
servers:
- url: https://relin.app
security:
- bearerAuth: []
tags:
- name: Events
  description: Read sources, events, delivery attempts, and open issues.
paths:
  /api/v1/sources:
    get:
      tags:
      - Events
      summary: List sources
      description: List inbound sources for the signed-in workspace.
      parameters: []
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  sources: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  sources: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  sources: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1Sources
      x-operation-id-source: derived
    post:
      tags:
      - Events
      summary: Create source
      description: Create a source and return its one-time ingest URL.
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 120
                vendor:
                  type: string
                  enum:
                  - github
                  - stripe
                  - shopify
                  - twilio
                  - sendgrid
                  - slack
                  - custom
                signingSecret:
                  type: string
                  maxLength: 500
              required:
              - name
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  source: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  source: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  source: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiV1Sources
      x-operation-id-source: derived
  /api/v1/sources/{sourceId}:
    get:
      tags:
      - Events
      summary: Get source
      description: Fetch one inbound source.
      parameters:
      - name: sourceId
        in: path
        required: true
        description: Source ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  source: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  source: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  source: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1SourcesBySourceId
      x-operation-id-source: derived
    patch:
      tags:
      - Events
      summary: Update source
      description: Update source settings.
      parameters:
      - name: sourceId
        in: path
        required: true
        description: Source ID
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 120
                signingSecret:
                  type: string
                  maxLength: 500
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ok: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ok: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ok: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchApiV1SourcesBySourceId
      x-operation-id-source: derived
    delete:
      tags:
      - Events
      summary: Archive source
      description: Archive a source and stop accepting new events for it.
      parameters:
      - name: sourceId
        in: path
        required: true
        description: Source ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ok: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ok: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ok: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteApiV1SourcesBySourceId
      x-operation-id-source: derived
  /api/v1/sources/{sourceId}/rotate-token:
    post:
      tags:
      - Events
      summary: Rotate source ingest URL
      description: Rotate the source ingest token and return the new ingest URL.
      parameters:
      - name: sourceId
        in: path
        required: true
        description: Source ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ingestUrl: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ingestUrl: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  ingestUrl: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiV1SourcesBySourceIdRotateToken
      x-operation-id-source: derived
  /api/v1/events:
    get:
      tags:
      - Events
      summary: List events
      description: List recent events from the ledger.
      parameters:
      - name: sourceId
        in: query
        required: false
        schema:
          type: string
      - name: q
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  events: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  events: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  events: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1Events
      x-operation-id-source: derived
  /api/v1/events/{eventId}:
    get:
      tags:
      - Events
      summary: Get event
      description: Fetch one event.
      parameters:
      - name: eventId
        in: path
        required: true
        description: Event ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  event: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  event: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  event: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1EventsByEventId
      x-operation-id-source: derived
  /api/v1/events/{eventId}/payload:
    get:
      tags:
      - Events
      summary: Get event payload
      description: Fetch the raw payload for one Ingest event.
      parameters:
      - name: eventId
        in: path
        required: true
        description: Event ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  payload: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  payload: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  payload: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1EventsByEventIdPayload
      x-operation-id-source: derived
  /api/v1/events/{eventId}/attempts:
    get:
      tags:
      - Events
      summary: List event attempts
      description: List ingest and delivery attempts for one event.
      parameters:
      - name: eventId
        in: path
        required: true
        description: Event ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  attempts: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  attempts: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  attempts: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1EventsByEventIdAttempts
      x-operation-id-source: derived
  /api/v1/events/{eventId}/replay:
    post:
      tags:
      - Events
      summary: Replay event
      description: Queue replay for one event.
      parameters:
      - name: eventId
        in: path
        required: true
        description: Event ID
        schema:
          type: string
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  replay: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  replay: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  replay: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiV1EventsByEventIdReplay
      x-operation-id-source: derived
  /api/v1/anomalies:
    get:
      tags:
      - Events
      summary: List open issues
      description: List open issues.
      parameters: []
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  anomalies: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  anomalies: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  anomalies: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1Anomalies
      x-operation-id-source: derived
  /api/v1/anomalies/resolve:
    post:
      tags:
      - Events
      summary: Resolve anomalies
      description: Mark one or more open anomalies resolved by anomaly_id. Returns the count of rows updated.
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                anomalyIds:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  minItems: 1
                  maxItems: 500
              required:
              - anomalyIds
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  resolved: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  resolved: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  resolved: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiV1AnomaliesResolve
      x-operation-id-source: derived
  /api/v1/delivery-attempts:
    get:
      tags:
      - Events
      summary: List delivery attempts
      description: List recent delivery attempts across sources and destinations.
      parameters:
      - name: eventId
        in: query
        required: false
        schema:
          type: string
      - name: destinationId
        in: query
        required: false
        schema:
          type: string
      - name: status
        in: query
        required: false
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  data: {}
        '201':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  data: {}
        '202':
          description: JSON response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  data: {}
        '400':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiV1DeliveryAttempts
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        ok:
          type: boolean
          example: false
        error:
          type: string
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer