100Hires · Schema

UploadApiAttachmentRequest

RecruitingArtificial IntelligenceHuman ResourcesSoftware-as-a-ServiceSmall Business

Properties

Name Type Description
category string Attachment category. Determines file-type validation rules and `object_id` requirements.
company_id integernull Target company ID. Required only for partner API keys that manage multiple client companies — pick the company the attachment belongs to. If omitted, defaults to the authenticated company. The attachm
object_id integernull Target object ID. Required for every category except `voicemail`. Resolves to candidate/application/comment/job-note/company per category. The object's company is strictly matched against `company_id`
file object
View JSON Schema on GitHub

JSON Schema

100hires-com-upload-api-attachment-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-upload-api-attachment-request-schema.json",
  "title": "UploadApiAttachmentRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/100hires-com-attachments-api-openapi.yml#/components/schemas/UploadApiAttachmentRequest",
  "type": "object",
  "required": [
    "category",
    "file"
  ],
  "properties": {
    "category": {
      "type": "string",
      "enum": [
        "voicemail",
        "candidate",
        "application",
        "candidate_comment",
        "job_note",
        "company_favicon",
        "company_header",
        "company_link_preview"
      ],
      "description": "Attachment category. Determines file-type validation rules and `object_id` requirements."
    },
    "company_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Target company ID. Required only for partner API keys that manage multiple client companies — pick the company the attachment belongs to. If omitted, defaults to the authenticated company. The attachment is stored under this company, and the referenced `object_id` (when present) MUST belong to this same company — mismatch returns 404."
    },
    "object_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Target object ID. Required for every category except `voicemail`. Resolves to candidate/application/comment/job-note/company per category. The object's company is strictly matched against `company_id` (or authenticated company when `company_id` omitted); no cross-company uploads."
    },
    "file": {
      "$ref": "#/$defs/FileData"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "FileData": {
      "type": "object",
      "required": [
        "data",
        "file_name",
        "mime_type"
      ],
      "properties": {
        "data": {
          "type": "string",
          "description": "Base64 content"
        },
        "file_name": {
          "type": "string",
          "description": "Original file name."
        },
        "mime_type": {
          "type": "string",
          "description": "MIME type (e.g. application/pdf)."
        },
        "size": {
          "type": "integer",
          "description": "Optional for uploads, returned in responses"
        }
      }
    }
  }
}

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/100hires-com-upload-api-attachment-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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