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

# Add a follower to a task

> Makes a user (a teammate with a Statisfy login, by their people id) follow the task, as the app's Followers panel does; anyone else is a 422. A follower is emailed when the task changes or is commented on. Someone already on the task (its assignee, say) is left as they are, and a repeat succeeds. Answers the task's people after the change. `people` is everyone the task's notifications reach, once each, the assignee first: each one's `id`, `name`, `email`, `type` and `roles` (assignee, creator, follower).



## OpenAPI

````yaml /api/statisfy-api.openapi.json put /v1/objects/task/records/{task_id}/followers/{person_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/objects/task/records/{task_id}/followers/{person_id}:
    put:
      tags:
        - task_relations
      summary: Add a follower to a task
      description: >-
        Makes a user (a teammate with a Statisfy login, by their people id)
        follow the task, as the app's Followers panel does; anyone else is a
        422. A follower is emailed when the task changes or is commented on.
        Someone already on the task (its assignee, say) is left as they are, and
        a repeat succeeds. Answers the task's people after the change. `people`
        is everyone the task's notifications reach, once each, the assignee
        first: each one's `id`, `name`, `email`, `type` and `roles` (assignee,
        creator, follower).
      operationId: task_relations_add_follower
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            type: string
        - description: 'A user''s id: the people id the users API returns as `id`'
          in: path
          name: person_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskFollowers'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    TaskFollowers:
      properties:
        people:
          description: >-
            Everyone the task's notifications reach, once each, the assignee
            first
          items:
            $ref: '#/components/schemas/TaskPerson'
          title: People
          type: array
        task_id:
          title: Task Id
          type: string
      required:
        - task_id
      title: TaskFollowers
      type: object
    TaskPerson:
      properties:
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        id:
          description: The person's id
          title: Id
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        roles:
          description: 'Why the task''s notifications reach them: assignee, creator, follower'
          items:
            enum:
              - assignee
              - creator
              - follower
            type: string
          title: Roles
          type: array
        type:
          anyOf:
            - enum:
                - user
                - contact
                - vendor
                - digital_worker
              type: string
            - type: 'null'
          description: >-
            user (a teammate), contact, vendor or digital_worker; null when
            unknown
          title: Type
      required:
        - id
        - roles
      title: TaskPerson
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.