1. Users
Spencer Integration API
  • Spencer Integration API
  • Identity
    • Request access token
      POST
  • News
    • Fetch news publications
      GET
    • Fetch news publications for userlist
      GET
    • Create news draft
      POST
  • Users
    • Create user
      POST
    • Fetch user
      GET
    • Update user
      PUT
    • Delete user
      DELETE
    • Check if user exists
      HEAD
    • Add user profile picture
      POST
    • Create user tag
      POST
    • Update user tag
      PUT
    • Check if user tag exists
      HEAD
  1. Users

Add user profile picture

POST
/users/{userId}/profile-picture
Add a profile picture to the user.
Spencer will resize and crop the uploaded images to the proper formats for the Spencer application
Profile pictures are square in aspect ratio, uploading near square ratio will yield best results
Executing POST when the user already has an profile picture will replace the profile picture

Request

Path Params

Header Params

Body Params application/json

Example
{
    "media": "string"
}

Responses

🟢201
application/json
Bodyapplication/json

Example
"string"
🟠400400.badRequest
🟠401401.unauthorized
🟠404404.notFound
🔴500500.internalServerError
Previous
Check if user exists
Next
Create user tag
Built with