If a workspace is shared, which attribute in the Rest API response will show this information? Need the shared information for the project as well.

Created 1 workspace and shared with 1 user. In the response body I can see the user id and name but did not get info related to the shared status. Same behavior in project as well

Can you post the endpoint you’re referring to that you used?

Again can you post the endpoint you used? Thanks!

Hi @Phil_Seeman,

For workspace member details we refer this endpoint -

https://app.asana.com/api/1.0/workspaces/{workspaceId}/workspace_memberships

For project member details we refer this endpoint -
https://app.asana.com/api/1.0/projects/{projectId}

Gotcha.

When you say you’re looking for “the shared status”, can you say more specifically what you’re looking for? “Shared status” doesn’t map to any specific Asana construct so I’m not sure what you’re wanting to see specifically. Thanks!

Hi @Phil_Seeman ,

If I share project with user1, then in which API response will show this information that the user is shared (shared user) or by whom and to whom the project is shared with.

@somatest744,

Use this Memberships endpoint to get the details of who are members of the project.

To get all of the memberships for a particular project, pass the project’s gid in the parent property and don’t pass the member property. If you want to just get the membership details for one user in that project, pass the project’s gid in the parent property and pass that user’s User gid in the member property.