Upload File

POST https://[subdomain].speakap.com/files/

Authorization

Permissions:

Request

URI:/files/
Method:POST
Accept:application/vnd.speakap.api-v1.8.2+json+hal
Content-Type:multipart/form-data
X-File-Name:Filename of the uploaded file
Cookie:OAuth 2.0 access_token
Authentication:OAuth 2.0

Request body

Name Description
file Binary file data
type Optional file type for special cases like avatar upload
folder Optional EID of the folder to put the file in. Requires special permission (see `Required Application Permissions`_)

Response

201
New file created: returns a Feedback object
400
Invalid data: returns an Error object
403
Unauthorized: returns an Error object
404
Unknown network: returns an Error object