KBAISE/ for lovable
Library
Docs

Get workspace member

about 10 minBuildingchecked 8d agoOfficial page
The short version

Look up an active workspace member's profile, display name, and join dates using their user ID. This endpoint requires a Business plan or higher.

Workspace admins and developers who need to inspect individual team member profiles programmatically.

Do this, in order

  1. 1

    Generate an API key with the workspaces:read or workspaces:write scope in your workspace settings.

    The member lookup endpoint checks your key's permissions and rejects requests lacking workspace read access.

  2. 2

    Retrieve the user UUID and workspace ID.

    This endpoint requires the specific public user UUID returned by the workspace member list endpoint in the URL path.

  3. 3

    Make a GET request to /v1/workspaces/{workspace_id}/members/{user_id} with your API key in the header.

    This pulls the active member profile details, join date, and invitation date.

  4. 4

    Retry with a backoff delay if a recently added member returns a 404 error.

    Data updates take a moment to synchronize, so very recent membership changes may not be readable instantly.

Paste this into your project

Create a function to fetch a specific workspace member's profile using the Lovable API endpoint GET /v1/workspaces/{workspaceId}/members/{userId}. Include headers for Authorization with 'Bearer ' plus my API key, and set Lovable-Version to '2026-09-11'. Handle 404 errors when a member is not found, and display the member's display name, join date, and invitation date on the screen.

Words decoded

UUID
A unique string of letters and numbers used to identify a specific record, like a user profile.
Scope
A permission setting attached to an API key that restricts what data it can view or edit.
Eventually consistent
A data state where recent changes or additions may take a few seconds before appearing in API responses.

Where people get stuck

  • Calling this endpoint without a Business plan or higher returns a 402 error.
  • Using an API key from one workspace to access a member in a different workspace returns a 404 error.
  • Non-active or pending members will return a 404 error instead of their member profile.
  • Passing an invalid or non-UUID user ID format triggers a 400 bad request error.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.