SourceFinch Delivery API

Destinations, signed webhooks and delivery receipts

GitHub OpenAPI

Operations 7

GET /v1/destinations List destinations #
POST /v1/destinations Create a destination #
GET /v1/destinations/{destination_id} Get a destination #
PATCH /v1/destinations/{destination_id} Rename, pause, resume or disable a destination #
POST /v1/destinations/{destination_id}:test Send a test delivery #
GET /v1/deliveries Delivery receipts #
POST /v1/deliveries/{delivery_id}:redeliver Redeliver #

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/sourcefinch-com:sourcefinch-com-delivery-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

sourcefinch-com-delivery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SourceFinch Delivery API
  version: 1.0.0
  description: 'Monitor public sources as structured records, each value traceable to retained, hashed evidence. Authenticate with a project API key (`Authorization: Bearer sec_…`). Errors are RFC 9457 problem details with a stable `code`. Lists use cursor pagination (`limit`, `cursor` → `next_cursor`).'
  contact:
    name: SourceFinch
    url: https://sourcefinch.com/docs/api
    email: hello@sourcefinch.com
  license:
    name: Proprietary
    url: https://sourcefinch.com/terms
servers:
- url: https://sourcefinch.com
  description: Production
tags:
- name: Delivery
  description: Destinations, signed webhooks and delivery receipts
paths:
  /v1/destinations:
    get:
      operationId: listDestinations
      summary: List destinations
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          default: 50
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 200
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: Destinations, newest first
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DestinationPage'
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    post:
      operationId: createDestination
      summary: Create a destination
      description: 'Webhooks: every successful run of the selected sources is POSTed to the URL, signed (Standard Webhooks) and retried with backoff for 24 hours. The signing secret is returned once.'
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: write
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Makes retries safe for 24 hours. Reusing a key with a different request returns 422.
        schema:
          type: string
          maxLength: 255
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationCreate'
      responses:
        '201':
          description: The destination, with its signing secret (once)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DestinationCreated'
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '402':
          description: Problem details; `code` is `plan_limit`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Problem details; `code` is `policy`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Problem details; `code` is `idempotency_mismatch`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/destinations/{destination_id}:
    get:
      operationId: getDestination
      summary: Get a destination
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: The destination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Destination'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Problem details; `code` is `not_found`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    patch:
      operationId: updateDestination
      summary: Rename, pause, resume or disable a destination
      description: Disabling cancels deliveries that have not been made yet.
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: write
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationUpdate'
      responses:
        '200':
          description: The destination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Destination'
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Problem details; `code` is `not_found`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/destinations/{destination_id}:test:
    post:
      operationId: testDestination
      summary: Send a test delivery
      description: Queues a signed `destination.test` delivery through the normal delivery path. Poll the delivery for its receipt.
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: write
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: destination_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        required: false
        description: Makes retries safe for 24 hours. Reusing a key with a different request returns 422.
        schema:
          type: string
          maxLength: 255
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
              additionalProperties: false
              description: Empty body. Send an Idempotency-Key header to make retries safe.
      responses:
        '202':
          description: The queued test delivery
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Delivery'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Problem details; `code` is `not_found`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Problem details; `code` is `idempotency_mismatch`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/deliveries:
    get:
      operationId: listDeliveries
      summary: Delivery receipts
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: read
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          default: 50
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 200
      - name: destination_id
        in: query
        required: false
        schema:
          type: string
          format: uuid
      - name: run_id
        in: query
        required: false
        schema:
          type: string
          format: uuid
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      responses:
        '200':
          description: Deliveries, newest first, with attempt receipts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryPage'
        '400':
          description: Problem details; `code` is `validation`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/deliveries/{delivery_id}:redeliver:
    post:
      operationId: redeliver
      summary: Redeliver
      description: Sends the same payload again with the same idempotency key (receivers dedupe on it).
      tags:
      - Delivery
      security:
      - bearer: []
      x-sourcefinch-scope: write
      x-sourcefinch-surfaces:
      - rest
      - sdk
      - cli
      - mcp
      - console
      parameters:
      - name: delivery_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Idempotency-Key
        in: header
        required: false
        description: Makes retries safe for 24 hours. Reusing a key with a different request returns 422.
        schema:
          type: string
          maxLength: 255
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Project'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
              additionalProperties: false
              description: Empty body. Send an Idempotency-Key header to make retries safe.
      responses:
        '202':
          description: The delivery, pending again
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Delivery'
        '401':
          description: Problem details; `code` is `unauthenticated`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Problem details; `code` is `forbidden`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Problem details; `code` is `not_found`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Problem details; `code` is `idempotency_mismatch`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Problem details; `code` is `rate_limited`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Problem details; `code` is `internal`
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    ErrorCode:
      type: string
      enum:
      - validation
      - unauthenticated
      - forbidden
      - not_found
      - conflict
      - policy
      - plan_limit
      - rate_limited
      - idempotency_mismatch
      - internal
    Destination:
      type: object
      properties:
        id:
          type: string
          format: uuid
        project_id:
          type: string
          format: uuid
        kind:
          $ref: '#/components/schemas/DestinationKind'
        name:
          type: string
        config:
          type: object
          additionalProperties: {}
        mode:
          type: string
          enum:
          - changes
          - snapshot
        source_ids:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        status:
          type: string
          enum:
          - active
          - paused
          - disabled
        status_reason:
          type:
          - string
          - 'null'
        created_at:
          type: string
          description: ISO-8601 timestamp (UTC)
        updated_at:
          type: string
          description: ISO-8601 timestamp (UTC)
      required:
      - id
      - project_id
      - kind
      - name
      - config
      - mode
      - source_ids
      - status
      - status_reason
      - created_at
      - updated_at
      description: Where SourceFinch delivers a project's results. Secrets are never returned.
      additionalProperties: false
    DeliveryPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Delivery'
        next_cursor:
          type:
          - string
          - 'null'
      required:
      - data
      - next_cursor
      additionalProperties: false
    Problem:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          $ref: '#/components/schemas/ErrorCode'
        request_id:
          type: string
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
            additionalProperties: false
      required:
      - type
      - title
      - status
      - code
      description: application/problem+json
      additionalProperties: false
    DestinationUpdate:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        status:
          type: string
          enum:
          - active
          - paused
          - disabled
      additionalProperties: false
    DestinationKind:
      type: string
      enum:
      - webhook
      - email
      - slack
      - google_sheets
      - postgres
      - s3
      - warehouse
    Delivery:
      type: object
      properties:
        id:
          type: string
          format: uuid
        destination_id:
          type: string
          format: uuid
        run_id:
          type:
          - string
          - 'null'
          format: uuid
        source_id:
          type:
          - string
          - 'null'
          format: uuid
        test:
          type: boolean
        idempotency_key:
          type: string
        status:
          type: string
          enum:
          - pending
          - in_flight
          - delivered
          - dead
          - cancelled
        attempts:
          type: integer
        next_attempt_at:
          type: string
          description: ISO-8601 timestamp (UTC)
        payload_sha256:
          type:
          - string
          - 'null'
        last_status_code:
          type:
          - integer
          - 'null'
        last_error:
          type:
          - string
          - 'null'
        last_attempt_at:
          type:
          - string
          - 'null'
          description: ISO-8601 timestamp (UTC)
        delivered_at:
          type:
          - string
          - 'null'
          description: ISO-8601 timestamp (UTC)
        created_at:
          type: string
          description: ISO-8601 timestamp (UTC)
      required:
      - id
      - destination_id
      - run_id
      - source_id
      - test
      - idempotency_key
      - status
      - attempts
      - next_attempt_at
      - payload_sha256
      - last_status_code
      - last_error
      - last_attempt_at
      - delivered_at
      - created_at
      additionalProperties: false
    DestinationPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Destination'
        next_cursor:
          type:
          - string
          - 'null'
      required:
      - data
      - next_cursor
      additionalProperties: false
    DestinationCreated:
      type: object
      properties:
        id:
          type: string
          format: uuid
        project_id:
          type: string
          format: uuid
        kind:
          $ref: '#/components/schemas/DestinationKind'
        name:
          type: string
        config:
          type: object
          additionalProperties: {}
        mode:
          type: string
          enum:
          - changes
          - snapshot
        source_ids:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        status:
          type: string
          enum:
          - active
          - paused
          - disabled
        status_reason:
          type:
          - string
          - 'null'
        created_at:
          type: string
          description: ISO-8601 timestamp (UTC)
        updated_at:
          type: string
          description: ISO-8601 timestamp (UTC)
        signing_secret:
          description: 'Webhooks only, shown once: verify the `webhook-signature` header with it (Standard Webhooks, HMAC-SHA256)'
          type:
          - string
          - 'null'
      required:
      - id
      - project_id
      - kind
      - name
      - config
      - mode
      - source_ids
      - status
      - status_reason
      - created_at
      - updated_at
      - signing_secret
      additionalProperties: false
    DestinationCreate:
      type: object
      properties:
        kind:
          type: string
          const: webhook
          description: Webhooks are available now; credential-backed destinations follow (ADR 0011)
        name:
          type: string
          minLength: 1
          maxLength: 100
        url:
          type: string
          maxLength: 2048
          format: uri
        mode:
          default: changes
          type: string
          enum:
          - changes
          - snapshot
        source_ids:
          default: null
          maxItems: 100
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
      required:
      - kind
      - name
      - url
      additionalProperties: false
  parameters:
    RequestId:
      name: X-Request-Id
      in: header
      required: false
      description: Echoed in the response and logs; generated when absent.
      schema:
        type: string
        pattern: ^[A-Za-z0-9._-]{8,100}$
    Project:
      name: SourceFinch-Project
      in: header
      required: false
      description: Project UUID. Required for session tokens; API keys are bound to their project.
      schema:
        type: string
        format: uuid
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Project API key (sec_…) or a session token