> ## 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.

# Claim, dismiss or confirm an account

> Record what your team decided about an account, in Letterdrop (never in your CRM). claim marks you as working it (account_claimed_by_email) and needs a user token (OAuth/MCP): a workspace API key carries no user, so claim with one returns 422 `invalid_request`. dismiss marks it ruled out until `until` (YYYY-MM-DD, the last day) or a newer signal (account_dismissed_*); lists still return it, so add filter[account_dismissed_date][exists]=false to leave dismissed accounts out. unclaim and undismiss reverse them; confirm_evaluating sets account_evaluating_vendors_confirmed. Returns the account's new state.



## OpenAPI

````yaml /openapi.json post /accounts/{account_id}/actions
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 manages your target accounts and returns the people who recently
    changed jobs into them (Target accounts), and reads the workspace's buyer
    filters and tracked competitors.


    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.
  - name: Tracked competitors
    description: The competitors you track.
paths:
  /accounts/{account_id}/actions:
    post:
      tags:
        - Accounts
      summary: Claim, dismiss or confirm an account
      description: >-
        Record what your team decided about an account, in Letterdrop (never in
        your CRM). claim marks you as working it (account_claimed_by_email) and
        needs a user token (OAuth/MCP): a workspace API key carries no user, so
        claim with one returns 422 `invalid_request`. dismiss marks it ruled out
        until `until` (YYYY-MM-DD, the last day) or a newer signal
        (account_dismissed_*); lists still return it, so add
        filter[account_dismissed_date][exists]=false to leave dismissed accounts
        out. unclaim and undismiss reverse them; confirm_evaluating sets
        account_evaluating_vendors_confirmed. Returns the account's new state.
      operationId: updateAccountWorkState
      parameters:
        - name: account_id
          in: path
          required: true
          description: The account_id of an account, URL-encoded (domain%3Aacme.com).
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                    - claim
                    - unclaim
                    - dismiss
                    - undismiss
                    - confirm_evaluating
                  description: >-
                    claim: you are working the account (in Letterdrop, not the
                    CRM); needs a user token, returns 422 `invalid_request` with
                    a workspace API key. dismiss: mark it ruled out until
                    `until` or a newer signal (account_dismissed_date); add
                    filter[account_dismissed_date][exists]=false to a list to
                    leave dismissed accounts out. unclaim / undismiss reverse
                    them. confirm_evaluating sets
                    account_evaluating_vendors_confirmed.
                note:
                  description: Why, in a sentence. Shown with the claim or dismissal.
                  type: string
                  maxLength: 500
                until:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  description: >-
                    With dismiss: the last day of the dismissal, YYYY-MM-DD
                    (UTC). It lapses after this date. A timestamp, an invalid
                    date or a date before today (UTC) returns 422; so does until
                    with any other action.
              required:
                - action
              additionalProperties: false
            example:
              action: dismiss
              note: Signed with a competitor in October
              until: '2027-01-31'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - meta
                properties:
                  data:
                    $ref: '#/components/schemas/AccountWorkState'
                  meta:
                    allOf:
                      - $ref: '#/components/schemas/Meta'
                      - type: object
                        required:
                          - updated_at
                        properties:
                          updated_at:
                            type: string
                            format: date-time
                            description: When the write was applied.
              example:
                data:
                  account_id: domain:acme.com
                  action: dismiss
                  account_evaluating_vendors_confirmed: false
                  account_claimed_by_email: ''
                  account_claimed_date: ''
                  account_dismissed_date: '2026-11-25'
                  account_dismissed_until: '2027-01-31'
                  account_dismiss_note: Signed with a competitor in October
                meta:
                  api_version: '2'
                  data_as_of: '2026-11-25T10:00:00.000Z'
                  cache: 'off'
                  updated_at: '2026-11-25T10:00:00.000Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - WorkspaceKey: []
        - BearerAuth:
            - mcp.write
components:
  schemas:
    AccountWorkState:
      type: object
      description: An account's claim / dismiss state after an action.
      properties:
        account_id:
          type: string
        action:
          type: string
        account_evaluating_vendors_confirmed:
          type: boolean
        account_claimed_by_email:
          type: string
        account_claimed_date:
          type: string
        account_dismissed_date:
          type: string
        account_dismissed_until:
          type: string
        account_dismiss_note:
          type: string
    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
                - rate_limited
                - internal_error
            message:
              type: string
            details:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: string
                  message:
                    type: string
              description: 'For invalid_request: one entry per parameter that failed.'
  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).
      x-status: 403
      x-codes:
        - forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such account in this workspace, or no such route.
      x-status: 404
      x-codes:
        - account_not_found
        - not_found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unprocessable:
      description: A parameter failed validation; details lists each one.
      x-status: 422
      x-codes:
        - invalid_request
      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.