Skip to main content
POST
Update presence

Authorizations

Authorization
string
header
required

Instance token (zpfy_inst_...) — sends messages.

Body

application/json
to
string
required

Message recipient: phone in E.164 (e.g. 5511999998888) or a group id.

Example:

"5511999998888"

state
enum<string>
required

COMPOSING = typing; PAUSED = stopped.

Available options:
COMPOSING,
PAUSED
isAudio
boolean

true shows "recording audio".

Response

Action performed.

data
object