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

# Get company context

> What the workspace says about itself in the Knowledge Base: the Company Details description and the "Who do you sell to?" answer. An empty string means it was never filled in.



## OpenAPI

````yaml /openapi.json get /company-context
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:
  /company-context:
    get:
      tags:
        - Company context
      summary: Get company context
      description: >-
        What the workspace says about itself in the Knowledge Base: the Company
        Details description and the "Who do you sell to?" answer. An empty
        string means it was never filled in.
      operationId: getCompanyContext
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - meta
                properties:
                  data:
                    $ref: '#/components/schemas/CompanyContext'
                  meta:
                    $ref: '#/components/schemas/Meta'
              example:
                data:
                  company_description: >-
                    Acme builds revenue intelligence software that shows sales
                    teams which accounts are evaluating a competitor.
                  who_we_sell_to: >-
                    Mid-market B2B software companies in North America with a
                    sales team of 20 or more.
                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'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - WorkspaceKey: []
        - BearerAuth:
            - mcp.read
components:
  schemas:
    CompanyContext:
      type: object
      description: What the workspace says about itself in the Knowledge Base.
      properties:
        company_description:
          type: string
          description: >-
            What your company does (Knowledge Base > Company Details). Empty
            when never filled in.
        who_we_sell_to:
          type: string
          description: >-
            Who you sell to (Knowledge Base > "Who do you sell to?"). Empty when
            never filled in.
    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'
    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.