Skip to main content
GET
List customers
Search with q (name, email, city or tax ID). There is no cursor: when has_more is true, narrow q.

Authorizations

Authorization
string
header
required

A company API key, mk_live_…, that the company's owner creates in the Melso app under Settings, Connect your AI, API keys. It works in that one company with the owner's authority. Test keys (mk_test_…) are not issued. Keep the key on your servers. See Authentication.

Path Parameters

company_id
string<uuid>
required

The company's ID. Every company-scoped call works in exactly this company.

Query Parameters

q
string

Text found in the name, email or city, or in the tax ID. At most 200 characters.

Maximum string length: 200
limit
integer
default:50

Page size.

Required range: 1 <= x <= 200

Response

Customers, by name.

data
object[]
required
has_more
boolean
required

More customers match than limit. Narrow q to find the rest.

next_cursor
null
required

Always null. This list has no cursor.