Files
POST /attachments
Upload a file and attach it to an entity in a single atomic operation. Send as multipart/form-data with file, entityType, and entityId fields. Maximum file size: 20 MB.
Request
- Base URLhttps://api.fergus.com
- Auth
- OAuth 2Authorization codehttps://auth.fergus.com/oauth2/authorizeToken URLhttps://auth.fergus.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Default Response
Changes
No recorded changes to this operation across all 18 revisions of this API.