Basic Data Sync (Individual)

This is a service for consulting Brazilian people. This feature queries basic personal information using the CPF provided and returns the data received in the same request.

Run synchronous Basic Data for Individual

post

The PF Basic Data service returns whether the provided CPF is valid, as well some basic information about the holder.
Permission required: Services query

Header parameters
AuthorizationstringRequired

Your access token. See more in the 'Authentication' topic of this section.

Body
servicestringRequired

The name of the requested service, for PF Basic Data Sync (Individual) needs to be "pf_basic_data"

Example: pf_basic_data
metadataobjectOptional

All 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

Responses
200

Success

application/json
post
POST /v1/services HTTP/1.1
Host: api.public.caf.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "service": "pf_basic_data",
  "parameters": {
    "cpf": "text"
  },
  "metadata": {}
}
{
  "requestId": "text",
  "message": "text",
  "data": {
    "service": "pf_basic_data",
    "serviceData": {
      "taxIdNumber": "12345678910",
      "taxIdCountry": "BRAZIL",
      "alternativeIdNumbers": {},
      "name": "HOLDER NAME",
      "socialName": "HOLDER SOCIAL NAME",
      "gender": "M",
      "birthDate": "2000-01-01T00:00:00Z",
      "age": 25,
      "birthCountry": "BRASILEIRA",
      "motherName": "HOLDER MOTHER NAME",
      "fatherName": "HOLDER FATHER NAME",
      "taxIdStatus": "REGULAR",
      "taxIdOrigin": "RECEITA FEDERAL",
      "hasObitIndication": false,
      "obitIndicationOrigin": "",
      "obitIndicationYear": "",
      "taxIdStatusDate": "2010-01-01T00:00:00Z",
      "creationDate": "2010-01-01T00:00:00Z",
      "lastUpdateDate": "2025-01-01T00:00:00Z"
    },
    "metadata": {}
  }
}

Last updated