POST /users.setPhoto

Set the user profile photo

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
crop_x String No

X coordinate of top-left corner of crop box

crop_y String No

Y coordinate of top-left corner of crop box

crop_w String No

Width/height of crop box (always square)

token String Yes

Authentication token. Requires scope: users.profile:write

image String No

File contents via multipart/form-data.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.