Upload photo

POST {{baseUrl}}/api/user/photo

Upload a photo for the current user. This function is only available through a JWT token. Don't trust the code generated by the widget, there are examples of using this API in Python, cURL and Node.js under the parameters.

Request Body

[{"name"=>"photo", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}