> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.incaseof.law/llms.txt
> Use this file to discover all available pages before exploring further.

# Create claim

> Create a new claim. The organisation is determined from your API key (partner keys: from `customer_id`).
Financial, workflow and collection-stage fields are managed by incaseof.law and cannot be set here — upload the
invoice to the claim afterwards (`POST /openapi/claims/{claim_id}/invoices` or `/invoices/manual`).

**Partner keys:** `customer_id` is required; a `debtor_id` must be a debtor of your own customers.
**Organisation keys:** `customer_id` is optional; `collection_basis` cannot be set.

**Partner program (side effect):** the **first** claim created for a partner-created customer with a valid
e-mail sends that customer an invitation to the incaseof.law portal. Later claims do not send again.




## OpenAPI

````yaml post /openapi/claims
openapi: 3.0.3
info:
  title: incaseof.law Partner API
  version: 1.0.0
  description: >
    The incaseof.law partner API (`/openapi/*`): create claims and debtors,
    attach invoices and documents, record

    payments, follow a claim through collection and take the judicial-step
    decision.


    This document is the contract the API is tested against: every path, request
    body and response field here is

    compared with the implementation on each change. A field that is not listed
    here is not part of the API.


    ## Authentication


    Every `/openapi` request carries `Authorization: Bearer <api key>`. API keys
    are opaque strings starting with

    `ico_live_` (not JWTs). Request a key at https://app.incaseof.law/openapi;
    incaseof.law reviews the request and

    sends the key by e-mail.


    - **Organisation keys** act for one creditor organisation.

    - **Partner keys** act for a partner (software vendor, reseller) and its
    customers. Requests that create a claim
      or a debtor name the customer with `customer_id`; reads and updates reach every object of the partner's own
      customers without it. A `customer_id` that does not exist answers `400`, one of another partner `403`.

    ## Errors


    Every error answers `{ "success": false, "message": "…" }`, some with an
    `error` code. Validation errors list the

    failed fields in `details` (see `BadRequest`). Every response carries the
    rate-limit headers (see

    `TooManyRequests`).


    ## Partner intake rules


    Some partner agreements require more than the API's own required fields, and
    some prohibit data. They apply to

    partner keys only, are set per partner account by incaseof.law, and are
    checked **before anything is stored** — a

    refused request leaves no claim, invoice, PDF, payment, document or customer
    behind.


    - **Required fields.** The fields marked *optional unless your partner
    agreement requires it* exist for every
      caller. When your agreement requires one, a request without it answers `400` naming each missing field
      (`"message": "default_date required"`, one `details` entry per field). They are checked on creation only: on
      `POST /openapi/claims` (`creditor_confirmation`), both invoice endpoints (`default_date`,
      `creditor_reminder_dates` — not with `default_basis: bgb_286_3` —, `contract_date`, `subject`),
      `POST /openapi/debtors` (`legal_representative`) and `POST /openapi/customers` (`legal_form`,
      `legal_representative` — `owner` for a sole trader —, `billing_email`, `payout_account`, `vat_deductible`).
    - **Prohibited data (health data).** When your agreement prohibits health
    data, these free-text fields are checked:
      invoice `subject` (on the PDF upload also `description`), `invoice_issuer`, `invoice_recipient`; payment `notes`;
      document `description`; customer `metadata`. A value that looks like a health insurance number (KVNR: a capital
      letter and nine digits), an institution code (IK: a nine-digit number on its own), the word `PZN`, `Pflegegrad`,
      `Diagnose`, the word `ICD` or an ICD code with its dot (`F32.1`) answers `400` with
      `"error": "PROHIBITED_DATA"` and the field in `details` (the value is never echoed). Use neutral wording, e.g.
      "Privatärztliche Leistung vom 01.09.2026".

    ## Webhooks


    incaseof.law can push events to a partner-controlled HTTPS endpoint whenever
    a claim's lifecycle changes:

    `claim.collection_stage_changed` and `claim.status_changed`. See the
    **Webhooks** section at the bottom of this

    document for the payload shape, header reference, signature scheme and retry
    policy.
servers:
  - url: https://service.incaseof.law
    description: Production API
  - url: https://sandbox.incaseof.law
    description: Partner sandbox (test data only, sandbox keys — see "Partner sandbox")
security:
  - bearerAuth: []
tags:
  - name: Health
    description: Service availability
  - name: Claims
    description: Claims, their status and the judicial-step decision
  - name: Debtors
    description: Debtors of your claims
  - name: Invoices
    description: The invoices a claim is based on
  - name: Payments
    description: Payments the debtor made
  - name: Documents
    description: Supporting documents of a claim
  - name: Customers
    description: A partner's customers (the creditors it works for)
paths:
  /openapi/claims:
    post:
      tags:
        - Claims
      summary: Create claim
      description: >
        Create a new claim. The organisation is determined from your API key
        (partner keys: from `customer_id`).

        Financial, workflow and collection-stage fields are managed by
        incaseof.law and cannot be set here — upload the

        invoice to the claim afterwards (`POST
        /openapi/claims/{claim_id}/invoices` or `/invoices/manual`).


        **Partner keys:** `customer_id` is required; a `debtor_id` must be a
        debtor of your own customers.

        **Organisation keys:** `customer_id` is optional; `collection_basis`
        cannot be set.


        **Partner program (side effect):** the **first** claim created for a
        partner-created customer with a valid

        e-mail sends that customer an invitation to the incaseof.law portal.
        Later claims do not send again.
      operationId: createClaim
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateClaimInput'
            examples:
              clientToken:
                summary: Create claim (organisation key)
                value:
                  debtor_id: a1b2c3d4-0000-0000-0000-000000000000
              withoutDebtor:
                summary: Create claim without debtor (the invoice upload fills it in)
                value: {}
              partnerToken:
                summary: Create claim (partner key)
                value:
                  debtor_id: a1b2c3d4-0000-0000-0000-000000000000
                  customer_id: c5d6e7f8-0000-0000-0000-000000000000
                  partner_reference: DOC-2026-004711
      responses:
        '201':
          description: Claim created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponseClaim'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    CreateClaimInput:
      type: object
      properties:
        debtor_id:
          type: string
          format: uuid
          description: >-
            A debtor of your organisation (partner keys — of your own
            customers). Optional; can be linked later.
        customer_id:
          type: string
          format: uuid
          description: >-
            Partner keys — required; the customer the claim is for. Organisation
            keys — optional.
        partner_reference:
          type: string
          minLength: 1
          maxLength: 255
          description: >
            Your own reference for the claim (for example your case ID).
            Returned on the claim and as

            `partner_reference` in every webhook event. It is never printed on a
            letter to the debtor.
          example: DOC-2026-004711
        collection_basis:
          type: string
          enum:
            - assignment
            - mandate
          description: >
            Partner keys only. `mandate` for claims collected in the client's
            name under a collection mandate (GTC I.2f,

            e.g. healthcare claims): the principal is not assigned to
            incaseof.law; collection costs and default

            interest are (GTC III). Set it when you create the claim — it cannot
            be changed through the API afterwards.

            When you leave it out, the claim takes the collection basis agreed
            for your partner account: `assignment`

            unless your agreement provides for collection mandates. A value you
            send always takes precedence.
        creditor_confirmation:
          $ref: '#/components/schemas/CreditorConfirmationInput'
    ApiResponseClaim:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          $ref: '#/components/schemas/Claim'
    CreditorConfirmationInput:
      type: object
      description: >
        The creditor's confirmation for this claim (GTC I.2a): the warranties
        for the claim are given and the debtor's

        data may be passed on. Both statements must be `true`. Optional, unless
        your partner agreement requires it —

        then a claim without it answers `400` (`creditor_confirmation required`)
        and is not created.
      required:
        - warranties_confirmed
        - consent_confirmed
      properties:
        warranties_confirmed:
          type: boolean
          enum:
            - true
        consent_confirmed:
          type: boolean
          enum:
            - true
    Claim:
      type: object
      properties:
        id:
          type: string
          format: uuid
        debtor_id:
          type: string
          format: uuid
          nullable: true
        customer_id:
          type: string
          format: uuid
          nullable: true
          description: The customer the claim belongs to (partner keys)
        case_reference:
          type: string
          nullable: true
          description: incaseof.law's case number
        external_reference:
          type: string
          nullable: true
          description: The creditor's reference printed on letters to the debtor
        partner_reference:
          type: string
          nullable: true
          description: >-
            The reference you set when creating the claim through the API
            (`null` otherwise).
        collection_basis:
          type: string
          enum:
            - assignment
            - mandate
          description: >-
            `mandate` when the claim is collected under a collection mandate
            (GTC I.2f), `assignment` otherwise. Set on creation only.
        creditor_confirmed_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the claim was created with `creditor_confirmation` (GTC I.2a);
            `null` when it came without one.
        status:
          allOf:
            - $ref: '#/components/schemas/ClaimStatus'
        case_status:
          type: string
          enum:
            - open
            - disputed
            - closed
          description: >
            The case status — the value the `claim.status_changed` webhook
            sends. `closed` when `collection_stage` is

            `closed`; otherwise `disputed` when the claim is disputed
            (`claim_disputed`); otherwise `open`.
        closure_reason:
          type: string
          nullable: true
          enum:
            - paid
            - installment_plan
            - written_off
            - withdrawn
            - disputed
            - merged
            - insolvency
          description: >
            Why the claim was closed; `null` while it is not closed. `paid` —
            paid in full; `installment_plan` — paid in

            full through an instalment plan; `written_off` — closed as
            uncollectable; `withdrawn` — the creditor called

            the case off; `disputed` — closed because the claim is disputed;
            `merged` — merged into another claim of

            the same creditor against the same debtor, which continues in its
            place; `insolvency` — insolvency

            proceedings were opened against the debtor, so the claim can only be
            filed in those proceedings.
        closed_at:
          type: string
          format: date-time
          nullable: true
        collection_stage:
          allOf:
            - $ref: '#/components/schemas/CollectionStage'
        claim_disputed:
          type: boolean
        obligation_fulfilled:
          type: boolean
        subject_matter:
          type: string
          nullable: true
        debtor_type:
          type: string
          enum:
            - privateperson
            - protocolled_company
            - unprotocolled_company
          nullable: true
        jurisdiction:
          type: string
          enum:
            - AT
            - DE
          nullable: true
        total_claim_amount:
          type: number
          nullable: true
          description: Sum of the claim's invoices (gross) and reminder fees, EUR
        total_claim_currency:
          type: string
          example: EUR
        due_date:
          type: string
          format: date
          nullable: true
        document_date:
          type: string
          format: date
          nullable: true
        installment_status:
          type: string
          nullable: true
          description: State of an instalment plan, `null` without one
        aktenzeichen:
          type: object
          nullable: true
          description: >-
            The court's file number (Aktenzeichen) once the claim is in court,
            e.g. 123 CG 4567/25 x.
          properties:
            office:
              type: string
              description: Court office code
              example: '123'
            department:
              type: string
              example: '012'
            caseType:
              type: string
              example: CG
            caseNumber:
              type: integer
              example: 4567
            year:
              type: integer
              example: 2025
            checkCharacter:
              type: string
              example: x
        first_notice_sent_date:
          type: string
          format: date
          nullable: true
        first_notice_total_amount:
          type: number
          nullable: true
          description: Total the first demand letter asked for, EUR
        second_notice_sent_date:
          type: string
          format: date
          nullable: true
        second_notice_total_amount:
          type: number
          nullable: true
        third_notice_sent_date:
          type: string
          format: date-time
          nullable: true
        third_notice_total_amount:
          type: number
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        debtor:
          allOf:
            - $ref: '#/components/schemas/Debtor'
          nullable: true
          description: >-
            Only on `GET` / `PATCH /openapi/claims/{id}` and in the list (fewer
            fields there).
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
        payments:
          type: array
          description: The payments the debtor made (`GET` / `PATCH /openapi/claims/{id}`).
          items:
            $ref: '#/components/schemas/Payment'
    ClaimStatus:
      type: string
      enum:
        - pending
        - open
        - in_collection
        - disputed
        - paid
        - closed
      description: >
        Internal workflow value. Not every closed claim reads `closed` here —
        use `case_status` and `closure_reason`

        to follow a claim.
    CollectionStage:
      type: string
      enum:
        - new
        - in_processing
        - first_demand_letter
        - second_demand_letter
        - third_demand_letter
        - installment_payment
        - installment_cancelled
        - dunning_action_recommended
        - dunning_action_filed
        - exekutionsantrag_recommended
        - closed
        - warten_auf_zinstermin
        - manuelle_pruefung
        - mzr_aufhebungserklaerung_sent
        - mzr_klage_recommended
      description: >
        Current step in the collection workflow — one of 15 values:


        | Value | Meaning |

        |---|---|

        | `new` | Claim received, not yet processed |

        | `in_processing` | Being checked by the incaseof.law team |

        | `first_demand_letter` | First demand letter sent |

        | `second_demand_letter` | Second demand letter sent |

        | `third_demand_letter` | Third demand letter sent |

        | `installment_payment` | An instalment plan is running |

        | `installment_cancelled` | The instalment plan was cancelled |

        | `dunning_action_recommended` | Court action recommended — waiting for
        the creditor's decision |

        | `dunning_action_filed` | Court action filed |

        | `exekutionsantrag_recommended` | Enforcement application recommended |

        | `closed` | Closed |

        | `warten_auf_zinstermin` | Tenancy claims only: waiting for the next
        rent due date |

        | `manuelle_pruefung` | Tenancy claims only: manual legal review |

        | `mzr_aufhebungserklaerung_sent` | Tenancy claims only: termination
        declaration sent |

        | `mzr_klage_recommended` | Tenancy claims only: action for rent and
        eviction recommended |
    Debtor:
      type: object
      properties:
        id:
          type: string
          format: uuid
        customer_id:
          type: string
          format: uuid
          nullable: true
        acting_as:
          type: string
          enum:
            - person
            - company
        debtor_type:
          type: string
          enum:
            - privateperson
            - protocolled_company
            - unprotocolled_company
        person:
          type: object
          nullable: true
          properties:
            salutation:
              type: string
              enum:
                - mr
                - mrs
                - diverse
              nullable: true
            first_name:
              type: string
            last_name:
              type: string
            birth_date:
              type: string
              nullable: true
        company:
          $ref: '#/components/schemas/DebtorCompany'
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/Address'
        communication_channels:
          type: array
          items:
            $ref: '#/components/schemas/CommunicationChannel'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Invoice:
      type: object
      properties:
        id:
          type: string
          format: uuid
        claim_id:
          type: string
          format: uuid
        invoice_number:
          type: string
          nullable: true
          example: INV-1001
        invoice_issuer:
          type: string
          nullable: true
        invoice_recipient:
          type: string
          nullable: true
        subject:
          type: string
          nullable: true
        invoice_amount_net:
          type: number
          nullable: true
        invoice_amount_gross:
          type: number
          nullable: true
          description: The amount on the invoice
        invoice_issue_date:
          type: string
          format: date
          nullable: true
        invoice_due_date:
          type: string
          format: date
          nullable: true
        creditor_reminder_fees_incurred:
          type: number
          nullable: true
        amount_paid:
          type: number
          nullable: true
          description: >-
            Paid by the debtor to the creditor before handover, as you reported
            it; `null` when nothing was reported
        last_payment_date:
          type: string
          format: date
          nullable: true
          description: Date of that payment, when reported
        amount_open:
          type: number
          nullable: true
          description: >-
            The part of the invoice amount we collect: `invoice_amount_gross` −
            `amount_paid`
        default_date:
          type: string
          format: date
          nullable: true
          description: The date the debtor fell into default, as you sent it
        creditor_reminder_dates:
          type: array
          nullable: true
          items:
            type: string
            format: date
          description: The dates of your own reminders before handover, as you sent them
        default_basis:
          type: string
          enum:
            - reminder
            - bgb_286_3
          nullable: true
          description: >-
            How the default arose, as you sent it; `null` when not sent (read as
            `reminder`)
        contract_date:
          type: string
          format: date
          nullable: true
          description: The date of the contract the invoice is based on
        data_extraction_status:
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
            - manual
          description: >-
            State of the automatic reading of an uploaded PDF; `manual` for an
            invoice created from data.
        data_extraction_confidence:
          type: number
          nullable: true
          description: 0–100
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Payment:
      type: object
      description: >-
        A payment the debtor made — to incaseof.law or directly to the creditor.
        Payouts by incaseof.law and the creditor's own payments to incaseof.law
        are not shown.
      properties:
        id:
          type: string
          format: uuid
        claim_id:
          type: string
          format: uuid
        debtor_id:
          type: string
          format: uuid
        amount:
          type: number
          example: 500
        currency:
          type: string
          example: EUR
        payment_method:
          type: string
          example: bank_transfer
          description: The `method` sent when it was recorded
        payment_date:
          type: string
          format: date
          nullable: true
        invoice_number:
          type: string
          nullable: true
          description: >-
            The collection letter it was paid on, or `Other` for a payment made
            directly to the creditor
        status:
          type: string
          example: completed
        external_reference:
          type: string
          nullable: true
        notes:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
    DebtorCompany:
      type: object
      nullable: true
      properties:
        company_name:
          type: string
        firmenbuchnummer:
          type: string
          nullable: true
        not_protocolled:
          type: boolean
    Address:
      type: object
      properties:
        id:
          type: string
          format: uuid
        street:
          type: string
        zip:
          type: string
        city:
          type: string
        country:
          $ref: '#/components/schemas/CountryCode'
        is_primary:
          type: boolean
    CommunicationChannel:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - email
            - phone
        value:
          type: string
        is_primary:
          type: boolean
    CountryCode:
      type: string
      description: Country (ISO 3166-1 alpha-2)
      enum:
        - AF
        - AL
        - DZ
        - AD
        - AO
        - AG
        - AR
        - AM
        - AU
        - AT
        - AZ
        - BS
        - BH
        - BD
        - BB
        - BY
        - BE
        - BZ
        - BJ
        - BT
        - BO
        - BA
        - BW
        - BR
        - BN
        - BG
        - BF
        - BI
        - KH
        - CM
        - CA
        - CV
        - CF
        - TD
        - CL
        - CN
        - CO
        - KM
        - CG
        - CD
        - CR
        - HR
        - CU
        - CY
        - CZ
        - DK
        - DJ
        - DM
        - DO
        - EC
        - EG
        - SV
        - GQ
        - ER
        - EE
        - ET
        - FJ
        - FI
        - FR
        - GA
        - GM
        - GE
        - DE
        - GH
        - GR
        - GD
        - GT
        - GN
        - GW
        - GY
        - HT
        - HN
        - HK
        - HU
        - IS
        - IN
        - ID
        - IR
        - IQ
        - IE
        - IL
        - IT
        - CI
        - JM
        - JP
        - JO
        - KZ
        - KE
        - KI
        - KW
        - KG
        - LA
        - LV
        - LB
        - LS
        - LR
        - LY
        - LI
        - LT
        - LU
        - MK
        - MG
        - MW
        - MY
        - MV
        - ML
        - MT
        - MH
        - MR
        - MU
        - MX
        - FM
        - MD
        - MC
        - MN
        - ME
        - MA
        - MZ
        - MM
        - NA
        - NR
        - NP
        - NL
        - NZ
        - NI
        - NE
        - NG
        - KP
        - 'NO'
        - OM
        - PK
        - PW
        - PS
        - PA
        - PG
        - PY
        - PE
        - PH
        - PL
        - PT
        - QA
        - RO
        - RU
        - RW
        - KN
        - LC
        - VC
        - WS
        - SM
        - ST
        - SA
        - SN
        - RS
        - SC
        - SL
        - SG
        - SK
        - SI
        - SB
        - SO
        - ZA
        - KR
        - SS
        - ES
        - LK
        - SD
        - SR
        - SZ
        - SE
        - CH
        - SY
        - TW
        - TJ
        - TZ
        - TH
        - TL
        - TG
        - TO
        - TT
        - TN
        - TR
        - TM
        - TV
        - UG
        - UA
        - AE
        - GB
        - US
        - UY
        - UZ
        - VU
        - VA
        - VE
        - VN
        - YE
        - ZM
        - ZW
  responses:
    BadRequest:
      description: >
        The request is invalid. A body that fails validation answers `error:
        VALIDATION_ERROR` with one entry per

        problem in `details` (`path` — the field, as a list of keys and indexes;
        `message`; `code`). Other `400`s carry

        only `message`.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                example: VALIDATION_ERROR
              message:
                type: string
                example: Validation failed
              details:
                type: array
                items:
                  type: object
                  properties:
                    path:
                      type: array
                      items:
                        oneOf:
                          - type: string
                          - type: integer
                    message:
                      type: string
                    code:
                      type: string
                      example: invalid_type
          examples:
            validationError:
              value:
                success: false
                error: VALIDATION_ERROR
                message: Validation failed
                details:
                  - code: invalid_type
                    expected: string
                    received: undefined
                    path:
                      - invoice_number
                    message: Required
            businessRule:
              value:
                success: false
                message: >-
                  Payment invoice number must match an active collection letter
                  or cost invoice. Active document numbers: ICO-2026-000123
    Unauthorized:
      description: The `Authorization` header is missing, or the key is invalid or expired.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                example: Unauthorized
              message:
                type: string
                example: >-
                  Invalid API token. Please check your token or request a new
                  one.
    Forbidden:
      description: >-
        The key may not do this — for example a `customer_id` of another
        partner.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                example: Forbidden
              message:
                type: string
                example: This customer does not belong to your partner account.
    NotFound:
      description: The object does not exist or is not reachable with this key.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Claim not found
    TooManyRequests:
      description: >
        The key's hourly limit is used up — every `/openapi` request can answer
        this. Requests are counted per key and

        clock hour (UTC); the limit is agreed per key (default 1 000 per hour).
        Retry after `Retry-After` seconds.

        Every answer — not only this one — carries `X-RateLimit-Limit`,
        `X-RateLimit-Remaining` and `X-RateLimit-Reset`.
      headers:
        Retry-After:
          description: Seconds until the next hour starts and requests are admitted again.
          schema:
            type: integer
            example: 1260
        X-RateLimit-Limit:
          description: Requests allowed per hour for this key.
          schema:
            type: integer
            example: 1000
        X-RateLimit-Remaining:
          description: Requests left in the current hour (0 here).
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Unix time (seconds) at which the count starts again.
          schema:
            type: integer
            example: 1790002800
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                example: Too Many Requests
              message:
                type: string
                example: >-
                  Rate limit exceeded. Your limit is 1000 requests per hour.
                  Please try again later.
              details:
                type: object
                properties:
                  limit:
                    type: integer
                    example: 1000
                  window:
                    type: string
                    example: 1 hour
                  resets_at:
                    type: string
                    format: date-time
    InternalServerError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key (`ico_live_…`), sent as `Authorization: Bearer <key>`. Not a
        JWT.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.