Custom Objects
Upload/Update File
Upload/update the content of file fields.
POST
Recipes
Upload/update file with API key
Upload/update file with API key
1
1. Use 'Authorization' header to pass API key
2
2. As a result, the file is uploaded and the API returns its metadata.
Path Parameters
string
required
Custom object class name.
string
required
ID of the custom object record. Generated automatically by the server after record creation.
Body Parameters
string
required
Custom object record field which contains a file.
file
required
File for uploading. The max file size is 32 MB.
Headers
string
required
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
string
default:"ApiKey {your_api_key}"
API key from Dashboard. Expected format:
ApiKey {your_api_key}. Must be used
either QB-Token or Authorization.string
User ID. The user ID of the user on whose behalf the request is being made.
Responses
403
403
An error response
array of strings
404
404
An error response
array of strings