GET https://external-api.lia.com.br/external_api/v1/states
Returns every state in a single array. The endpoint takes no parameters, has no pagination and does not sort the list.
Example request
curl --location 'https://external-api-sandbox.lia.com.br/external_api/v1/states' \
--header 'Authorization: Bearer YOUR_API_TOKEN'
Example response
Shortened to three states.
[
{
"acronym": "CE",
"id": "12bf8bfa-5aad-5add-a453-a4e23ce814ea",
"name": "Ceará"
},
{
"acronym": "RS",
"id": "4fd53b54-3c2c-5f39-95b7-903091ea96cf",
"name": "Rio Grande do Sul"
},
{
"acronym": "SP",
"id": "50405e03-46a1-5b31-8ed1-d08167af85f6",
"name": "São Paulo"
}
]