Skip to main content
POST
Upload your profile photo

Authorizations

X-Auth-Token
string
header
required

FlowPayroll JWT (raw token, no Bearer prefix)

Body

application/json

Asks for somewhere to upload a new profile photo for the signed-in person.

contentType
string | null

image/png, image/jpeg, image/gif, image/webp or image/svg+xml. Only an early check: the stored type is decided from the file's bytes.

sizeBytes
integer<int64> | null

The file's size, so an oversized file is refused before it is sent.

Response

Created

message
object
content
object
validationIssues
object[] | null