Search code examples
slack-apiscimslack-scim

How to update a User's Current Status using the SCIM API?


I'm attempting to update a User's Current Status field using the SCIM API. I'm aware this field can be updated using the users.profile.set POST API. How can I update the profile block of a user object using the SCIM API? I looked through the user attributes supported by the SCIM API, but I do not see profile block or the nested fields such as status_text, status_emoji, status_expiration in this list.


Solution

  • You cannot set presence using SCIM apis.
    SCIM APIs for Users work only on User Attributes

    User Attributes
    Attributes are the details associated with a user's account. These are the details that someone would typically set in their profile (for example, by clicking the Edit Profile button in the Slack application).

    https://api.slack.com/scim#scim-api-endpoints__users__user-attributes

    To set 'User Presence' you'll need regular slack APIs but that would need the user's token.