Docs menu

Show typing

POST/v1/profiles/{profile_id}/typing

  • Scope messages:send

Shows (or stops) the typing indicator in a chat. Give to or chat_id. Needs the line working.

Parameters

Path

  • profile_idstringrequired

    The line (prf_…).

Request body

  • tostring

    The person or group id. Give this or chat_id.

  • chat_idstring

    The chat. Give this or to.

  • typingboolean

    false stops it (default true).

  • secondsinteger

    Stop after this many seconds, 1–60.

Response

200 OKDone.

  • oktruerequired

  • typingbooleanrequired

  • detailmap

Errors

StatusCodeMeans
403draft_only_keyThis key can only write drafts; typing, reactions and read receipts aren't drafts.
403recipient_not_allowedThe recipient isn't on this key's allowed recipients.
403sending_pausedWe paused sending on your account (or this line) while we review recent activity that looked like mass texting. Incoming messages still arrive. details.scope is team or line.
503line_unavailableThe line is having trouble right now.
400validation_failedA field is missing or invalid.
401unauthorizedThe API key is missing, unknown or revoked.
403insufficient_scopeThe API key lacks the scope this needs.
404not_foundNo such object, or the key can't see it.

Every error is { "error": { "code", "message" } }. All error codes.

Keys come with your first line.

Request an invite and we'll set up a line for your team. API access is part of every plan.

Request an invite