HiveHive Network
Feature requests › Everything else › API - Add endpoint to get all external users for a Workspace

API - Add endpoint to get all external users for a Workspace

Shipped10 votesAsked by Gina Lockwood

/api/v1/workspaces/XYZ/users returns all full member users, so we would just need to create a new endpoint for:

/api/v1/workpaces/XYZ/external-users

Which returns a list of all external users in the workspace.

4 comments

  1. Noel Howell

    Woohoo!

  2. Noel Howell

    Hi! The full need here is for 'Get User' api action to include returning external users.

    This API call to lookup a user by ID is a critical step to looking up the assigned user's Full Name and/or email address which is necessary for notifications, emails and other steps used by Hive Automate and other integration to be able to match a user in other systems.

    Since external users are not identified in the action payload when they are assigned, nor is full name or email of assignees returned, there is no way to prevent this action from erroring upon lookup.

    https://developers.hive.com/v1.0/reference/get-user

    https://app.hive.com/api/v1/users/{userId}

  3. Noel Howell

    Side request... I would also like to be able to lookup a user by email and not just Hive ID. Right now I have to maintain a separate DB table of users and Hive IDs to be able to lookup them up.

  4. Eric Typaldos

    Noel Howell hello! I've moved one subset of your request to this new feature request: https://hiveteams.canny.io/feature-requests/p/allow-get-user-apiv1usersuserid-endpoint-to-work-for-external-users-as-well-as-n

    Please ask people to vote there and we'll be reviewing this shortly!

    Thanks

Read the full discussion in Hive Network

Start a free trial and use Hive with your team.

Start free trial Already use Hive? Sign in

More everything else requests