List accounts
List accounts. See the OpenAPI-defined parameters, request body, and responses below.
GET
/AccountList accounts. See the OpenAPI-defined parameters, request body, and responses below.
OpenAPI description: Este endpoint retorna todas as contas cadastradas.
Authentication
Authentication required. Send your user API key in the X-API-Key header.
Parameters
| Name | Location | Type | Required | Description | Constraints |
|---|---|---|---|---|---|
EnabledFilter | query | EnabledFilter | No | 0 = All; 1 = Enabled; 2 = Disabled | — |
Name | query | string | No | — | — |
CustomerTenantId | query | integer · int32 | No | — | — |
Request body
This operation does not accept a request body.
Example request
curl --request GET \
--url 'https://api.zild.ai/Account?EnabledFilter={EnabledFilter}&Name={Name}&CustomerTenantId={CustomerTenantId}' \
--header 'X-API-Key: YOUR_USER_API_KEY'
Responses
| Status | Description | Response body |
|---|---|---|
200 | Sucesso ao retornar as contas | application/json · array<AccountDto> |
Example response (200):
[
{
"id": 0,
"name": "string",
"legalName": "string",
"site": "string",
"linkedInUrl": "string",
"email": "string",
"taxId": "string",
"enabled": true,
"customerTenantId": 0
}
]
Data models
AccountDto
| Property | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | integer · int32 | No | — | — |
name | string | No | — | nullable |
legalName | string | No | — | nullable |
site | string | No | — | nullable |
linkedInUrl | string | No | — | nullable |
email | string | No | — | nullable |
taxId | string | No | — | nullable |
enabled | boolean | No | — | — |
customerTenantId | integer · int32 | No | — | — |
EnabledFilter
0 = All; 1 = Enabled; 2 = Disabled
integer