Create a key
The company’s owner creates it in Melso: Settings → Connect your AI → API keys (Ajustes → Conecta tu IA → Claves de API). The secret,mk_live_…,
is shown once. Keep it on your servers, never in a browser or an app.
A company holds up to 10 keys. A key never expires: it works until the owner
revokes it.
What a key can do
- One company. Any other
company_idanswers404. - The owner’s authority. It issues and voids invoices while its creator is still the owner.
- The company’s plan. Reads work on any plan; writes need a paid one.
mk_test_ key answers 401.
Partner keys
A firm that serves several companies uses one partner key for all of them, with the company’sid in the path. The firm’s owner or an admin creates it.
See Partner API authentication and
Acting for your companies.