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

# List company activities

> Returns a paginated list of activities (notes) attached to a company. Filtered by `organization_company_id` (required). Optionally filter by `activity_types` / `excluded_activity_types` (comma-separated keys from GET /v1/company-activities/types). Sorted by `created_at` descending.



## OpenAPI

````yaml /api-reference/openapi-v1.json get /v1/company-activities
openapi: 3.1.0
info:
  title: Stardex API (v1)
  version: 1.0.0
  description: >-
    Stardex ATS API — manage candidates, jobs, companies, and recruiting
    workflows.
servers:
  - url: https://api.stardex.ai
    description: Production API server
security:
  - bearerAuth: []
tags:
  - name: Persons
    description: Manage person records — contacts, work history, and custom fields.
  - name: Jobs
    description: Manage job postings — pipeline stages, team members, and custom fields.
  - name: Candidates
    description: Manage candidate records and pipeline stage transitions.
  - name: Companies
    description: Browse and retrieve company records.
  - name: Lists
    description: Create, search, and retrieve saved person and company lists.
  - name: Person Activities
    description: Create and manage activity records (notes, emails, meetings) for persons.
  - name: Team Members
    description: List team members for use in search filters and assignments.
  - name: Custom Fields
    description: Retrieve custom field definitions and tag options for search filters.
paths:
  /v1/company-activities:
    get:
      tags:
        - Company Activities
      summary: List company activities
      description: >-
        Returns a paginated list of activities (notes) attached to a company.
        Filtered by `organization_company_id` (required). Optionally filter by
        `activity_types` / `excluded_activity_types` (comma-separated keys from
        GET /v1/company-activities/types). Sorted by `created_at` descending.
      operationId: listCompanyActivities
      parameters:
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            default: 0
            description: Records to skip for pagination. Defaults to 0.
          required: false
          name: offset
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 100
            description: Max records per page (1–100). Defaults to 100.
          required: false
          name: limit
          in: query
        - schema:
            type: string
            format: uuid
            description: Company UUID to list activities for. Required.
          required: true
          name: organization_company_id
          in: query
        - schema:
            type: string
            description: >-
              Comma-separated activity type keys to include (e.g.
              `secondary_note,call_note`). Discover valid keys via GET
              /v1/company-activities/types.
          required: false
          name: activity_types
          in: query
        - schema:
            type: string
            description: Comma-separated activity type keys to exclude.
          required: false
          name: excluded_activity_types
          in: query
      responses:
        '200':
          description: Company activities fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCompanyActivitiesResponse'
              example:
                success: true
                data:
                  - id: 901e2345-e67f-89ab-cdef-456789012345
                    organization_company_id: 123e4567-e89b-12d3-a456-426614174000
                    activity_type: meeting_note
                    activity_content: >-
                      <p>Quarterly business review with finance team. Discussed
                      Q3 hiring plans.</p>
                    activity_raw_content: >-
                      Quarterly business review with finance team. Discussed Q3
                      hiring plans.
                    is_starred: false
                    created_by:
                      id: 7d57bf3f-b470-48c0-ac98-a3f75b817209
                      first_name: Pranav
                      last_name: Patel
                    created_at: '2024-01-15T10:30:00Z'
                    updated_at: '2024-01-15T10:30:00Z'
                meta:
                  total: 1
                  offset: 0
                  limit: 100
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    description: Always false for error responses.
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Machine-readable error code (e.g. "VALIDATION_ERROR",
                          "NOT_FOUND").
                      message:
                        type: string
                        description: Human-readable error description.
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
components:
  schemas:
    ListCompanyActivitiesResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: array
          items:
            $ref: '#/components/schemas/CompanyActivityResponseData'
        meta:
          type: object
          properties:
            total:
              type: number
              description: Total matching records across all pages.
            offset:
              type: number
              description: Current pagination offset.
            limit:
              type: number
              description: Page size used for this request.
          required:
            - total
            - offset
            - limit
      required:
        - success
        - data
        - meta
    CompanyActivityResponseData:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Activity UUID.
        organization_company_id:
          type: string
          format: uuid
          description: Company UUID this activity belongs to.
        activity_type:
          type: string
          description: Activity type key.
        activity_content:
          type: string
          description: Activity body as HTML.
        activity_raw_content:
          type: string
          description: Activity body as plain text.
        is_starred:
          type: boolean
          description: True when the activity is pinned/starred.
        created_by:
          type:
            - object
            - 'null'
          properties:
            id:
              type: string
              format: uuid
              description: Team member UUID.
            first_name:
              type:
                - string
                - 'null'
              description: Team member first name.
            last_name:
              type:
                - string
                - 'null'
              description: Team member last name.
          required:
            - id
            - first_name
            - last_name
          description: Team member who created the activity, if any.
        created_at:
          type: string
          description: ISO 8601 creation timestamp.
        updated_at:
          type: string
          description: ISO 8601 last-update timestamp.
      required:
        - id
        - organization_company_id
        - activity_type
        - activity_content
        - activity_raw_content
        - is_starred
        - created_by
        - created_at
        - updated_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Authenticate with a Bearer token: API key, OAuth token, or session
        token.

````