List clients
Clients in your catalog with RFC, name, CFDI use, tax zip code and fiscal regime.
GET https://cotlet.dev/api/v1/facturama/clients
read
Lists the clients saved in the account catalog, filtered by a search text on name or RFC. Use client_id from each item in create_invoice. Pages hold up to 100 clients; pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| search string | string | Text to match against client name or RFC. |
| limit integer | integer | 1 to 100. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/facturama/clients \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("facturama", "list_clients") const result = await cotlet.call('facturama', 'list_clients'); cotlet call facturama list_clients Example response
{
"clients": [
{
"client_id": "cl_4821",
"rfc": "XAXX010101000",
"name": "Estudio Norte SA de CV",
"cfdi_use": "G03",
"tax_zip_code": "64000",
"fiscal_regime": "601",
"email": "billing@estudionorte.example"
}
],
"next_cursor": null
}