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

# Zapier: Add Activity

> Creates an activity with Zapier-tuned behavior including bulk email processing and LLM-based person matching.



## OpenAPI

````yaml /api-reference/openapi-zapier.json post /zapier/zap-add-activity
openapi: 3.1.0
info:
  title: Stardex API (Zapier)
  version: 1.0.0
  description: Stardex Zapier integration endpoints.
servers:
  - url: https://api.stardex.ai
    description: Production API server
security:
  - bearerAuth: []
tags: []
paths:
  /zapier/zap-add-activity:
    post:
      tags:
        - Zapier Endpoints
      summary: 'Zapier: Add Activity'
      description: >-
        Creates an activity with Zapier-tuned behavior including bulk email
        processing and LLM-based person matching.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ZapAddActivityBody'
      responses:
        '200':
          description: Activity created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ZapAddActivityResponse'
        '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:
    ZapAddActivityBody:
      type: object
      properties:
        activity_type:
          type: string
          enum:
            - secondary_note
            - meeting_note
            - meeting_transcript
            - email
            - interview_note
            - linkedin_message
            - text_message
            - candidate_summary
            - linkedin_message_response
            - call_note
            - client_note
        note_content:
          type: string
          minLength: 1
        name:
          type: string
        linkedin_url:
          type: string
        email:
          type: string
          format: email
        emails:
          anyOf:
            - type: string
            - type: array
              items:
                type: string
        phone:
          type: string
        description:
          type: string
        job_title:
          type: string
      required:
        - activity_type
        - note_content
    ZapAddActivityResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        message:
          type: string
        data:
          type: object
          properties:
            created_activities:
              type: array
              items:
                type: object
                properties:
                  activity_id:
                    type: string
                  person_id:
                    type:
                      - string
                      - 'null'
                  email:
                    type: string
                required:
                  - activity_id
                  - person_id
            activity_type:
              type: string
          required:
            - created_activities
            - activity_type
      required:
        - success
        - message
        - data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Authenticate with a Bearer token: API key, OAuth token, or session
        token.

````