Skip to main content
PATCH
Update the labour settings
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
Only the keys sent change. accounts replaces the whole list, so send every account.

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.

Body

application/json
expected_version
integer
required
settings
object
required

Only the keys that change, as in the labour settings. accounts replaces the whole list.

Response

The labour settings.

version
integer
required
red_holder
enum<string> | null

Who holds the RED authorization.

Available options:
company,
gestoria,
null
red_authorization
string | null

8 digits.

cnae
string | null

4 digits.

accounts
object[]
payer_iban
string | null

The account salaries leave from.

payer_bic
string | null
worker_representatives
boolean

The staff has legal representatives.

representative
object | null

Who signs for the company.