Upload a private file (JPEG, PNG, WebP or PDF, checked by content)

post/api/v1/clients/{id}/uploads

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/clients/{id}/uploads
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

filenamestring
content_type'image/jpeg' | 'image/png' | 'image/webp' | 'application/pdf' required
data_base64string required

At most 160 KiB decoded. Content is checked against the declared type.

notestring

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.