user-documents

Share/Unshare User Document

Toggle public sharing for a user document. Generates a share token on first enable.

post/user-documents/{id}/share

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/user-documents/{id}/share
  • Auth: HTTP bearer

Path parameters

idstring required

User document identifier

Example:1

Request body

isPublicboolean required

Whether the resource should be publicly accessible

Example request

{
  "isPublic": true
}

Response

Share state updated

successtrue required

Example response

{
  "data": {
    "isPublic": true,
    "shareToken": "a1b2c3d4e5f6...",
    "shareUrl": "https://aiapplyd.com/document/a1b2c3..."
  },
  "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.