Upload a file to an application
POST/v1/applications/:id/files
Uploads a file to an application.
Request
Responses
- 201
- 401
- 403
- 404
- 422
File uploaded
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to manage this application, or the API key lacks the applications:write.files scope (err_insufficient_scope).
Application not found (err_application_not_found).
Validation failed. Error codes:
err_file_type_invalid- the file type is not supportederr_file_size_limit_exceeded- the file is over 20 MBerr_file_must_be_a_valid_file_upload-fileis not a file uploaderr_application_linked_to_user- you are the candidate on this application