Organization Users
Resource sharing across the Platform API (adapters, connectors, workflows, pipelines, and Prompt Studio projects) is driven by the shared_users field, which takes a list of numeric user IDs. This endpoint lists the members of an organization so you can resolve a user's email to the ID required by those sharing requests.
Available to any member of the organization. With a platform API key, the read permission level is sufficient.
List Members
Retrieve all active members of the organization.
/api/v1/unstract/{org_id}/users/The id is returned as a string, but the shared_users field on sharing requests expects an array of integers. Cast the value before using it — for example, members with id "2" and "5" are shared via "shared_users": [2, 5].
Sharing requests replace the existing shared_users list rather than appending to it. To add a user without removing current ones, read the resource's current shared users first, then send the combined list.