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

# Filter contacts

> <Danger>
  **Breaking change from early November 2026.** Send `conditions` instead of `rules`, and filter a sequence's contacts with `POST /v3/sequences/{id}/contacts/filter`; `rules`, `sequenceId` and `sequenceStepId` return 400.
</Danger>

<small>_Requires the `contacts:read` scope (or a broader one that includes it)._</small>

Use this endpoint when you need a filtered, sorted page of contacts that a plain email or LinkedIn lookup cannot express. Combine field conditions with optional scoping by list, a free-text search term, and a sort order. Results are paged with the top and skip query parameters. To get only the total for the same criteria, use filter/count. For one sequence's contacts, use `POST /v3/sequences/{id}/contacts/filter`.

Conditions are joined with AND, one condition per field: an `operator` with its `value`, an `and` list of rules that must all match, or an `or` list of alternatives. `GET /v3/contacts/filter/fields` lists the fields, operators and values your workspace accepts. Field names, operators and enum values are case-insensitive.



## OpenAPI

````yaml /api-reference/bundled.yaml post /v3/contacts/filter
openapi: 3.1.0
info:
  version: 3.0.0
  title: Reply API
  description: API for managing email sequences, contacts, and automation workflows
servers:
  - url: https://api.reply.io
security:
  - bearerAuth: []
tags:
  - name: Contacts
    description: Manage individual contacts
  - name: Contact Lists
    description: Manage contact lists and contact membership
  - name: Accounts
    description: Manage accounts (companies/organizations)
  - name: Account Lists
    description: Manage account lists and account membership
  - name: Custom Fields
    description: Manage custom contact fields
  - name: Prompt Actions
    description: Save reusable AI prompts and run them on contacts to fill custom fields
  - name: Contact Blacklist Rules
    description: Manage blacklist rules for domains, emails, and email exceptions
  - name: Live Data
    description: >-
      Find new contacts via Live Data searches and read typeahead values for the
      Live Data / Autopilot filter sidebar
  - name: Contact Enrichment
    description: >-
      Enrich contacts with emails, phone numbers, LinkedIn data, and AI-filled
      custom fields
  - name: Email Validations
    description: Estimate and schedule asynchronous email validation jobs
  - name: AI SDR Web Search
    description: Find contacts via AI-driven web search and review past searches
  - name: Sequences
    description: Manage email automation sequences
  - name: Sequence Steps
    description: Manage individual steps in sequences
  - name: Sequence Contacts
    description: Manage contacts within sequences
  - name: Sequence Folders
    description: Organize sequences into folders
  - name: Email Accounts
    description: Manage email accounts used for sending and receiving
  - name: Sequence Email Accounts
    description: Manage email accounts linked to sequences
  - name: LinkedIn Accounts
    description: Manage LinkedIn accounts for outreach
  - name: Sequence LinkedIn Accounts
    description: Manage LinkedIn accounts linked to sequences
  - name: Sequence Templates
    description: Manage sequence templates
  - name: Email Templates
    description: Manage email templates and template folders
  - name: Voices
    description: Manage cloned voices used for AI voice message steps
  - name: Schedules
    description: Manage email send schedules and timing
  - name: Holiday Calendars
    description: Manage holiday calendars for scheduling
  - name: Inbox
    description: >-
      Manage inbox threads — list/filter, read state, replies, category
      assignment, and meeting-intent flagging
  - name: Inbox Categories
    description: Manage per-team inbox thread categories and assign threads to them
  - name: Direct Outreach
    description: >-
      Send one-off outreach directly to a contact outside of any sequence —
      direct emails and LinkedIn connection requests, messages, InMails, and
      voice messages
  - name: Tasks
    description: Manage tasks and to-do items
  - name: Reports
    description: >-
      Generate and access performance reports across email, calls, tasks,
      LinkedIn, and team performance
  - name: AI SDR Sequences
    description: >-
      Manage AI SDR sequences and their AI SDR-specific settings — create, read
      settings, partial update, autopilot enable/disable/force-start, approval
      mode, sequence structure, and playbook/knowledge-base connections
  - name: AI SDR Sequence Structures
    description: >-
      Browse the sequence structures — reusable outlines of AI SDR sequence
      steps — that can be applied to AI SDR sequences
  - name: AI SDR Strategist
    description: Trigger AI Strategist runs
  - name: AI SDR Playbooks
    description: >-
      Manage AI SDR playbooks — tone, voice, and style guides applied during
      personalized message generation
  - name: AI SDR Knowledge Bases
    description: >-
      Manage AI SDR knowledge bases — collections of documents, links, reply
      handlers, and reengagement cards that inform the agent's responses
  - name: AI SDR Offers
    description: >-
      Manage AI SDR offers — bundles of company-context inputs (ICP, pain
      points, value propositions, etc.) used to personalize outreach
  - name: AI SDR Pending Approvals
    description: >-
      Review, send, regenerate, and provide feedback on AI-generated messages
      awaiting human approval
  - name: AI SDR Sequence Preview
    description: >-
      Read and regenerate per-contact previews of the messages a sequence will
      send, and provide feedback on preview messages
  - name: AI SDR Insights
    description: Read AI SDR insights for sequence contacts
  - name: AI SDR Intent Signals
    description: >-
      Read Reply industry IDs and technology slugs used in AI SDR intent-signal
      configuration (typeahead)
  - name: AI Prompts
    description: >-
      Manage the AI prompts used to configure sequence steps, and preview the
      output a prompt produces
  - name: AI SDR Learnings
    description: >-
      Manage the standing rules that shape how the AI writes — list, read,
      create, partially update and delete AI learnings
  - name: Registration
    description: Register the contact that domain purchases are filed under
  - name: Domains
    description: Find domains available to buy for outreach
  - name: Purchased Domains
    description: >-
      List the domains your team bought, with their subscription, setup and
      renewal state, and renew them
  - name: Pre-warmed Domains
    description: >-
      Find pre-warmed domains on sale, with mailboxes that are already warming,
      and list the ones your team bought
  - name: Mailboxes
    description: >-
      Add mailboxes to domains your team already bought, priced before you
      order, and reconnect them
  - name: User Account
    description: Account information and authentication verification
  - name: Teams
    description: Add existing users of your organization to its teams
  - name: Settings
    description: Manage team and user settings
  - name: Billing
    description: Subscription details and monthly active contacts usage
  - name: Rate Limits
    description: Your API rate limits, your current usage and the packages that raise them
  - name: Support Requests
    description: Raise and follow support requests with Reply's support team
  - name: Webhooks
    description: Manage webhook subscriptions and inspect delivery history
  - name: Background Jobs
    description: >-
      Track and cancel asynchronous background operations (e.g., email
      validation)
  - name: Attachments
    description: >-
      Upload file attachments used across email templates, sequence steps, and
      direct emails
paths:
  /v3/contacts/filter:
    post:
      tags:
        - Contacts
      summary: Filter contacts
      description: >-
        <Danger>
          **Breaking change from early November 2026.** Send `conditions` instead of `rules`, and filter a sequence's contacts with `POST /v3/sequences/{id}/contacts/filter`; `rules`, `sequenceId` and `sequenceStepId` return 400.
        </Danger>


        <small>_Requires the `contacts:read` scope (or a broader one that
        includes it)._</small>


        Use this endpoint when you need a filtered, sorted page of contacts that
        a plain email or LinkedIn lookup cannot express. Combine field
        conditions with optional scoping by list, a free-text search term, and a
        sort order. Results are paged with the top and skip query parameters. To
        get only the total for the same criteria, use filter/count. For one
        sequence's contacts, use `POST /v3/sequences/{id}/contacts/filter`.


        Conditions are joined with AND, one condition per field: an `operator`
        with its `value`, an `and` list of rules that must all match, or an `or`
        list of alternatives. `GET /v3/contacts/filter/fields` lists the fields,
        operators and values your workspace accepts. Field names, operators and
        enum values are case-insensitive.
      operationId: FilterContacts
      parameters:
        - name: top
          in: query
          required: false
          description: Maximum number of contacts to return (default 100, max 1000)
          schema:
            type: integer
        - name: skip
          in: query
          required: false
          description: Number of contacts to skip
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Contact filter request
              description: Conditions and scope for filtering contacts.
              properties:
                conditions:
                  type: array
                  nullable: true
                  maxItems: 20
                  description: >-
                    Field conditions, joined with AND; one condition per field.
                    `GET /v3/contacts/filter/fields` lists the fields, their
                    operators, value types and allowed values. `sequenceIds` and
                    `sequenceNames` both describe the sequences the contact is
                    in, so a filter takes one of them: `sequenceIds` matches by
                    id, `sequenceNames` by the whole name (`equals`) or a
                    fragment of it (`contains`). `and` branches take `equals`,
                    `notEquals`, `contains`, `notContains`, `notIn`,
                    `containsAll`, `isEmpty` and `isNotEmpty`. Up to 200
                    branches per condition, 200 values per list and 500 values
                    across all conditions. Omit it, or send `null` or an empty
                    list, to filter by the other fields only. To filter one
                    sequence's contacts by what happened in that sequence, use
                    `POST /v3/sequences/{id}/contacts/filter`.
                  items:
                    type: object
                    title: Filter condition
                    description: >-
                      One field's rules: exactly one of `operator` (with `value`
                      unless the operator takes none), `and` (rules that must
                      all match) or `or` (alternatives, any of which may match).
                      Each field takes one condition, and each custom field (by
                      `customFieldKey`) takes one.
                    required:
                      - field
                    properties:
                      field:
                        type: string
                        description: >-
                          Field name from the fields list, matched
                          case-insensitively.
                      customFieldKey:
                        type: string
                        description: >-
                          Only with `customFields`. The custom field's key (its
                          id, as returned in `customFields`) or its name.
                      operator:
                        type: string
                        title: Filter operator
                        description: >-
                          Comparison a filter condition applies. Matched
                          case-insensitively. All date comparisons are in UTC.
                          `between`, `isToday` and `exactlyDaysAgo` match whole
                          UTC calendar days, starting at 00:00 UTC;
                          `withinLastDays` and `moreThanDaysAgo` count N days
                          back from the current UTC time.
                        enum:
                          - equals
                          - notEquals
                          - in
                          - notIn
                          - contains
                          - notContains
                          - containsAny
                          - containsAll
                          - startsWith
                          - greaterThan
                          - lessThan
                          - isEmpty
                          - isNotEmpty
                          - between
                          - withinLastDays
                          - moreThanDaysAgo
                          - isToday
                          - exactlyDaysAgo
                      value:
                        title: Filter condition value
                        description: >-
                          The value the operator compares against; its shape is
                          the operator's `valueType` in the fields list.
                        anyOf:
                          - type: string
                          - type: number
                          - type: boolean
                          - type: array
                            minItems: 1
                            maxItems: 200
                            items:
                              anyOf:
                                - type: string
                                - type: number
                          - type: object
                            title: Filter date range
                            description: >-
                              Calendar days for `between`, both inclusive,
                              compared in UTC.
                            required:
                              - from
                              - to
                            properties:
                              from:
                                type: string
                                format: date
                                description: First day of the range (`yyyy-MM-dd`).
                              to:
                                type: string
                                format: date
                                description: >-
                                  Last day of the range (`yyyy-MM-dd`), not
                                  before `from`.
                      and:
                        type: array
                        minItems: 1
                        maxItems: 200
                        description: >-
                          Rules on this field that must all match. Each branch
                          uses an operator from the field's `andOperators`; an
                          `and` of only `isEmpty` and `isNotEmpty` is rejected,
                          and an account field takes at most one `in` or `notIn`
                          branch.
                        items:
                          type: object
                          title: Filter condition branch
                          description: >-
                            One operator and its value inside a condition's
                            `and` or `or` list.
                          required:
                            - operator
                          properties:
                            operator:
                              type: string
                              title: Filter operator
                              description: >-
                                Comparison a filter condition applies. Matched
                                case-insensitively. All date comparisons are in
                                UTC. `between`, `isToday` and `exactlyDaysAgo`
                                match whole UTC calendar days, starting at 00:00
                                UTC; `withinLastDays` and `moreThanDaysAgo`
                                count N days back from the current UTC time.
                              enum:
                                - equals
                                - notEquals
                                - in
                                - notIn
                                - contains
                                - notContains
                                - containsAny
                                - containsAll
                                - startsWith
                                - greaterThan
                                - lessThan
                                - isEmpty
                                - isNotEmpty
                                - between
                                - withinLastDays
                                - moreThanDaysAgo
                                - isToday
                                - exactlyDaysAgo
                            value:
                              title: Filter condition value
                              description: >-
                                The value the operator compares against; its
                                shape is the operator's `valueType` in the
                                fields list.
                              anyOf:
                                - type: string
                                - type: number
                                - type: boolean
                                - type: array
                                  minItems: 1
                                  maxItems: 200
                                  items:
                                    anyOf:
                                      - type: string
                                      - type: number
                                - type: object
                                  title: Filter date range
                                  description: >-
                                    Calendar days for `between`, both inclusive,
                                    compared in UTC.
                                  required:
                                    - from
                                    - to
                                  properties:
                                    from:
                                      type: string
                                      format: date
                                      description: First day of the range (`yyyy-MM-dd`).
                                    to:
                                      type: string
                                      format: date
                                      description: >-
                                        Last day of the range (`yyyy-MM-dd`),
                                        not before `from`.
                      or:
                        type: array
                        minItems: 1
                        maxItems: 200
                        description: >-
                          Alternatives on this field, any of which may match.
                          Each branch uses an operator from the field's
                          `orOperators`; on an account field every branch uses
                          the same operator.
                        items:
                          type: object
                          title: Filter condition branch
                          description: >-
                            One operator and its value inside a condition's
                            `and` or `or` list.
                          required:
                            - operator
                          properties:
                            operator:
                              type: string
                              title: Filter operator
                              description: >-
                                Comparison a filter condition applies. Matched
                                case-insensitively. All date comparisons are in
                                UTC. `between`, `isToday` and `exactlyDaysAgo`
                                match whole UTC calendar days, starting at 00:00
                                UTC; `withinLastDays` and `moreThanDaysAgo`
                                count N days back from the current UTC time.
                              enum:
                                - equals
                                - notEquals
                                - in
                                - notIn
                                - contains
                                - notContains
                                - containsAny
                                - containsAll
                                - startsWith
                                - greaterThan
                                - lessThan
                                - isEmpty
                                - isNotEmpty
                                - between
                                - withinLastDays
                                - moreThanDaysAgo
                                - isToday
                                - exactlyDaysAgo
                            value:
                              title: Filter condition value
                              description: >-
                                The value the operator compares against; its
                                shape is the operator's `valueType` in the
                                fields list.
                              anyOf:
                                - type: string
                                - type: number
                                - type: boolean
                                - type: array
                                  minItems: 1
                                  maxItems: 200
                                  items:
                                    anyOf:
                                      - type: string
                                      - type: number
                                - type: object
                                  title: Filter date range
                                  description: >-
                                    Calendar days for `between`, both inclusive,
                                    compared in UTC.
                                  required:
                                    - from
                                    - to
                                  properties:
                                    from:
                                      type: string
                                      format: date
                                      description: First day of the range (`yyyy-MM-dd`).
                                    to:
                                      type: string
                                      format: date
                                      description: >-
                                        Last day of the range (`yyyy-MM-dd`),
                                        not before `from`.
                    example:
                      field: title
                      and:
                        - operator: contains
                          value: VP
                        - operator: notContains
                          value: Assistant
                listId:
                  type: integer
                  nullable: true
                  description: Filter by contact list ID.
                searchTerm:
                  type: string
                  nullable: true
                  description: Free-text search term
                sortBy:
                  type: string
                  nullable: true
                  enum:
                    - name
                    - company
                    - email
                    - addedOn
                    - sent
                    - opens
                    - clicks
                    - replies
                    - lastTouch
                    - optedOut
                    - title
                    - country
                    - city
                    - state
                    - deliveryDate
                    - views
                    - domain
                    - companySize
                    - industry
                    - owner
                    - stage
                    - bouncesCount
                    - lastCallDate
                    - callStatus
                    - meetingStatus
                  description: Field to sort by. Defaults to `addedOn`.
                sortDirection:
                  type: string
                  nullable: true
                  enum:
                    - asc
                    - desc
                  description: Sort direction, case-insensitive. Defaults to `desc`.
              example:
                conditions:
                  - field: title
                    and:
                      - operator: contains
                        value: VP
                      - operator: notContains
                        value: Assistant
                  - field: stage
                    operator: in
                    value:
                      - Interested
                      - Meeting booked
                  - field: customFields
                    customFieldKey: '12'
                    operator: greaterThan
                    value: 1000
                  - field: isOptedOut
                    operator: equals
                    value: false
                sortBy: addedOn
                sortDirection: desc
      responses:
        '200':
          description: Filtered contacts retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      title: Contact
                      description: Contact response model
                      properties:
                        id:
                          type: integer
                          readOnly: true
                          description: Unique ID
                        email:
                          type: string
                          format: email
                          description: Primary email address
                        domain:
                          type: string
                          readOnly: true
                          description: Email domain (derived from email)
                        firstName:
                          type: string
                          description: First name
                        lastName:
                          type: string
                          description: Last name
                        phone:
                          type: string
                          description: Phone number
                        title:
                          type: string
                          description: Job title
                        company:
                          type: string
                          description: Organization name
                        companySize:
                          type: string
                          enum:
                            - Empty
                            - Self-Employed
                            - 2-10
                            - 11-50
                            - 51-200
                            - 201-500
                            - 501-1000
                            - 1001-5000
                            - 5001-10000
                            - 10001+
                          description: Organization employee count range
                        industry:
                          type: string
                          description: Business sector
                        city:
                          type: string
                          description: City of residence
                        state:
                          type: string
                          description: State/province
                        country:
                          type: string
                          description: Country
                        timeZoneId:
                          type: string
                          description: Timezone identifier
                        linkedInUrl:
                          type: string
                          format: uri
                          description: LinkedIn profile URL
                        linkedInSalesNavigatorUrl:
                          type: string
                          format: uri
                          description: Sales Navigator URL
                        linkedInRecruiterUrl:
                          type: string
                          format: uri
                          description: Recruiter URL
                        phoneStatus:
                          type: string
                          enum:
                            - pending
                            - invalid
                            - valid
                            - validationFailed
                            - notValidated
                          description: Phone validation status
                        notes:
                          type: string
                          description: Additional information
                        ownerUserId:
                          type: integer
                          description: ID of the user who owns this contact
                        accountId:
                          type: integer
                          nullable: true
                          description: ID of the contact account this contact belongs to
                        isOptedOut:
                          type: boolean
                          readOnly: true
                          description: Whether the contact has opted out of communications
                        callStatus:
                          type: string
                          allOf:
                            - type: string
                              title: Contact Call Status
                              description: >-
                                Contact-level call status. Set via `PATCH
                                /v3/contacts/{id}` (`callStatus` field). Pass
                                `none` to clear.
                              enum:
                                - none
                                - toCall
                                - called
                          description: Contact-level call status
                        meetingStatus:
                          type: string
                          allOf:
                            - type: string
                              title: Contact Meeting Status
                              description: >-
                                Contact-level meeting status. Set via `PATCH
                                /v3/contacts/{id}` (`meetingStatus` field). Pass
                                `none` to clear.
                              enum:
                                - none
                                - meetingBooked
                          description: Contact-level meeting status
                        stage:
                          type: string
                          nullable: true
                          description: >-
                            Pipeline stage the contact sits in, by name, or
                            `null` when it has none. A workspace has eight
                            stages, named `New`, `Engaging`, `Replied`,
                            `Interested`, `Not interested`, `Unresponsive`, `Do
                            not contact` and `Bad contact info` unless the team
                            has renamed them. `GET /v3/settings` returns the
                            current names under `contacts.contactStages`.
                        addingDate:
                          type: string
                          format: date-time
                          readOnly: true
                          nullable: true
                          description: Date the contact was added
                        createdAt:
                          type: string
                          format: date-time
                          readOnly: true
                          nullable: true
                          description: Creation timestamp
                        lastModifiedAt:
                          type: string
                          format: date-time
                          readOnly: true
                          nullable: true
                          description: Last modification timestamp
                        customFields:
                          type: array
                          items:
                            type: object
                            properties:
                              key:
                                type: string
                                description: Field identifier
                              value:
                                type: string
                                nullable: true
                                description: Field content
                              enrichmentStatus:
                                type: string
                                nullable: true
                                description: >-
                                  Outcome of the last AI enrichment that
                                  targeted this field, or `null` when the value
                                  was not filled by enrichment. `inprogress`
                                  means an enrichment run is still working on
                                  it, so the value can change.
                                enum:
                                  - none
                                  - succeeded
                                  - inprogress
                                  - failed
                                  - missingData
                                  - creditReached
                                  - noResults
                            required:
                              - key
                          description: >-
                            User-defined fields. An entry is returned when it
                            holds a value, or when an enrichment has left a
                            status on it — so a field being enriched appears
                            with a `null` value and an `enrichmentStatus`.
                      example:
                        id: 12345
                        email: john.doe@company.com
                        firstName: John
                        lastName: Doe
                        title: Senior Product Manager
                        company: Tech Solutions Inc
                        domain: company.com
                        companySize: 501-1000
                        city: San Francisco
                        state: CA
                        country: United States
                        timeZoneId: America/Los_Angeles
                        phone: +1-415-555-0123
                        phoneStatus: valid
                        linkedInUrl: https://www.linkedin.com/in/johndoe
                        linkedInSalesNavigatorUrl: https://www.linkedin.com/sales/profile/123456
                        linkedInRecruiterUrl: https://www.linkedin.com/recruiter/profile/789012
                        industry: Software & Technology
                        notes: Met at SaaS Conference 2024
                        ownerUserId: 42
                        accountId: 100
                        isOptedOut: false
                        callStatus: toCall
                        meetingStatus: none
                        stage: Interested
                        addingDate: '2024-03-08T10:00:00+00:00'
                        createdAt: '2024-03-08T10:00:00'
                        lastModifiedAt: '2024-03-10T15:30:00'
                        customFields:
                          - key: leadSource
                            value: Conference
                          - key: budget
                            value: 100k-250k
                  hasMore:
                    type: boolean
                    description: Indicates if there are more items to fetch
        '400':
          description: >-
            Validation failure on the request body or query (a condition naming
            an unknown field, an operator or value the field does not take, or a
            stage, custom field, owner or step your workspace does not have), a
            body field this endpoint does not define (one `Field is not
            recognized.` error per field, nested fields included), or a business
            rule rejection.
          content:
            application/problem+json:
              schema:
                oneOf:
                  - allOf:
                      - allOf:
                          - type: object
                            title: Problem Details
                            description: >-
                              Bare RFC 9457 problem-details envelope. Returned
                              by middleware-level errors

                              that don't carry domain context: 401 Unauthorized
                              (auth middleware),

                              429 Too Many Requests (rate-limit middleware), and
                              route-level 404 / 405 /

                              415 (framework middleware).


                              Business and validation responses extend this
                              envelope and add additional

                              fields — see `business-problem.model.yaml` (adds
                              `code` slug) and

                              `validation-problem.model.yaml` (adds `errors[]`
                              array).
                            properties:
                              title:
                                type: string
                                description: Short, human-readable summary of the problem.
                              status:
                                type: integer
                                description: HTTP status code.
                                minimum: 100
                                maximum: 599
                              detail:
                                type: string
                                description: >-
                                  Human-readable explanation specific to this
                                  occurrence.
                          - type: object
                            properties:
                              errors:
                                type: array
                                description: >-
                                  List of field-level validation errors. Always
                                  non-empty when this

                                  envelope is returned. Each entry pins a single
                                  offending field

                                  via JSON Pointer plus a sanitized detail
                                  string.
                                items:
                                  type: object
                                  title: Validation Error
                                  description: A single field-level validation error.
                                  properties:
                                    pointer:
                                      type: string
                                      description: >-
                                        JSON Pointer (RFC 6901) to the offending
                                        field — e.g.

                                        `/steps/0/subject`.


                                        * An empty string (`""`) means the error
                                        applies to the whole
                                          request body (e.g. body is missing or unparseable).
                                        * For route or query parameter failures
                                        the pointer is the parameter
                                          name (e.g. `id`, `top`).
                                      example: /steps/0/subject
                                    detail:
                                      type: string
                                      description: >-
                                        Sanitized, human-readable explanation of
                                        this field's error. One of a

                                        small set of templates — `"Field is
                                        required."`, `"Value has an

                                        invalid type."`, `"Value has an invalid
                                        format."`, `"Request body is

                                        not valid JSON."`, `"The request body is
                                        required and cannot be

                                        empty."` — or a FluentValidator message
                                        on body endpoints.
                                      example: Field is required.
                        title: Validation Problem
                        description: >-
                          Input-validation error response at 400. Returned when
                          the request body

                          fails binding, FluentValidator rules, or when
                          route/query parameter

                          attribute validation (`[Range]`, `[Required]`) fails.
                          Route, query, and

                          body errors are combined into a single `errors[]`
                          array — clients should

                          not assume one error per request.
                      - example:
                          title: Validation failed
                          status: 400
                          detail: The request body contains validation errors.
                          errors:
                            - pointer: /name
                              detail: Field is required.
                  - allOf:
                      - allOf:
                          - type: object
                            title: Problem Details
                            description: >-
                              Bare RFC 9457 problem-details envelope. Returned
                              by middleware-level errors

                              that don't carry domain context: 401 Unauthorized
                              (auth middleware),

                              429 Too Many Requests (rate-limit middleware), and
                              route-level 404 / 405 /

                              415 (framework middleware).


                              Business and validation responses extend this
                              envelope and add additional

                              fields — see `business-problem.model.yaml` (adds
                              `code` slug) and

                              `validation-problem.model.yaml` (adds `errors[]`
                              array).
                            properties:
                              title:
                                type: string
                                description: Short, human-readable summary of the problem.
                              status:
                                type: integer
                                description: HTTP status code.
                                minimum: 100
                                maximum: 599
                              detail:
                                type: string
                                description: >-
                                  Human-readable explanation specific to this
                                  occurrence.
                          - type: object
                            properties:
                              code:
                                type: string
                                description: >-
                                  Stable, machine-readable error slug in the
                                  form

                                  `"<resource>.<variant>"`.


                                  * `resource` is the camelCased domain — e.g.
                                  `sequence`,
                                    `contact`, `inboxThread`, `blacklistDomainRule`.
                                  * `variant` is the camelCased specific failure
                                  mode — e.g.
                                    `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.

                                  Use `code` for programmatic error handling;
                                  use `detail` for

                                  user-facing messages. Slugs are stable across
                                  server-side enum

                                  reorderings and never change meaning under a
                                  given resource.
                                pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
                                example: sequence.notFound
                        title: Business Problem
                        description: >-
                          Domain error response carrying a stable, namespaced
                          error slug.

                          Emitted for most 4xx responses (business 400, 403,
                          404, 409, …) and

                          for 503 when a downstream dependency is unavailable.
                      - example:
                          title: Bad Request
                          status: 400
                          detail: Pagination parameters are invalid.
                          code: sequence.invalidPagination
              examples:
                operator_not_allowed:
                  summary: Operator the field does not take
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /conditions/0/operator
                        detail: >-
                          Operator 'greaterThan' is not available for 'title'.
                          Allowed operators: equals, notEquals, in, notIn,
                          contains, notContains, containsAny, containsAll,
                          startsWith, isEmpty, isNotEmpty.
                unknown_stage:
                  summary: Value your workspace does not have
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /conditions/0/value
                        detail: >-
                          No stage named 'Won'. Available stages: 'New',
                          'Interested', 'Not interested'.
                sequence_field:
                  summary: Field read from one sequence membership
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /conditions/0/field
                        detail: >-
                          'hasOpened' is read from one sequence membership;
                          filter that sequence's contacts with POST
                          /v3/sequences/{id}/contacts/filter.
                field_repeated:
                  summary: Second condition on the same field
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /conditions/1/field
                        detail: >-
                          'title' is already filtered by another condition. Use
                          one condition per field: rules that must all match go
                          in its and list, alternatives in its or list.
                rules_body:
                  summary: Request sending rules
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /rules
                        detail: rules was replaced by conditions.
                unrecognized_field:
                  summary: Unrecognized body field
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /conditions/0/values
                        detail: Field is not recognized.
                unknown_sort:
                  summary: Sort field the endpoint does not take
                  value:
                    title: Validation failed
                    status: 400
                    detail: The request body contains validation errors.
                    errors:
                      - pointer: /sortBy
                        detail: sortBy is not a recognised sort field
                business_invalid_pagination:
                  summary: Domain rule rejection
                  value:
                    title: Bad Request
                    status: 400
                    detail: Invalid requested page view.
                    code: contact.invalidPagination
        '401':
          description: >-
            Unauthorized. The response body is empty; check the
            `WWW-Authenticate` header for the expected scheme.
          content:
            application/problem+json:
              schema:
                allOf:
                  - type: object
                    title: Problem Details
                    description: >-
                      Bare RFC 9457 problem-details envelope. Returned by
                      middleware-level errors

                      that don't carry domain context: 401 Unauthorized (auth
                      middleware),

                      429 Too Many Requests (rate-limit middleware), and
                      route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and
                      add additional

                      fields — see `business-problem.model.yaml` (adds `code`
                      slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: >-
                          Human-readable explanation specific to this
                          occurrence.
                  - example:
                      title: Unauthorized
                      status: 401
                      detail: Authentication credentials are missing or invalid.
        '403':
          description: User lacks required feature scope to filter contacts
          content:
            application/problem+json:
              schema:
                allOf:
                  - allOf:
                      - type: object
                        title: Problem Details
                        description: >-
                          Bare RFC 9457 problem-details envelope. Returned by
                          middleware-level errors

                          that don't carry domain context: 401 Unauthorized
                          (auth middleware),

                          429 Too Many Requests (rate-limit middleware), and
                          route-level 404 / 405 /

                          415 (framework middleware).


                          Business and validation responses extend this envelope
                          and add additional

                          fields — see `business-problem.model.yaml` (adds
                          `code` slug) and

                          `validation-problem.model.yaml` (adds `errors[]`
                          array).
                        properties:
                          title:
                            type: string
                            description: Short, human-readable summary of the problem.
                          status:
                            type: integer
                            description: HTTP status code.
                            minimum: 100
                            maximum: 599
                          detail:
                            type: string
                            description: >-
                              Human-readable explanation specific to this
                              occurrence.
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              Stable, machine-readable error slug in the form

                              `"<resource>.<variant>"`.


                              * `resource` is the camelCased domain — e.g.
                              `sequence`,
                                `contact`, `inboxThread`, `blacklistDomainRule`.
                              * `variant` is the camelCased specific failure
                              mode — e.g.
                                `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.

                              Use `code` for programmatic error handling; use
                              `detail` for

                              user-facing messages. Slugs are stable across
                              server-side enum

                              reorderings and never change meaning under a given
                              resource.
                            pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
                            example: sequence.notFound
                    title: Business Problem
                    description: >-
                      Domain error response carrying a stable, namespaced error
                      slug.

                      Emitted for most 4xx responses (business 400, 403, 404,
                      409, …) and

                      for 503 when a downstream dependency is unavailable.
                  - example:
                      title: Forbidden
                      status: 403
                      detail: You do not have permission to access this resource.
                      code: sequence.forbidden
              example:
                title: Forbidden
                status: 403
                detail: Feature scopes [ViewProspect] are denied for userId 123.
                code: contact.forbidden
        '429':
          description: Too Many Requests
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
                minimum: 1
          content:
            application/problem+json:
              schema:
                allOf:
                  - type: object
                    title: Problem Details
                    description: >-
                      Bare RFC 9457 problem-details envelope. Returned by
                      middleware-level errors

                      that don't carry domain context: 401 Unauthorized (auth
                      middleware),

                      429 Too Many Requests (rate-limit middleware), and
                      route-level 404 / 405 /

                      415 (framework middleware).


                      Business and validation responses extend this envelope and
                      add additional

                      fields — see `business-problem.model.yaml` (adds `code`
                      slug) and

                      `validation-problem.model.yaml` (adds `errors[]` array).
                    properties:
                      title:
                        type: string
                        description: Short, human-readable summary of the problem.
                      status:
                        type: integer
                        description: HTTP status code.
                        minimum: 100
                        maximum: 599
                      detail:
                        type: string
                        description: >-
                          Human-readable explanation specific to this
                          occurrence.
              example:
                title: Too Many Requests
                status: 429
                detail: API calls quota exceeded! maximum admitted 100 per 1m.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Authenticate every request with a Bearer token. Pass your Reply API key
        in the

        `Authorization` header:


        ```

        Authorization: Bearer <your-api-key>

        ```


        Get your API key from the Reply dashboard: **Settings → API Key**.

````

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