Smile · Schema

ArchiveCreateRequest

CompanyEmployment VerificationCredit ScoringKYCFraud PreventionPhilippines

Properties

Name Type Description
userId string User ID associated with this archive. If null, then Smile will create a new user associated with this archive
fileType object
rawFiles array
View JSON Schema on GitHub

JSON Schema

getsmileapi-archive-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getsmileapi/json-schema/getsmileapi-archive-create-request-schema.json",
  "title": "ArchiveCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getsmileapi-archives-api-openapi.yml#/components/schemas/ArchiveCreateRequest",
  "type": "object",
  "required": [
    "files"
  ],
  "properties": {
    "userId": {
      "type": "string",
      "description": "User ID associated with this archive. If null, then Smile will create a new user associated with this archive"
    },
    "fileType": {
      "$ref": "#/$defs/FileTypeId"
    },
    "rawFiles": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/FileObject"
      }
    }
  },
  "$defs": {
    "FileObject": {
      "type": "object",
      "required": [
        "fileContent",
        "fileExtensionType"
      ],
      "properties": {
        "fileSubtype": {
          "$ref": "#/$defs/FileSubtype"
        },
        "fileName": {
          "type": "string",
          "description": "raw file name. If null, then Smile will use the file name from the fileType."
        },
        "fileExtensionType": {
          "type": "string",
          "description": "raw file type",
          "enum": [
            "PDF",
            "PNG",
            "JPG",
            "JPEG"
          ]
        },
        "fileContent": {
          "type": "string",
          "description": "Archive file content, use base64 of file byte data"
        }
      }
    },
    "FileSubtype": {
      "type": "string",
      "enum": [
        "PAYSLIP",
        "PERSONAL_INFORMATION",
        "EMPLOYMENT_INFORMATION",
        "TAX_PAYMENT",
        "COMPANY_ID_FRONT",
        "COMPANY_ID_BACK",
        "CARD_FRONT",
        "CARD_BACK"
      ]
    },
    "FileTypeId": {
      "title": "FileTypeId",
      "type": "string",
      "description": "Upload file type. You can get all types from `/fileTypes` api"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/getsmileapi-archive-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.