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

# Get person activity by ID

> Retrieve a single person activity by its UUID. Returns content in both HTML and plain text formats.

**When to use**: Use when you need the full content of a specific activity. For a paginated timeline of all activities for a person, use `GET /v1/persons/{id}/activities` instead.



## OpenAPI

````yaml /api-reference/openapi-v1.json get /v1/person-activities/{id}
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/person-activities/{id}:
    get:
      tags:
        - Person Activities
      summary: Get person activity by ID
      description: >-
        Retrieve a single person activity by its UUID. Returns content in both
        HTML and plain text formats.


        **When to use**: Use when you need the full content of a specific
        activity. For a paginated timeline of all activities for a person, use
        `GET /v1/persons/{id}/activities` instead.
      operationId: getPersonActivityById
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            description: Person activity ID
      responses:
        '200':
          description: Activity fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPersonActivityResponse'
              example:
                success: true
                data:
                  id: 901e2345-e67f-89g0-h123-456789012345
                  person_id: 123e4567-e89b-12d3-a456-426614174000
                  activity_type: meeting_note
                  activity_content: <p>Had a great conversation about the role requirements.</p>
                  activity_raw_content: Had a great conversation about the role requirements.
                  created_at: '2024-01-15T10:30:00Z'
        '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:
    GetPersonActivityResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          $ref: '#/components/schemas/GetPersonActivityResponseData'
      required:
        - success
        - data
    GetPersonActivityResponseData:
      type: object
      properties:
        id:
          type: string
          description: Activity UUID.
        person_id:
          type: string
          description: Person 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.
        created_at:
          type: string
          description: ISO 8601 creation timestamp.
      required:
        - id
        - person_id
        - activity_type
        - activity_content
        - activity_raw_content
        - created_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Authenticate with a Bearer token: API key, OAuth token, or session
        token.

````