GET
/
customers
curl --request GET \
  --url https://api-sandbox.lumx.io/customers \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "individual",
      "address": {
        "line1": "Rua dos Bobos, 0",
        "line2": "Apto 101",
        "country": "BRA",
        "state": "SP",
        "city": "São Paulo",
        "zipCode": "01234-567"
      },
      "documents": [
        {
          "country": "BRA",
          "type": "TAX_ID",
          "value": "123.456.789-00"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "birthdate": "1990-01-01"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Response

200 - application/json
The list of customers was retrieved successfully.
data
object[]

An array containing all customers.