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

> ## Agent Instructions
> Base URL: https://api.social-api.ai/v1. Send your API key in the Authorization header: Authorization: Bearer <your API key>.
> Every error response from /v1 is JSON: { "error": { "code", "message", "meta" (optional) }, "request_id" }. Branch on error.code; use error.message only for logs.
> A 429 response carries a Retry-After header, in seconds, when the limit has a known wait. Authenticated responses can carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset for the per-minute request budget your SocialAPI account shares across every API key (see /guides/rate-limits).
> Paginated list endpoints return next_cursor, at the top level or inside pagination (see /guides/pagination). Pass it as the cursor query parameter to get the next page. An absent or empty next_cursor means you have the last page.
> Treat every ID as an opaque string: do not parse it or assume a format.
> Support differs by platform and by operation. Check /platforms/overview before assuming an operation works on a platform. An unsupported operation returns 501 with error.code resource.not_supported. Some families return their own code instead: reviews, and posts with a target on Telegram or App Store Connect, return 422 account.platform_unsupported; Automations 422 automation.platform_unsupported.

# Show typing or mark seen

> Shows the other participant a typing indicator, or marks their messages as seen, without sending a message. Free: no interaction credit is used.

Supported on Instagram, Facebook Messenger and WhatsApp. On Instagram and Messenger the typing indicator clears after 20 seconds or when you send a message. On WhatsApp, typing_on also marks the contact's latest message as read, clears after 25 seconds or when you reply, and needs at least one message from the contact. WhatsApp has no typing_off and returns 400. Marking a message seen on WhatsApp also marks every earlier message in the chat as read.



## OpenAPI

````yaml /api-reference/openapi.json post /inbox/conversations/{conversation_id}/sender-action
openapi: 3.0.0
info:
  description: >-
    Unified social media inbox API. Read and respond to comments, DMs, reviews,
    and mentions across Instagram, Facebook, Threads, Google Business Profile,
    TikTok, LinkedIn, and YouTube through a single REST API. X/Twitter and
    Trustpilot coming soon.
  title: SocialAPI.AI
  contact:
    name: SocialAPI.AI Support
    email: support@social-api.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.social-api.ai/v1
security: []
paths:
  /inbox/conversations/{conversation_id}/sender-action:
    post:
      tags:
        - Inbox
      summary: Show typing or mark seen
      description: >-
        Shows the other participant a typing indicator, or marks their messages
        as seen, without sending a message. Free: no interaction credit is used.


        Supported on Instagram, Facebook Messenger and WhatsApp. On Instagram
        and Messenger the typing indicator clears after 20 seconds or when you
        send a message. On WhatsApp, typing_on also marks the contact's latest
        message as read, clears after 25 seconds or when you reply, and needs at
        least one message from the contact. WhatsApp has no typing_off and
        returns 400. Marking a message seen on WhatsApp also marks every earlier
        message in the chat as read.
      operationId: sendSenderAction
      parameters:
        - example: 7f1c4e2b-2841-41a8-85d7-27b0f37ac067
          description: Conversation ID
          name: conversation_id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SenderActionRequest'
        description: Account and action
        required: true
      responses:
        '200':
          description: Action sent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          description: >-
            Invalid body, missing account_id, unknown action, or an action the
            platform does not offer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Conversation or account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '501':
          description: Platform does not support sender actions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Upstream platform API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    SenderActionRequest:
      type: object
      required:
        - account_id
        - action
      properties:
        account_id:
          description: Connected account ID that owns the conversation.
          type: string
          example: acc_01HZ9X3Q4R5M6N7P8V2K0W1J
        action:
          description: >-
            What to show the other participant: typing_on, typing_off, or
            mark_seen.
          allOf:
            - $ref: '#/components/schemas/SenderAction'
          example: typing_on
    SuccessResponse:
      type: object
      required:
        - success
      properties:
        success:
          type: boolean
          example: true
    ErrorResponse:
      type: object
      required:
        - error
        - request_id
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
        request_id:
          description: >-
            RequestID matches the X-Request-ID response header. Include it when
            contacting support.
          type: string
          example: 01HZ9X3Q4R5M6N7P8V2K0W1J
    SenderAction:
      type: string
      enum:
        - typing_on
        - typing_off
        - mark_seen
      x-enum-varnames:
        - SenderActionTypingOn
        - SenderActionTypingOff
        - SenderActionMarkSeen
    ErrorBody:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: resource.not_found
        message:
          type: string
          example: Account not found
        meta:
          type: object
          additionalProperties: {}
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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