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
  • Document library
    • Fetch node
      GET
  • Notifications
    • Create notification
      POST
  1. Users

Check if user exists

HEAD
/agent/integration/api/v1/users/users/{{user_id}}
Check if a user already exists in the Spencer application. Will return 200 when a user is found, 404 if user could not found.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request Code Samples

Shell
HTTP
Request Request Example
Shell
HTTP
curl --location --globoff --head '/agent/integration/api/v1/users/users/{{user_id}}' \
--header 'Authorization: Bearer <token>'

Responses

🟢200
Headers

This response does not have a body.
🟠404
🟠401401.unauthorized
🟠403403.forbidden
🔴500500.internalServerError
Previous
Delete user
Next
Add user profile picture
Built with