Skip to main content
Configures whether the agent returns to a conversation that went quiet, how often, and through which medium. The engine only guarantees the heartbeat — when to wake up and how many times. What to do on each attempt — write, call, or let it go — is decided by the agent in that turn, with the conversation in front of it. So the fix for “it insists too much” is fewer attempts, not a longer prompt.

Endpoint

Required scope

agents:write

Body

Example request

curl

Response

200 OK

The whole agent, with its re-engagement in place.

400 Bad Request

max_attempts outside 0–20, or a waiting time outside its range.

404 Not Found

No agent with that id in the token’s company and project.

Operational notes

  • max_attempts: 0 turns it off and keeps the rest of the configuration, so you can switch it back on without retyping the cadence.
  • Two attempts spaced a day apart read as attentive; five read as harassment, and on WhatsApp it costs you the number.
  • Reopening a WhatsApp conversation outside its window needs an approved template. Without allow_template and a real template_name, an attempt on a cold WhatsApp thread has no way to land.