companyFiles

Returns the specified company file as PDF.

Changed on

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

get/companies/{companyId}/files/{fileId}/pdf

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/companies/{companyId}/files/{fileId}/pdf
  • Auth: HTTP bearer

Path parameters

companyIdstring uuid required
fileIdstring uuid required

Query parameters

inlineboolean

Response

OK

string binary required

Changes

    • info

      api operation id companyFiles_GetCompanyFileContent removed and replaced with companyFiles_GetFilesPdfByCompanyNameAndCompanyIdAndFileId

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API