Companies
Upload an image to a company
POST
Uploads an image to a company using multipart/form-data. Include file as binary data and optional profile_picture ("true" or "false") to set image_id.
Body
multipart/form-data
filestring<binary>requiredImage binary data
profile_ picturestringSet to "true" to update profile picture
Parameters
idstringrequiredpathCompany ID
Response
Image uploaded
400Bad RequestErrorResponse
Invalid id or no file provided
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Record not found
422Unprocessable EntityErrorResponse
Validation error
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: companies:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: companies:write
apikey_ authapiKey in queryAPI key in query string
Scopes: companies:write
