Saturation Connections API

Connected bank accounts and which projects see them.

GitHub OpenAPI

Operations 2

GET /connections/bank-accounts List bank accounts #
PUT /connections/bank-accounts/{bankAccountId}/access Set which projects see a bank account #

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/saturation-io:saturation-io-connections-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

saturation-io-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Saturation Connections API
  version: 1.0.0
  description: 'Read and write production finance data in Saturation. Authenticate with a personal token in the `Authorization` header: `Bearer `. Create a token under Settings > Developers > API. Each token belongs to one workspace.

    Conventions:

    - Successful responses contain the requested resource. Lists contain `data` and an optional `nextCursor`. Errors contain `success`, `code`, `message`, and `requestId`.

    - Money uses integer minor units and an ISO-4217 currency, for example `{ "amount": 152900, "currency": "USD" }`. Budget totals and phase data are decimals in major units. Dates use ISO 8601.

    - Lists default to 50 items and allow up to 100. Pass `nextCursor` as `cursor` for the next page. Set `withCount=true` to include the total count.

    - `404 not_found` means the resource does not exist or is not available to the token.'
  contact:
    name: Saturation API
    url: https://docs.saturation.io
  license:
    name: Proprietary
    url: https://saturation.io/terms
servers:
- url: https://next-api.saturation.io/v1
  description: Configured environment
security:
- bearerAuth: []
tags:
- name: Connections
  description: Connected bank accounts and which projects see them.
paths:
  /connections/bank-accounts:
    get:
      operationId: connections_listBankAccounts
      summary: List bank accounts
      description: Returns the workspace's connected bank accounts, the 100 most recently connected, and which projects see each one. `access.projectIds` lists only projects you can open; links to other projects are not shown or counted. Linking a bank happens in Saturation. A connected app needs the sign-in choice "Read and write, including which projects see bank accounts" (`bank_account_access`); without it this returns `403 scope_exceeded`.
      tags:
      - Connections
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum items per page. Capped at 100. Send neither `limit` nor `cursor` to get every item.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - $ref: '#/components/parameters/cursor'
      responses:
        '200':
          description: Connected bank accounts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BankAccountList'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '429':
          $ref: '#/components/responses/Error429'
  /connections/bank-accounts/{bankAccountId}/access:
    put:
      operationId: connections_updateBankAccountAccess
      summary: Set which projects see a bank account
      description: 'Sets `projectMode` and replaces the account''s links to projects you can open with `projectIds`, which take a project''s ID or slug. Links to projects you cannot open are kept. Send the `access` you read as `ifMatch`: if it no longer matches what you can see, nothing changes and the call returns `409 precondition_failed`, so read the account again. A missing bank account returns `404 not_found`, checked before the projects. A missing or unreachable project returns `400 validation`. Changing `projectMode` needs access to every project, since it decides for projects you can''t see; otherwise the call returns `400 validation`, so set `projectIds` instead. A connected app needs the sign-in choice "Read and write, including which projects see bank accounts" (`bank_account_access`).'
      tags:
      - Connections
      parameters:
      - name: bankAccountId
        in: path
        required: true
        description: The bank account ID.
        schema:
          $ref: '#/components/schemas/Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BankAccountAccessUpdate'
            example:
              projectMode: selected
              projectIds:
              - prj_8f2a1c9e
              - prj_3b7d0e41
              ifMatch:
                projectMode: selected
                projectIds:
                - prj_8f2a1c9e
      responses:
        '200':
          description: The bank account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BankAccount'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '422':
          $ref: '#/components/responses/Error422'
        '429':
          $ref: '#/components/responses/Error429'
components:
  schemas:
    BankAccount:
      type: object
      description: A connected bank account.
      required:
      - id
      - institution
      - name
      - last4
      - status
      - lastSyncedAt
      - earliestTransactionDate
      - access
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        institution:
          type:
          - string
          - 'null'
          description: The bank.
        name:
          type: string
          description: The account's name at the bank.
        last4:
          type:
          - string
          - 'null'
          description: Last four digits of the account number.
        status:
          $ref: '#/components/schemas/BankAccountStatus'
        lastSyncedAt:
          type:
          - string
          - 'null'
          format: date-time
          description: When the feed last synced.
        earliestTransactionDate:
          type:
          - string
          - 'null'
          format: date
          description: The date of the earliest transaction the bank sent.
        access:
          $ref: '#/components/schemas/BankAccountAccess'
    ErrorCode:
      type: string
      description: Error code for programmatic handling.
      enum:
      - unauthenticated
      - invalid_token
      - missing_authorization
      - token_revoked
      - permission_revoked
      - scope_exceeded
      - forbidden
      - feature_not_available
      - upgrade_required
      - capacity_exceeded
      - approval_required
      - resource_locked
      - temporarily_unavailable
      - role_ceiling_exceeded
      - user_token_required
      - api_access_disabled
      - not_found
      - document_target_not_found
      - validation
      - cursor_invalid
      - expand_invalid
      - invalid_date_range
      - webhook_https_required
      - range_too_large
      - account_path_ambiguous
      - account_code_ambiguous
      - budget_compute_stale
      - idempotency_conflict
      - precondition_failed
      - already_linked
      - status_unreachable_for_source
      - po_invalid_status
      - webhook_url_invalid_ssrf
      - phase_copy_unsupported
      - already_merged
      - grouped_source
      - currency_mismatch
      - project_mismatch
      - multiple_payments
      - purchase_order_mismatch
      - payment_pending
      - cash_advance_unsupported
      - accounting_unsupported
      - accounting_link_conflict
      - accounting_link_stopped
      - accounting_sync_excluded
      - accounting_period_closed
      - field_read_only
      - missing_fx
      - scenario_too_large
      - source_not_postable
      - webhook_url_blocked
      - budget_too_large
      - bulk_too_large
      - rate_limited
      - feedback_limit
      - signing_key_not_configured
      - internal_error
      - budget_compute_timeout
    BankAccountProjectMode:
      type: string
      description: '`all`: every project sees the account. `selected`: only the projects in `projectIds`.'
      enum:
      - all
      - selected
    ProductAccessDecision:
      type: object
      description: Explains why a product feature is unavailable and how to resolve it.
      required:
      - operationId
      - allowed
      - state
      - primary
      - remediations
      - resolvingPlanId
      additionalProperties: false
      properties:
        operationId:
          type: string
          minLength: 1
        allowed:
          type: boolean
        state:
          type: string
          enum:
          - allowed
          - warning
          - denied
          - indeterminate
        primary:
          type:
          - object
          - 'null'
          additionalProperties: false
          required:
          - kind
          - status
          - reason
          properties:
            kind:
              type: string
              enum:
              - principal
              - authority
              - policy
              - rollout
              - provider
              - entitlement
              - quota
            status:
              type: string
              enum:
              - warning
              - denied
              - indeterminate
            reason:
              type: string
              enum:
              - principal_unauthenticated
              - principal_expired
              - principal_suspended
              - resource_unreachable
              - permission_denied
              - resource_locked
              - approval_required
              - safety_restricted
              - rollout_disabled
              - delivery_unavailable
              - provider_unavailable
              - provider_ineligible
              - legal_restricted
              - plan_excluded
              - contract_restricted
              - subscription_restricted
              - quota_warning
              - quota_exhausted
              - quota_unknown
              - quota_reservation_required
              - dependency_unknown
            quotaId:
              type: string
              minLength: 1
            usage:
              type: integer
              minimum: 0
            limit:
              type: integer
              minimum: 0
        remediations:
          type: array
          items:
            type: string
            enum:
            - self_serve_upgrade
            - contact_billing_owner
            - contact_sales
            - buy_capacity
            - cleanup
            - authenticate
            - request_access
            - resolve_policy
            - wait_for_rollout
            - resolve_provider
            - recover_payment
            - reactivate_subscription
            - contact_support
            - renew_link
        currentPlanId:
          type: string
          enum:
          - free
          - pro
          - team
          - enterprise
        resolvingPlanId:
          type:
          - string
          - 'null'
          enum:
          - free
          - pro
          - team
          - enterprise
          - null
        correlationId:
          type: string
          minLength: 1
    Error:
      type: object
      description: 'The uniform error envelope. Only errors carry `success: false`; success responses are the bare resource or a `{ data, nextCursor? }` collection.'
      required:
      - success
      - code
      - message
      - requestId
      additionalProperties: false
      properties:
        success:
          type: boolean
          const: false
          description: Always `false`. Present only on errors.
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: Human-readable description of the failure.
        requestId:
          type: string
          description: Request ID for support and troubleshooting.
          examples:
          - req_3f9b2a7c
        fieldErrors:
          type: object
          description: Validation messages keyed by input field.
          additionalProperties:
            type: array
            items:
              type: string
        requiredAbility:
          type: string
          description: Permission required for the action, such as `update:Transaction`.
        retryAfter:
          type: integer
          description: Seconds to wait before retrying.
        accessDecision:
          $ref: '#/components/schemas/ProductAccessDecision'
          description: Product-access details when the operation is unavailable.
        mergedIntoId:
          allOf:
          - $ref: '#/components/schemas/Id'
          description: On a `404` from an update or delete of a merged transaction's old ID, the ID of the transaction it was merged into. Present only when you can read both.
          examples:
          - txn_pay1027
    BankAccountAccess:
      type: object
      description: Which projects see a bank account, as you can see it.
      required:
      - projectMode
      - projectIds
      additionalProperties: false
      properties:
        projectMode:
          $ref: '#/components/schemas/BankAccountProjectMode'
        projectIds:
          type: array
          description: IDs of the projects you can open that see the account, at most 1000. Applies when `projectMode` is `selected`.
          maxItems: 1000
          items:
            $ref: '#/components/schemas/Id'
    BankAccountList:
      type: object
      description: The workspace's connected bank accounts.
      required:
      - data
      additionalProperties: false
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/BankAccount'
        nextCursor:
          $ref: '#/components/schemas/NextCursor'
    BankAccountStatus:
      type: string
      description: The bank feed's health. `reconnect_needed` and `error` are fixed by reconnecting in Saturation.
      enum:
      - active
      - paused
      - reconnect_needed
      - error
    Id:
      type: string
      description: A stable resource ID, such as `prj_…`, `txn_…`, or `doc_…`.
      examples:
      - txn_8f2a1c9e
    NextCursor:
      type:
      - string
      - 'null'
      description: Cursor for the next page. Pass it as `cursor` with the same filters and sort. Null on the last page.
      examples:
      - eyJpZCI6InR4bl84ZjJhMWM5ZSJ9
      - null
    BankAccountAccessUpdate:
      type: object
      description: Which projects see a bank account, and the access you read.
      required:
      - projectMode
      - projectIds
      - ifMatch
      additionalProperties: false
      properties:
        projectMode:
          $ref: '#/components/schemas/BankAccountProjectMode'
        projectIds:
          type: array
          description: Project IDs or slugs, at most 1000. Replaces the account's links to projects you can open; links to other projects are kept.
          maxItems: 1000
          items:
            $ref: '#/components/schemas/Id'
        ifMatch:
          $ref: '#/components/schemas/BankAccountAccess'
          description: The `access` you read, as you read it. Its `projectIds` take the IDs the read returned, not slugs.
  responses:
    Error400:
      description: The request is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error422:
      description: The request names a read-only field or cannot be processed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: Rate limited. See `Retry-After` before retrying.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error409:
      description: The request conflicts with the current resource state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error404:
      description: Not found or unavailable to the token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: Unauthenticated, `unauthenticated`, `invalid_token`, `missing_authorization` or `token_revoked` (expired, malformed, missing or revoked credentials).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: Forbidden. The token does not allow this action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    cursor:
      name: cursor
      in: query
      required: false
      description: Cursor from the previous page's `nextCursor`. Use it with the same filters and sort.
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Personal API token sent as `Bearer <token>`. Each token belongs to one workspace.