For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Integration Example (PSA)
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
    • Files & Images Overview
      • POSTGenerates a URL to upload a file to.
      • POSTCreates a file from an upload id.
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Workflows Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceFile Upload

Generates a URL to upload a file to.

POST
https://api.awork.com/api/v1/files/generateuploadurl
POST
/api/v1/files/generateuploadurl
$curl -X POST https://api.awork.com/api/v1/files/generateuploadurl \
> -H "Authorization: Bearer <token>"
200Successful
1{
2 "uploadId": "1a2b3c4d5e6f7g8h9i0j",
3 "uploadURL": "https://blob.awork.com/upload"
4}
Generates a URL that can be used to upload a file. Use the returned upload id to create a file entry. See <see cref="T:Awork.Files.Service.Feature.FileUpload.Endpoints.PostUploadByUploadId" /> for more information. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Was this page helpful?
Previous

Creates a file from an upload id.

Next
Built with

Generates a URL that can be used to upload a file. Use the returned upload id to create a file entry. See for more information.

Required Permissions
Any authenticated user.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OK
uploadIdstring>=1 character
The id of the temporary container that the file will be uploaded to.
uploadURLstring>=1 character
The URL that the client should upload the file to.