✅ Presence

Set session presence

post/api/{session}/presence

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/presence
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

Request body

chatIdstring

Chat ID - either group id or contact id. Required for chat-related presence statuses; omit for ONLINE/OFFLINE.

presence'offline' | 'online' | 'typing' | 'recording' | 'paused' required

Example request

{
  "chatId": "11111111111@c.us"
}

Changes

No recorded changes to this operation across all 1 revision of this API.