Create a company express
curl --request POST \
--url https://api.melso.ai/v1/partner/companies/express \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "cus_48215",
"owner": {
"name": "Lucía Martín Pérez",
"email": "lucia@example.com",
"tax_id": "00000000T"
},
"activity": "Consultoría de software"
}
'import requests
url = "https://api.melso.ai/v1/partner/companies/express"
payload = {
"external_id": "cus_48215",
"owner": {
"name": "Lucía Martín Pérez",
"email": "lucia@example.com",
"tax_id": "00000000T"
},
"activity": "Consultoría de software"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
external_id: 'cus_48215',
owner: {name: 'Lucía Martín Pérez', email: 'lucia@example.com', tax_id: '00000000T'},
activity: 'Consultoría de software'
})
};
fetch('https://api.melso.ai/v1/partner/companies/express', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "2c4d6e8f-0a1b-4c3d-9e5f-6a7b8c9d0e1f",
"status": "requested",
"setup": "incorporate_sl",
"express": true,
"external_id": "cus_48215",
"legal_name": null,
"tax_id": null,
"created_at": "2026-11-21T10:05:43Z",
"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
SL exprés por API — Create a company express
Assigns your customer an S.L. that Melso already incorporated, from its pool of ready companies.
POST
/
partner
/
companies
/
express
Create a company express
curl --request POST \
--url https://api.melso.ai/v1/partner/companies/express \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "cus_48215",
"owner": {
"name": "Lucía Martín Pérez",
"email": "lucia@example.com",
"tax_id": "00000000T"
},
"activity": "Consultoría de software"
}
'import requests
url = "https://api.melso.ai/v1/partner/companies/express"
payload = {
"external_id": "cus_48215",
"owner": {
"name": "Lucía Martín Pérez",
"email": "lucia@example.com",
"tax_id": "00000000T"
},
"activity": "Consultoría de software"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
external_id: 'cus_48215',
owner: {name: 'Lucía Martín Pérez', email: 'lucia@example.com', tax_id: '00000000T'},
activity: 'Consultoría de software'
})
};
fetch('https://api.melso.ai/v1/partner/companies/express', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "2c4d6e8f-0a1b-4c3d-9e5f-6a7b8c9d0e1f",
"status": "requested",
"setup": "incorporate_sl",
"express": true,
"external_id": "cus_48215",
"legal_name": null,
"tax_id": null,
"created_at": "2026-11-21T10:05:43Z",
"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.
Idempotency-Key to retry safely.Authorizations
Headers
Body
application/json
Response
The company, requested, with express true.