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

# Send a flame

> The one reaction. One per person per session; a second is a no-op. Only on a session you can see, and never on your own.



## OpenAPI

````yaml https://api.doers.sh/openapi.json post /v2/sessions/{sessionId}/flames
openapi: 3.1.0
info:
  title: Doers API
  version: 2.0.0
  description: >-
    The open API of Doers: tasks, projects, areas, prioritised context and the
    day's plan.


    ## Authentication


    Every route requires a bearer token, generated from **Settings > API & MCP**
    in the app:


    ```

    Authorization: Bearer pc_…

    ```


    ## Two date fields, not to be confused


    - `when` — the **schedule**: `today`, `anytime` (Later), `someday` (Future)
    or a date.

    - `deadline` — the **commitment**, independent of the schedule.


    ## Time zone


    The server reasons in UTC and does not know yours. Send the `X-PC-Today:
    YYYY-MM-DD` header

    (or the `day` argument where it exists) so dated operations use your local
    day.


    ## MCP server


    The same token gives access to the [Model Context
    Protocol](https://modelcontextprotocol.io)

    server at `POST https://doers.sh/mcp`, which exposes the same operations as
    tools for Claude,

    Cursor and other compatible clients.
servers:
  - url: https://api.doers.sh
    description: Production.
security:
  - bearerAuth: []
tags:
  - name: Tasks
  - name: Projects
  - name: Areas
  - name: Headings
  - name: Comments
  - name: Realtime
  - name: Devices
  - name: Context
  - name: Plan
  - name: Sessions
  - name: Rounds
  - name: Journal
  - name: Habits
  - name: Stats
  - name: Users
  - name: Profiles
  - name: Workspaces
  - name: Access
  - name: Activity
  - name: Tokens
  - name: Referrals
  - name: Files
  - name: Connections
  - name: Collaborators
  - name: Links
  - name: Packages
  - name: Installs
  - name: Billing
  - name: Calendar
  - name: Coach
  - name: Marketplace
paths:
  /v2/sessions/{sessionId}/flames:
    post:
      tags:
        - Activity
      summary: Send a flame
      description: >-
        The one reaction. One per person per session; a second is a no-op. Only
        on a session you can see, and never on your own.
      operationId: sendFlame
      parameters:
        - name: sessionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  item:
                    type: object
                    properties:
                      session:
                        type: object
                        properties:
                          id:
                            type: string
                          startedAt:
                            type: number
                            description: Epoch milliseconds.
                          endedAt:
                            type: number
                            description: Epoch milliseconds.
                          visibility:
                            type: string
                            enum:
                              - public
                              - anonymized
                              - private
                            description: >-
                              Who sees this task on shared and social surfaces:
                              public shows title and project, anonymized shows
                              only the area, private shows nothing. New tasks
                              default to private.
                        required:
                          - id
                          - startedAt
                          - endedAt
                          - visibility
                        additionalProperties: false
                      person:
                        type: object
                        properties:
                          username:
                            type: string
                          name:
                            type: string
                          image:
                            anyOf:
                              - type: string
                              - type: 'null'
                        required:
                          - username
                          - name
                          - image
                        additionalProperties: false
                      minutes:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      title:
                        anyOf:
                          - type: string
                          - type: 'null'
                        description: >-
                          The task's title; the owner always sees it; a follower
                          only when the session is public.
                      container:
                        anyOf:
                          - type: string
                          - type: 'null'
                        description: >-
                          The project or area the task lived in, whatever the
                          visibility.
                      flames:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      flamed:
                        type: boolean
                        description: Whether the caller sent one.
                      isMe:
                        type: boolean
                    required:
                      - session
                      - person
                      - minutes
                      - title
                      - container
                      - flames
                      - flamed
                      - isMe
                    additionalProperties: false
                required:
                  - item
                additionalProperties: false
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  responses:
    BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: >-
        Invalid request — unreadable body, out-of-range field or unknown
        parameter.
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Token missing, unknown or revoked.
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: >-
        Resource does not exist **or** belongs to another account — the API
        never distinguishes the two.
    Conflict:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Conflicts with the resource's current state.
    TooManyRequests:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Too many requests. `Retry-After` says how many seconds to wait.
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable machine-readable code.
            message:
              type: string
              description: Human-readable message.
            details:
              type: array
              description: Per-field detail, present on validation errors.
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
                required:
                  - field
                  - message
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `pc_…` token generated from Settings > API & MCP.

````