Companies
Upload related person documents
https://api.firstleeward.com/v0/companies/:id/related-persons/:personId/documentsUploads one declared beneficial-owner identity document for a Universal KYB application. uboDocumentType must match a type declared for this person. Send the front image first, then the back if the document has two sides.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Path Parameters
idstring<uuid>requiredCompany identifier
personIdstring<uuid>requiredRelated person identifier
Body
multipart/form-data
uboDocumentTypestringrequiredIdentity document type declared for this owner. Must match a type from the pack.
PASSPORTID_CARDDRIVERS_LICENCEfilesany | any[]requiredFront, then back if needed. Send a single file or repeat files (max 2, 5MB total).
Response
200Related person after uploading an identity document
idstring<uuid>requiredUnique related person identifier
companyIdstring<uuid>requiredCompany this person belongs to
fullNamestring | nullrequiredFull name of the person
emailstring<email> | nullrequiredEmail address of the person
statusstringrequiredVerification status
NOT_STARTEDIN_REVIEWAPPROVEDREJECTEDisActivebooleanrequiredWhether the related person is still addressable. False when the person has been archived.
createdAtstringrequiredWhen the person was added (ISO 8601)
updatedAtstringrequiredWhen the person was last updated (ISO 8601)
nextActionobject | nullrequiredAction the client must take next, or null if none remains
Show child attributes
Option 1 · Document upload
typestringrequireddocumentsobject[]requiredSupporting documents to upload, each with its current upload state
Show child attributes
Option 1 · Company document
documentTypestringrequiredCompany supporting document to upload
CERTIFICATE_OF_INCORPORATIONCOMPANY_PROFILESHAREHOLDING_CHARTREGISTER_OF_DIRECTORSBUSINESS_REGISTRYSOURCE_OF_FUNDSSOURCE_OF_WEALTHstatusstringrequiredThis document still needs to be uploaded
Option 2 · UBO document
documentTypestringrequiredBeneficial-owner identity document
relatedPersonIdstring<uuid>requiredRelated person this identity document belongs to
uboDocumentTypestringrequiredIdentity document type declared for this owner
PASSPORTID_CARDDRIVERS_LICENCEstatusstringrequiredThis document still needs to be uploaded
Option 2 · Submit
typestringrequired400Response for status 400
Option 1 · RelatedPersonDocumentNotDeclaredError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · CompanyApplicationSubmissionRejectedError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired403The requested verification method is not enabled for this project
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404Response for status 404
Option 1 · CompanyNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · CompanyRelatedPersonNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 3 · CompanyApplicationNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired409Response for status 409
Option 1 · CompanyApplicationNotEditableError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · CompanyApplicationNotSavedError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired