Skip to content
Linq

Set the typing indicator

POST/v1/chats/{chat}/typing

Sets or clears the chat’s typing indicator.

Behavior

  • Live only: the customer sees it as it happens; nothing is recorded.
  • Not needed around your own sends: put typing_lead_ms on the send instead, which shows the indicator for exactly as long as you ask. This endpoint is for showing activity while you are still working on a reply.
  • No Idempotency-Key: the server neither requires nor consults one here.
Path ParametersExpand Collapse
chat: string
Body ParametersJSONExpand Collapse
state: "start" or "end"

start shows the customer the typing indicator; end clears it. Any other value is a 422 code 1066.

One of the following:
"start"
"end"

Set the typing indicator

curl https://messages.api.linqapp.com/v1/chats/$CHAT/typing \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $LINQ_AMB_API_KEY" \
    -d '{
          "state": "start"
        }'
{}
Returns Examples
{}