Create an identity verification
curl --request POST \
--url https://api.melso.ai/v1/partner/incorporations/{incorporation_id}/identity-verifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tax_id": "00000000T"
}
'import requests
url = "https://api.melso.ai/v1/partner/incorporations/{incorporation_id}/identity-verifications"
payload = { "tax_id": "00000000T" }
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({tax_id: '00000000T'})
};
fetch('https://api.melso.ai/v1/partner/incorporations/{incorporation_id}/identity-verifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "iv_5e2a9c1d",
"tax_id": "00000000T",
"name": "Lucía Martín Pérez",
"status": "not_started",
"url": "https://melso.ai/verify#token",
"expires_at": "2026-12-02T09:30:00Z"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}Incorporations
Create an identity verification
Starts the identity verification of one person of an incorporation, and returns the link where they show an ID document and take a selfie.
POST
/
partner
/
incorporations
/
{incorporation_id}
/
identity-verifications
Create an identity verification
curl --request POST \
--url https://api.melso.ai/v1/partner/incorporations/{incorporation_id}/identity-verifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tax_id": "00000000T"
}
'import requests
url = "https://api.melso.ai/v1/partner/incorporations/{incorporation_id}/identity-verifications"
payload = { "tax_id": "00000000T" }
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({tax_id: '00000000T'})
};
fetch('https://api.melso.ai/v1/partner/incorporations/{incorporation_id}/identity-verifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "iv_5e2a9c1d",
"tax_id": "00000000T",
"name": "Lucía Martín Pérez",
"status": "not_started",
"url": "https://melso.ai/verify#token",
"expires_at": "2026-12-02T09:30:00Z"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}Early access. Your firm’s owner or an admin creates partner keys in Settings › Developers. See Partner API.
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
incorporations:write. The link works once and for 24 hours. A new verification for the same person cancels the earlier one. See Identity verification.Authorizations
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.
Body
application/json
Response
The verification, with its link.