Skip to main content
PUT
Pause or resume the agent's own sending

Authorizations

X-API-Key
string
header
required

Body

application/json
paused
boolean
required

True pauses every reply the agent would send on its own; they wait for a person instead. False lets them send again (admins only).

reason
string | null

Why, kept in the switch's history.

Maximum string length: 500

Response

Successful Response

changed_at
string<date-time> | null
required

When this workspace's switch was last set; null if it never has been.

changed_by
string | null
required

Clerk user id of whoever last set this workspace's switch; null if nobody has.

paused
boolean
required

True when this workspace has paused the replies the agent sends on its own. Replies it writes still wait in Needs approval for a person.

paused_everywhere
boolean
required

True when Oneprofile has paused the agent's own sending for every workspace. Nothing is sent unattended while it is, whatever paused says.