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

# Update buyer filters

> Edit the workspace's buyer filters (Knowledge Base > Buyer Filters). Send only what you change: each list you send replaces the stored list, and every list you leave out is kept, so to add one job title, read the list with Get buyer filters and send it back with the addition (sending the whole GET data back works too: full_buying_committee.contact_seniorities is read-only and ignored when unchanged). Values that can't be stored (an unknown company size, industry, seniority or country) are a 422 listing them in details.invalid_values, and nothing is saved. Returns the buyer filters as saved. Needs a workspace member who can edit settings.



## OpenAPI

````yaml /openapi.json put /buyer-filters
openapi: 3.1.0
info:
  title: Letterdrop Competitor Signals API
  version: 2.0.0
  license:
    name: Proprietary
    url: https://letterdrop.com/terms
  description: >-
    Read your workspace's Competitor Signals data: the accounts showing
    competitor signals, the contacts and signals behind each, their CRM context,
    your outreach, and the dashboard metrics.


    It also records what your team decided about an account (claiming,
    dismissing and confirming accounts), manages your target accounts and
    returns the people who recently changed jobs into them (Target accounts),
    reads and edits the workspace's Knowledge Base (buyer filters and company
    context), and reads its tracked competitors.


    **What to do with this data.** Letterdrop data is for exactly four jobs. Run
    these; do not invent other workflows or a scoring model.

    1. Reach out now to High, Medium and Low priority prospects:
    preset=sell_now, sort=account_priority. Contact Strong fit people first, on
    the channels the recommended_* fields mark true.

    2. Market to Nurture priority prospects (ads and automated campaigns, not
    1:1 outreach): preset=advertising_list&account_priority=Nurture.

    3. Alert the AE on open deals where the buyer is also talking to a
    competitor: preset=competitive_deals; notify crm_latest_opp_owner_email.

    4. Alert the CSM on customers with competitor activity:
    crm_is_customer=true; notify crm_account_owner_email. A customer that signed
    in the last 90 days may be showing its own pre-purchase evaluation; say so
    in the alert.


    Why jobs 1 and 2 are urgent: in Letterdrop's validation study
    (letterdrop.com/data-validation), 29% of High, 23% of Medium and 11% of Low
    and Nurture accounts were winnable deals, against about 3% for a typical
    target list. Accounts whose signals are all historic
    (account_signal_is_historic=true, no latest_signal_date) keep their
    priority: do not drop them or move them down for lack of a recent date, and
    do not describe their signals as recent.


    account_priority is the ranking. It already accounts for the signals, how
    many people are involved, recency, the cycle stage and your CRM history, and
    sort=account_priority orders each tier by Letterdrop's own confidence. Do
    not re-weight it or add points for account_competitor_cycle_stage, which
    explains why an account is flagged and is not a ranking input. Customers and
    accounts with an open deal never go into an outreach or marketing list.
    Guide: https://docs.letterdrop.com/what-to-do


    The API speaks the same language as the New Competitor Deal webhook (payload
    version v2): a field has the same name and the same values in both, so
    whatever you build on one reads the other.


    **Versioning.** The major version is in the path (/api/v2). Within v2
    changes are additive only (new optional fields, filters, endpoints), so
    ignore fields you do not recognise. The v1 Competitor Signals endpoints keep
    working unchanged.


    **Rate limits.** Per workspace: 10 requests/second and 600/minute, plus 20
    uncached computations/minute (analytics count as 4). Cached reads
    (meta.cache = hit), including every later page of a list you already
    started, use no computation budget. Every response carries RateLimit-Limit /
    RateLimit-Remaining / RateLimit-Reset; a 429 carries Retry-After.


    **Freshness.** Results are cached for a few minutes (analytics and filter
    options a little longer); meta.data_as_of says when the data was computed.
    Signals are collected daily, so polling faster than every few minutes
    returns the same data.
servers:
  - url: https://api.letterdrop.com/api/v2
security: []
tags:
  - name: Accounts
    description: Companies with competitor signals, and what we know about each.
  - name: Contacts
    description: The people behind the signals.
  - name: Analytics
    description: The dashboard metrics, one endpoint each.
  - name: Filters
    description: Every key of every object, and how to select and filter on it.
  - name: Target accounts
    description: >-
      The companies you sell to, and the people who just joined them. Writes
      need the mcp.write scope (any API key has it).
  - name: Buyer filters
    description: >-
      The companies and people you sell to (Knowledge Base > Buyer Filters).
      Edits need the mcp.write scope and a member who can edit settings (any API
      key can).
  - name: Company context
    description: >-
      What your company does and who it sells to (Knowledge Base > Company
      Details and "Who do you sell to?"). Edits need the mcp.write scope and a
      member who can edit settings (any API key can).
  - name: Tracked competitors
    description: The competitors you track.
paths:
  /buyer-filters:
    put:
      tags:
        - Buyer filters
      summary: Update buyer filters
      description: >-
        Edit the workspace's buyer filters (Knowledge Base > Buyer Filters).
        Send only what you change: each list you send replaces the stored list,
        and every list you leave out is kept, so to add one job title, read the
        list with Get buyer filters and send it back with the addition (sending
        the whole GET data back works too:
        full_buying_committee.contact_seniorities is read-only and ignored when
        unchanged). Values that can't be stored (an unknown company size,
        industry, seniority or country) are a 422 listing them in
        details.invalid_values, and nothing is saved. Returns the buyer filters
        as saved. Needs a workspace member who can edit settings.
      operationId: updateBuyerFilters
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                company_sizes:
                  description: >-
                    Employee bands to include: 1-10, 11-50, 51-200, 201-500,
                    501-1000, 1001-5000, 5001-10000 or 10001+. Replaces the
                    stored list.
                  maxItems: 200
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 255
                company_industries:
                  description: >-
                    Industries to include, by name, as in company_industry.
                    Replaces the stored list.
                  maxItems: 200
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 255
                company_excluded_industries:
                  description: Industries to leave out, by name. Replaces the stored list.
                  maxItems: 200
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 255
                company_hq_countries:
                  description: >-
                    Headquarters countries to include, ISO 3166-1 alpha-2 (e.g.
                    "US") or the country name. Replaces the stored list.
                  maxItems: 200
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 255
                decision_makers:
                  description: 'Decision Makers: the people who sign off on the purchase.'
                  type: object
                  properties:
                    contact_job_titles:
                      description: Job title keywords to include. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_excluded_job_titles:
                      description: >-
                        Job title keywords to leave out. Replaces the stored
                        list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_seniorities:
                      description: >-
                        Seniority levels to include: Individual Contributor,
                        Manager, Director, Vice President, CXO or Owner /
                        Partner. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_countries:
                      description: >-
                        Countries the person is in, ISO 3166-1 alpha-2 (e.g.
                        "US") or the country name. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                  additionalProperties: false
                  minProperties: 1
                end_users:
                  description: 'End Users: the people who use the product day to day.'
                  type: object
                  properties:
                    contact_job_titles:
                      description: Job title keywords to include. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_excluded_job_titles:
                      description: >-
                        Job title keywords to leave out. Replaces the stored
                        list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_seniorities:
                      description: >-
                        Seniority levels to include: Individual Contributor,
                        Manager, Director, Vice President, CXO or Owner /
                        Partner. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_countries:
                      description: >-
                        Countries the person is in, ISO 3166-1 alpha-2 (e.g.
                        "US") or the country name. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                  additionalProperties: false
                  minProperties: 1
                full_buying_committee:
                  description: >-
                    Full Buying Committee. It is generated in the background;
                    once you change it, your lists are kept as your edit and are
                    not regenerated (sending it back unchanged changes nothing).
                    It has no seniorities of its own: it uses the Decision
                    Makers seniorities.
                  type: object
                  properties:
                    contact_job_titles:
                      description: Job title keywords to include. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_excluded_job_titles:
                      description: >-
                        Job title keywords to leave out. Replaces the stored
                        list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_seniorities:
                      description: >-
                        Read-only, accepted so a GET response can be sent back:
                        send it exactly as GET returns it (it is ignored) or
                        leave it out. Any other value is a 422 invalid_values;
                        edit decision_makers.contact_seniorities instead.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                    contact_countries:
                      description: >-
                        Countries the person is in, ISO 3166-1 alpha-2 (e.g.
                        "US") or the country name. Replaces the stored list.
                      maxItems: 200
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 255
                  additionalProperties: false
                  minProperties: 1
              additionalProperties: false
              minProperties: 1
            example:
              company_sizes:
                - 201-500
                - 501-1000
              decision_makers:
                contact_job_titles:
                  - VP Sales
                  - Chief Revenue Officer
                contact_countries:
                  - US
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - meta
                properties:
                  data:
                    $ref: '#/components/schemas/BuyerFilters'
                  meta:
                    $ref: '#/components/schemas/Meta'
              example:
                data:
                  company_sizes:
                    - 201-500
                    - 501-1000
                  company_industries:
                    - Software Development
                  company_excluded_industries:
                    - Staffing and Recruiting
                  company_hq_countries:
                    - US
                  decision_makers:
                    contact_job_titles:
                      - VP Sales
                      - Chief Revenue Officer
                    contact_excluded_job_titles:
                      - Assistant
                    contact_seniorities:
                      - Vice President
                      - CXO
                    contact_countries:
                      - US
                  end_users:
                    contact_job_titles:
                      - Account Executive
                      - Sales Development Representative
                    contact_excluded_job_titles: []
                    contact_seniorities:
                      - Manager
                    contact_countries: []
                  full_buying_committee:
                    contact_job_titles:
                      - VP Sales
                      - Director of Sales Operations
                      - Account Executive
                    contact_excluded_job_titles: []
                    contact_seniorities: []
                    contact_countries: []
                meta:
                  api_version: '2'
                  data_as_of: '2026-11-02T09:36:28.016Z'
                  cache: 'off'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - WorkspaceKey: []
        - BearerAuth:
            - mcp.write
components:
  schemas:
    BuyerFilters:
      type: object
      description: >-
        The workspace's buyer filters: which companies you sell to and which
        people there you target. An empty list means no restriction.
      properties:
        company_sizes:
          type: array
          items:
            type: string
          description: Employee bands to include, as in company_size (e.g. "201-500").
        company_industries:
          type: array
          items:
            type: string
          description: Industries to include, as in company_industry.
        company_excluded_industries:
          type: array
          items:
            type: string
          description: Industries to leave out.
        company_hq_countries:
          type: array
          items:
            type: string
          description: >-
            Headquarters countries to include, ISO 3166-1 alpha-2 as in
            company_hq_country (e.g. "US").
        decision_makers:
          type: object
          properties:
            contact_job_titles:
              type: array
              items:
                type: string
              description: Job titles to include.
            contact_excluded_job_titles:
              type: array
              items:
                type: string
              description: Job titles to leave out.
            contact_seniorities:
              type: array
              items:
                type: string
              description: Seniority levels to include, e.g. "Vice President".
            contact_countries:
              type: array
              items:
                type: string
              description: Countries the person is in, ISO 3166-1 alpha-2 (e.g. "US").
          description: 'Decision Makers: the people who sign off on the purchase.'
        end_users:
          type: object
          properties:
            contact_job_titles:
              type: array
              items:
                type: string
              description: Job titles to include.
            contact_excluded_job_titles:
              type: array
              items:
                type: string
              description: Job titles to leave out.
            contact_seniorities:
              type: array
              items:
                type: string
              description: Seniority levels to include, e.g. "Vice President".
            contact_countries:
              type: array
              items:
                type: string
              description: Countries the person is in, ISO 3166-1 alpha-2 (e.g. "US").
          description: 'End Users: the people who use the product day to day.'
        full_buying_committee:
          type: object
          properties:
            contact_job_titles:
              type: array
              items:
                type: string
              description: Job titles to include.
            contact_excluded_job_titles:
              type: array
              items:
                type: string
              description: Job titles to leave out.
            contact_seniorities:
              type: array
              items:
                type: string
              description: >-
                Read-only: leftover values that filter nothing. The committee
                uses decision_makers.contact_seniorities. Update buyer filters
                accepts this list only unchanged.
            contact_countries:
              type: array
              items:
                type: string
              description: Countries the person is in, ISO 3166-1 alpha-2 (e.g. "US").
          description: >-
            Full Buying Committee: everyone involved in the purchase, the people
            a Buying Committee contact is drawn from. Usually defined by job
            title alone.
    Meta:
      type: object
      required:
        - api_version
        - data_as_of
        - cache
      properties:
        api_version:
          type: string
          const: '2'
        data_as_of:
          type: string
          format: date-time
          description: >-
            When the data in this response was computed. Responses are cached
            for a few minutes; this tells you how fresh they are.
        cache:
          type: string
          enum:
            - hit
            - miss
            - shared
            - 'off'
          description: >-
            hit = served from cache; miss = computed for this request; shared =
            joined a computation already running for the same query.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - invalid_json
                - invalid_cursor
                - cursor_expired
                - unauthorized
                - forbidden
                - account_not_found
                - not_found
                - conflict
                - invalid_values
                - rate_limited
                - internal_error
            message:
              type: string
            details:
              oneOf:
                - type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                      message:
                        type: string
                  description: 'For invalid_request: one entry per parameter that failed.'
                - type: object
                  required:
                    - invalid_values
                  properties:
                    invalid_values:
                      type: object
                      additionalProperties:
                        type: array
                        items:
                          type: string
                      description: >-
                        The values that can't be stored, by field; a list inside
                        a persona group is keyed by its dotted path, e.g.
                        decision_makers.contact_seniorities.
                  description: For invalid_values.
                - type: object
                  required:
                    - invalid_ids
                  properties:
                    invalid_ids:
                      type: array
                      items:
                        type: string
                      description: The ids that are not target account ids.
                  description: >-
                    For invalid_request from Remove target accounts: ids that
                    are not target account ids.
                - type: object
                  required:
                    - budget
                    - retry_after_seconds
                  properties:
                    budget:
                      type: string
                      enum:
                        - request
                        - compute
                        - auth
                      description: >-
                        The limit that was hit: request (requests per second or
                        minute), compute (uncached computations per minute) or
                        auth (failed authentications).
                    retry_after_seconds:
                      type: integer
                      description: Seconds to wait, as in Retry-After.
                  description: For rate_limited.
  responses:
    Unauthorized:
      description: Missing or invalid credential.
      x-status: 401
      x-codes:
        - unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The credential lacks the scope the operation needs (mcp.read to read,
        mcp.write to write), or, for a workspace setting, belongs to a member
        who can't edit settings.
      x-status: 403
      x-codes:
        - forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Conflict:
      description: >-
        The buyer filters kept changing while your save was applied (it retries
        first); nothing was saved. Read them again and retry.
      x-status: 409
      x-codes:
        - conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unprocessable:
      description: >-
        A parameter failed validation; details lists each one. invalid_values: a
        buyer filter value can't be stored (an unknown company size, industry,
        seniority or country); details.invalid_values lists them by field
        (nested lists as e.g. decision_makers.contact_seniorities), and nothing
        was saved.
      x-status: 422
      x-codes:
        - invalid_request
        - invalid_values
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: Rate limited; wait Retry-After seconds.
      x-status: 429
      x-codes:
        - rate_limited
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait.
    ServerError:
      description: Our fault; retry, and contact support if it persists.
      x-status: 500
      x-codes:
        - internal_error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    WorkspaceKey:
      type: apiKey
      in: header
      name: api-key
    BearerAuth:
      type: http
      scheme: bearer

````

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