Command Palette

Search for a command to run...

Log In

Upload a Document to a Plan Manager

post/public/v1/plan-managers/{planManager}/documents

Attach a previously uploaded file to a Plan Manager by passing the id returned from the temporary upload endpoint as the file reference.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • planManagerstringrequired

    The plan manager UUID

Body

application/json
  • filestringrequired
  • namestring | nullmax length 255
  • categoriesobject[] | nullmax items 100
    ▶Show 1 child attributes
    • idstringrequired

Response

200application/json

DocumentResource

  • dataobjectrequired
    ▶Show 5 child attributes
    • idstringrequired
      Example:d1c2e3f4-a5b6-47c8-9d0e-1f2a3b4c5d6e
    • namestringrequired
      Example:Service Agreement
    • file_extensionstringrequired
      Example:pdf
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
    • categoriesobject[]required
      ▶Show 2 child attributes
      • idstringrequired
        Example:c4a5b6c7-d8e9-40f1-a2b3-c4d5e6f7a8b9
      • namestringrequired
        Example:Assessments
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error