Skip to main content
POST
Register a self-employed person
Early access. Your firm’s owner or an admin creates partner keys in Settings › Developers. See Partner API.
Permission: incorporations:write. Send an Idempotency-Key. The answer is 202 with the incorporation, requested. Melso’s team writes to owner.email for what needs the owner, such as their digital certificate to file the alta. Once the business has its NIF, the incorporation is completed and company_id names its new company: from then on, call the Melso API with it. Follow it with Get an incorporation. A business that already has its NIF does not need this: use Create a company.

Authorizations

Authorization
string
header
required

A partner key of your firm, mk_live_…, which reaches every company of the firm. Each key carries the permissions chosen when it was created. Keep it on your servers. See Authentication.

Headers

Idempotency-Key
string

A unique key of yours, up to 255 characters. A retry with the same key and body gets the first answer again for 24 hours.

Maximum string length: 255

Body

application/json
owner
object
required
activity
string
required

What the person will do, in a sentence. Melso picks the IAE heading from it.

external_id
string

Your own ID for this customer

Maximum string length: 200
start_date
string<date>

The day the activity starts. Today or later.

postal_code
string

The postal code of the fiscal address. Sets the tax territory.

Response

The incorporation, requested.

id
string<uuid>
required
type
enum<string>
required

sl for an S.L. incorporation, autonomo for a self-employed registration.

Available options:
sl,
autonomo
status
enum<string>
required

requested until Melso's team takes it, in_progress while it works with the owner, completed once the business has its NIF, cancelled if it stopped.

Available options:
requested,
in_progress,
completed,
cancelled
owner
object
required
company_id
string<uuid> | null
required

The company Melso created, once completed. Null before.

created_at
string<date-time>
required
updated_at
string<date-time>
required
external_id
string | null
activity
string
proposed_names
string[]

S.L. only.

action_required
enum<string> | null

What Melso's team waits for from the owner, if anything. Beta.

Available options:
identity_verification,
documents,
bank_deposit,
notary_signature,
null
identity_verifications
object[]

Each person who must verify their identity, and how far they got. Beta.

completed_at
string<date-time> | null