All Let's Work public API errors are JSON. Prefer Accept: application/problem+json. Each problem includes type, title, status, code, detail, hint, and instance (RFC 9457).
validation_error (400)
The JSON body is missing required fields or has the wrong types. Hint: send nome and a valid email.
invalid_email (400)
Email failed format checks. Hint: use a mailbox like nome@empresa.com.br.
invalid_phone (400)
Phone must be 10–11 Brazilian digits if provided. Hint: include DDD, digits only or formatted.
rate_limited (429)
Too many unauthenticated writes. Hint: register via /auth.md and send a bearer token, or wait.
not_found (404)
No operation at that path. Hint: list routes from GET /wp-json/lw/v1 or OpenAPI.
method_not_allowed (405)
Wrong HTTP method. Hint: lead and sandbox are POST; health and info are GET.
internal_error (500)
Unexpected failure storing the lead. Hint: retry once, then email atendimento@letswork.com.br.
OpenAPI component: Problem in openapi-leads.json.