applications

Switch Bound Document

Swap the bound resume / cover letter on an application result to base, an existing tailored doc, or any user-owned document by id. No AI tokens are consumed.

post/applications/{resultId}/switch-document

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/applications/{resultId}/switch-document
  • Auth: HTTP bearer

Path parameters

resultIdstring required

Application result identifier

Example:1

Request body

kind'resume' | 'cover_letter' required

Which bound document to swap on the application result.

target'base' | 'tailored' | 'document_id' required

Where to point the bound document. "base" picks the user's base resume/cover-letter; "tailored" keeps the existing tailored doc; "document_id" requires documentId and binds to a user-owned document by id.

documentIdinteger

Required when target is "document_id" - must reference a user-owned document of the matching type.

Example request

{
  "kind": "resume",
  "target": "base",
  "documentId": 42
}

Response

Bound document switched

successtrue required

Example response

{
  "data": {
    "kind": "resume",
    "target": "base"
  },
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

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