curl -X POST https://api.whaapy.com/funnel/v1/contacts/550e8400-e29b-41d4-a716-446655440000/move \ -H "Authorization: Bearer wha_TU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "stage_id": "stage-qualified-uuid" }'
{ "contact_id": "550e8400-e29b-41d4-a716-446655440000", "previous_stage": { "id": "stage-lead-uuid", "name": "Lead" }, "new_stage": { "id": "stage-qualified-uuid", "name": "Qualified" }, "moved_at": "2026-01-28T12:00:00Z" }
Mueve un contacto a otra etapa del funnel
funnels:write
stage_id: null
null
{ "stage_id": null }
{ "contact_id": "550e8400-e29b-41d4-a716-446655440000", "previous_stage": { "id": "stage-lead-uuid", "name": "Lead" }, "new_stage": null, "moved_at": "2026-01-28T12:00:00Z" }
{ "error": "not_found", "message": "Contacto no encontrado" }
{ "error": "not_found", "message": "Etapa no encontrada" }
contact.stage_changed
{ "event": "contact.stage_changed", "data": { "contact_id": "550e8400-e29b-41d4-a716-446655440000", "phone_number": "+5215512345678", "previous_stage_id": "stage-lead-uuid", "previous_stage_name": "Lead", "new_stage_id": "stage-qualified-uuid", "new_stage_name": "Qualified", "moved_at": "2026-01-28T12:00:00Z" } }
POST /contacts/v1/bulk { "operation": "set_funnel_stage", "contact_ids": ["uuid-1", "uuid-2", "uuid-3"], "funnel_stage_id": "stage-qualified-uuid" }