Skip to main content
GET
/
customers
/
{entity}
/
{doc}
Cliente
curl --request GET \
  --url http://api.loya.com.br/v1/customers/{entity}/{doc} \
  --header 'Authorization: Bearer <token>'
{
  "cpf": "12345678909",
  "first_name": "João",
  "last_name": "Brasil",
  "phone": 11987654321,
  "email": "joao@brasil.org.br",
  "app": {
    "download": true,
    "privacy": false
  },
  "dots": [
    {
      "entity": "phone",
      "doc": "11987654321",
      "dot": 99,
      "value": 99.99
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.loya.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

entity
enum<string>
required

Tipo do Cliente

Available options:
cpf,
phone
Example:

"phone"

doc
string
required

Documento do Cliente

Example:

"11987654321"

Response

Registro

cpf
string

CPF

Example:

"12345678909"

first_name
string

Nome

Example:

"João"

last_name
string

Sobrenome

Example:

"Brasil"

phone
integer

Telefone

Example:

11987654321

email
string<email>

E-Mail

Example:

"joao@brasil.org.br"

app
object
dots
object[]