curl --request POST \
--url https://api.melso.ai/v1/partner/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"setup": "incorporate_sl",
"external_id": "cus_48213",
"owner": {
"name": "Lucía Martín Pérez",
"email": "lucia@example.com",
"tax_id": "00000000T"
},
"details": {
"names": [
"Talleres Ebro",
"Ebro Motor",
"Talleres Martín"
],
"activity": "Reparación de vehículos",
"capital": "3000.00"
}
}
'{
"id": "7b1e2c3d-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"status": "requested",
"setup": "incorporate_sl",
"express": false,
"external_id": "cus_48213",
"legal_name": null,
"tax_id": null,
"created_at": "2026-11-21T10:02:11Z",
"ready_at": null
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}Partner API
Constituir una SL o dar de alta un autónomo por API — Create a company
Opens a company in Melso for your customer: an autónomo to register, an S.L. to incorporate, or one that already exists.
POST
/
partner
/
companies
curl --request POST \
--url https://api.melso.ai/v1/partner/companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"setup": "incorporate_sl",
"external_id": "cus_48213",
"owner": {
"name": "Lucía Martín Pérez",
"email": "lucia@example.com",
"tax_id": "00000000T"
},
"details": {
"names": [
"Talleres Ebro",
"Ebro Motor",
"Talleres Martín"
],
"activity": "Reparación de vehículos",
"capital": "3000.00"
}
}
'{
"id": "7b1e2c3d-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"status": "requested",
"setup": "incorporate_sl",
"express": false,
"external_id": "cus_48213",
"legal_name": null,
"tax_id": null,
"created_at": "2026-11-21T10:02:11Z",
"ready_at": null
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}Early access. Partner keys are issued on request: write to hello@melso.ai. See Partner API.
ready when it is done.
The owner gets an email to sign in to Melso and approve what needs a person. Send an Idempotency-Key to retry safely.Authorizations
Headers
Body
application/json
Response
The company, requested. Follow it with Get a company.