Confirmar e-mail
POST
/api/v1/smartflow/leads/{id}/email/confirm
Valida o código (OTP) recebido pelo lead por e-mail.
Authorizations
Authentication v2
For more details, see Authentication v2
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Identificador do lead (leadId).
Type
Requiredstring
Request Body
application/json
JSON "code": "123456"
{
}
Responses
Lead avançado; retorna o envelope padrão com o próximo passo.
application/json
JSON "leadId": "lead_01HZX", "status": "in_progress", "step": "email", "nextStep": "phone", "nextStepUrl": "/api/v1/smartflow/leads/lead_01HZX/phone", "progress": 40, "finished": false
{
}