POST /users.setPhoto
Set the user profile photo
Servers
- https://slack.com/api
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: |
image |
String | No |
File contents via |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.