Errors · Status 422Unprocessable Content
consent_required
Client consent not declared
Why it happens
On creation, the agency must declare its legal basis to process the client's data (it is the controller).
How to fix
Send consentGiven: true. The platform records the date, the Terms version and the channel.
Who answers
the API
Routes that return this error
- PUT/v1/leads/by-ref/{ref}— Create, update or link by your code
- POST/v1/leads— Create a client
Example
{
"type": "https://imobyflow.com.br/desenvolvedores/erros/consent-required",
"title": "Client consent not declared",
"status": 422,
"code": "consent_required",
"requestId": "8c1f0a4e-2b7d-4c39-9e51-6a0d3f2b1c7e"
}Tap or hover a field to see what it means.