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

# Send the final collections warning

> > **Requires scope** `members:read` · `members:write` · `payments:read` · `payments:write` · **Minimum role** editor

Emails and texts the member that their balance goes to collections in seven days. Requires an `Idempotency-Key` header. Debt collections (First Credit Services) is chapter-only and behind a feature flag; organizations without it get 404.

[Scopes and roles](https://docs.dueflow.co/api-reference/scopes)



## OpenAPI

````yaml /openapi.json post /v1/collections/members/{memberId}/final-warning
openapi: 3.1.0
info:
  title: Dueflow API
  version: 1.0.0
  description: >-
    Read and write your organization's Dueflow data. Authenticate with a
    personal access token or an organization service token as a bearer
    credential; cookies are ignored. Every endpoint is also a tool on the
    Dueflow MCP server at https://api.dueflow.co/mcp, which accepts the same
    bearer tokens or an OAuth connection from ChatGPT and Claude.
  termsOfService: https://dueflow.co/terms
  contact:
    name: Dueflow support
    email: support@dueflow.co
    url: https://docs.dueflow.co
servers:
  - url: https://api.dueflow.co
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/collections/members/{memberId}/final-warning:
    post:
      tags:
        - Collections
      summary: Send the final collections warning
      description: >-
        > **Requires scope** `members:read` · `members:write` · `payments:read`
        · `payments:write` · **Minimum role** editor


        Emails and texts the member that their balance goes to collections in
        seven days. Requires an `Idempotency-Key` header. Debt collections
        (First Credit Services) is chapter-only and behind a feature flag;
        organizations without it get 404.


        [Scopes and roles](https://docs.dueflow.co/api-reference/scopes)
      operationId: postCollectionsMembersByMemberIdFinal-warning
      parameters:
        - name: memberId
          in: path
          required: true
          schema:
            type: string
        - name: Idempotency-Key
          in: header
          required: true
          description: >-
            A unique key per logical operation, e.g. a UUID. Retrying with the
            same key replays the original response instead of repeating the
            write; reusing it with different parameters is a 409.
          schema:
            type: string
            maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
              required: []
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  memberId:
                    type: string
                  eligibleBalanceCents:
                    anyOf:
                      - type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      - type: 'null'
                  estimatedNetCents:
                    anyOf:
                      - type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      - type: 'null'
                  daysOverdue:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  blockers:
                    type: array
                    items:
                      type: string
                  missingContact:
                    type: boolean
                  finalWarningSentAt:
                    anyOf:
                      - type: string
                        format: date-time
                      - type: 'null'
                  warningDeadlineAt:
                    anyOf:
                      - type: string
                        format: date-time
                      - type: 'null'
                  canSendFinalWarning:
                    type: boolean
                  canSubmitReferral:
                    type: boolean
                  openPlacement:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                          status:
                            type: string
                          fcsStatus:
                            anyOf:
                              - type: object
                                properties:
                                  code:
                                    type: string
                                  description:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                  date:
                                    anyOf:
                                      - type: string
                                      - type: 'null'
                                required:
                                  - code
                                  - description
                                  - date
                                additionalProperties: false
                              - type: 'null'
                        required:
                          - id
                          - status
                          - fcsStatus
                        additionalProperties: false
                      - type: 'null'
                  timeline:
                    type: array
                    items:
                      type: object
                      properties:
                        at:
                          type: string
                          format: date-time
                        kind:
                          type: string
                        detail:
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - at
                        - kind
                        - detail
                      additionalProperties: false
                  sms:
                    type: string
                    enum:
                      - sent
                      - skipped
                      - failed
                required:
                  - memberId
                  - eligibleBalanceCents
                  - estimatedNetCents
                  - daysOverdue
                  - blockers
                  - missingContact
                  - finalWarningSentAt
                  - warningDeadlineAt
                  - canSendFinalWarning
                  - canSubmitReferral
                  - openPlacement
                  - timeline
                  - sms
                additionalProperties: false
        '401':
          description: Missing, malformed, expired or revoked token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The token lacks a required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource, or the token's organization can't see it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            The write conflicts with existing state, or an `Idempotency-Key` was
            reused with different parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; see the `Retry-After` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth:
            - members:read
            - members:write
            - payments:read
            - payments:write
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type: string
            requiredScopes:
              type: array
              items:
                type: string
            requestId:
              type: string
            docsUrl:
              type: string
          required:
            - code
            - message
            - requestId
            - docsUrl
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Dueflow access token: `dfp_` (personal) or `dfs_` (service).
        Permissions are the token's scopes intersected with the role ceiling,
        re-evaluated per request.

````

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