List contacts
Contacts with name, type, email and tax ID, newest first. Search by name, email or tax ID.
GET https://cotlet.dev/api/v1/holded/contacts
read
Lists contacts in your Holded account, newest first. Type is the contact type Holded uses: customer, supplier, lead, debtor or creditor. Search matches name, email or tax ID, so use it to find a contact before creating one. Pages hold up to 100 contacts; pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| search string | string | Part of a name, email or tax ID. |
| type enum | enum | customer, supplier, lead, debtor or creditor. Default: all types. |
| 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/holded/contacts \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("holded", "list_contacts") const result = await cotlet.call('holded', 'list_contacts'); cotlet call holded list_contacts Example response
{
"contacts": [
{
"contact_id": "c_5f2a91",
"name": "Northwind Studio",
"type": "customer",
"email": "accounts@northwind.example",
"tax_id": "ESB12345678"
}
],
"next_cursor": null
}