'API to get guests expiration date in Slack

Slack displays the expiration date for guests in the profile view (if set). But which API is used for that?

I only found an API to change the value https://api.slack.com/methods/admin.users.setExpiration



Solution 1:[1]


Can you try using SCIM APIs to fetch the required result.

You'll fin dthe documentation here: https://api.slack.com/scim#scim-api-endpoints__schemas

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Suyash Gaur