Give the conversation back to the AI agent
const url = 'https://app.whatsetter.com/api/v1/leads/example/resume';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.whatsetter.com/api/v1/leads/example/resume \ --header 'Authorization: Bearer <token>'The mirror of /handoff: the AI agent takes the conversation back and
resumes replying to this lead. Equivalent to “réactiver l’IA” in the
dashboard.
Like /handoff, the business status is preserved and the call is
idempotent. Requires scope leads:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The WhatSetter lead id (same as contact.id on webhooks).
Responses
Section titled “Responses”The agent is active again on this conversation
object
Who is driving a conversation after a handoff/resume call.
object
The lead id.
Your own id, echoed so you can log the action against your record.
false after /handoff, true after /resume.
true when a human holds the conversation.
The lead’s business status — unchanged by these calls.
Whether the leads-list mirror was updated too. false means the agent is correctly stopped but the dashboard list may lag; the conversation view is always right.
Examplegenerated
{ "data": { "id": "example", "external_reference": "example", "agent_active": true, "manual_override": true, "status": "example", "dashboard_synced": true, "updated_at": "2026-04-15T12:00:00Z" }}Missing, unknown or revoked API key
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Resource not found in this workspace
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example" }}invalid_state: the lead has no conversation yet (not contacted).
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Agent control is not configured on this deployment (internal_error)
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example" }}upstream_error: the agent-control workflow was unreachable or refused the change. Safe to retry.
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example" }}
