1. DirectoryManagement
Calven
  • Overview
  • Key Access Levels
  • Basic Authentication Overview
  • HMAC Authentication Overview
  • SDKs
  • Calven Data Models
  • Changelog
  • HMAC Authentication
    • Generate a token with an API key and HMAC
      POST
    • Generate a token with an API key and client secret
      POST
  • Presence
    • Presence Overview
    • Submit presence events with BASIC auth
      POST
    • Submit presence events
      POST
  • Occupancy
    • Occupancy Overview
    • Submit occupancy events
      POST
  • Time off
    • Submit time off updates
      POST
  • Access Credentials
    • Submit access credentials
      POST
  • Warehouse - Basic Auth
    • Warehouse Overview
    • Users
      GET
    • Groups
      GET
    • Locations
      GET
    • Desks
      GET
    • Bookings & Attendance
      GET
    • Presence Details
      GET
    • User Actions Log
      GET
  • Warehouse - HMAC Auth
    • Warehouse Overview
    • Users
    • Groups
    • Locations
    • Desks
    • Bookings & Attendance
    • Presence
    • User Actions Log
  • Hierarchy Information
    • Org Hierarchy Information Overview
    • Submit group hierarchy relationships
    • Submit group hierarchy relationships with Basic Auth
  • DirectoryManagement
    • User Attributes Overview
    • Write directory user attributes
      POST
    • Write directory user attributes with Basic Auth
      POST
  • Schemas
    • Schemas
      • DWDesksResponseDto
      • DMGroupRelationshipDto
      • PresenceEventDto
      • DWGroupsResponseDto
      • LeaveRequestBody
      • CreatePresenceEventDto
      • TimeoffRequestBody
      • TimeOffEvent
      • EventResultDto
      • TimeoffResponse
      • ResultCodes
      • TimeoffEventResponse
      • CreatePresenceEventResponseDto
      • OccupancyEventDto
      • CreateOccupancyEventDto
      • CreateOccupancyEventResponseDto
      • AuthRequestDto
      • AuthResponseDto
      • OAuthRequestDto
      • OAuthResponseDto
      • AccessCredentialUpdateResultCodes
      • AccessCredentialUpdateResult
      • AccessCredentialUpdateResponse
      • AccessCredential
      • AccessCredentialUpdate
      • AccessCredentialUpdateRequest
      • DWChangeLogUserResponseDto
      • DWUserBookingAttendanceResponseDto
      • DWPresenceResponseDto
      • DWUsersResponseDto
      • DWLocationsResponseDto
    • DMPostUserAttributesRecordDto
    • DMPostUserAttributesBodyDto
    • DMPostUserAttributesRecordResponseDto
    • DMPostUserAttributesResponseDto
  1. DirectoryManagement

User Attributes Overview

Background#

User attributes can be provisioned to users from your directory via the SCIM connection. However if you have user attributes you want to provision to users that are not available in your directory, you can use this API to provision them directly from your HRIS.
This API will put the attributes into a holding location they are not immediately applied to users. When the directory management report is run the values will be applied.

Authentication#

This API supports both Basic Auth and HMAC authentication. You must use the method that corresponds to how your API key is configured.
Ensure your endpoint path matches your auth type (e.g., /basic for Basic Auth).

Request Body Schema#

The request payload must be sent as application/json and contain a single userAttributes array.
FieldTypeRequiredDescription
userAttributesarrayYesAn array of objects defining the users and attributes.
userNamestringYesThe UPN for the user.
attributesobjectYesThe map of attributes and values to be written.

Example attribute information:#

"userAttributes": [
        {
            "attributes": {
                "department": "engineering",
                "costCenter": "cc-1234"
            },
            "userName": "jane.doe@example.com"
        }
    ]

Validation Rules#

To ensure successful processing, your payload must adhere to the following rules:
Users must be provisioned before their attributes can be sent Usernames that cannot be found are skipped and reported back in the response body.
No duplicate emails the response will have an explicit result for each userAttributes entry, duplicate email entries in the request body is rejected with 400.

Process#

Because this API applies attributes to existing users, the following process should be followed:
1.
Provision users to Calven via SCIM
2.
Configure attribute settings for your users
3.
Apply extra attributes to users via this API
4.
Run the directory management report to apply attributes to users
Modified at 2026-05-07 17:02:10
Previous
Submit group hierarchy relationships with Basic Auth
Next
Write directory user attributes
Built with