List contacts
Customers, suppliers and other contacts with category and email, matched by name.
GET https://cotlet.dev/api/v1/sevdesk/contacts
read
Searches contacts by name and returns persons and organizations with their category (Kunde, Lieferant, Partner, Interessent or one you created), email and customer number. Pass contact_id to create_invoice_draft or list_invoices. 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 the name. |
| category string | string | Category name, e.g. Kunde or Lieferant. |
| customer_number string | string | Exact customer number. |
| 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/sevdesk/contacts \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("sevdesk", "list_contacts") const result = await cotlet.call('sevdesk', 'list_contacts'); cotlet call sevdesk list_contacts Example response
{
"contacts": [
{
"contact_id": "3084417",
"kind": "organization",
"name": "Nordlicht Studio",
"category": "Kunde",
"customer_number": "1017",
"email": "accounts@nordlicht-studio.example"
}
],
"next_cursor": null
}