KYC Documents

Upload document

Upload a new document for identity verification.

Document Types:

  • personal_id - Personal ID
  • address_proof - Proof of address
  • business_registration - Business Registration
  • letter_of_intent - Letter of Intent

File Requirements:

  • Allowed extensions: jpg, jpeg, png, pdf
  • Accepted MIME types: ["image/jpeg", "image/png", "application/pdf"]

document_id feeds documents_show, documents_update, documents_destroy and documents_files_download_file; document.files[].role feeds documents_files_download_file.

post/api/v2/documents

Request

  • Base URL: https://app.didlogic.com
  • URL: https://app.didlogic.com/api/v2/documents
  • Auth: HTTP bearer

Response

creates a new document

messagestring required

Success message

document_idinteger required

Created document ID

Example response

{
  "message": "Document created",
  "document_id": 224,
  "document": {
    "name": "Test Document",
    "id": 224,
    "user_id": 1200,
    "country": "United Kingdom",
    "created_at": "2026-10-14T16:40:01Z",
    "approvement_status": "in review",
    "doc_type": "Personal ID",
    "identity_id": 216,
    "identity": {
      "id": 216,
      "name": "Paper Box 27",
      "user_id": 1200,
      "created_at": "2026-10-14T16:40:01Z",
      "persistence_status": "active"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.