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

Parameters: list_contacts
NameTypeDescription
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
curl https://cotlet.dev/api/v1/sevdesk/contacts \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sevdesk", "list_contacts")
Node.js
const result = await cotlet.call('sevdesk', 'list_contacts');
CLI
cotlet call sevdesk list_contacts

Example response

JSON

{
  "contacts": [
    {
      "contact_id": "3084417",
      "kind": "organization",
      "name": "Nordlicht Studio",
      "category": "Kunde",
      "customer_number": "1017",
      "email": "accounts@nordlicht-studio.example"
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.