E-mails
Este é um serviço para consultar pessoas brasileiras. Este recurso consulta os endereços de e-mail relacionados ao CPF informado e retorna os dados recebidos na mesma solicitação.
Há outras duas possíveis respostas para o código de status 200: Dentro serviceData, ele pode conter apenas o message atributo com os valores: "O CPF não existe na base de dados da Receita Federal." ou "Este CPF pertence a um menor de idade. A solicitação não pode ser processada por motivos legais."
The PF Emails service returns the list of e-mail addresses related to the provided CPF.
Permission required: Create Services
Your access token. See more in the 'Authentication' topic of this section.
The name of the requested service, for PF Emails needs to be "pf_emails"
pf_emailsAll fields passed to the metadata will be returned in the response, this field is useful to bring an internal identifier of the request for example
Success
Invalid provided body
Invalid token
The token does not have permission to access this resource
Internal server error
POST /v1/services/ HTTP/1.1
Host: api.us.prd.caf.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"service": "pf_emails",
"parameters": {
"cpf": "text",
"birthDate": "14/02/2010"
},
"metadata": {}
}{
"requestId": "text",
"message": "text",
"data": {
"service": "pf_emails",
"serviceData": {
"emails": [
{
"email": "[email protected]",
"type": "personal",
"firstPassageDate": "2018-01-01T00:00:00Z",
"lastPassageDate": "2025-01-01T00:00:00Z"
}
]
},
"metadata": {}
}
}Atualizado

