Get a workspace membership

Returns the complete workspace record for a single workspace membership.

Path Params
string
required
Query Params
array of strings

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.

opt_fields
boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Responses

Response body
object
object

This object determines if a user is a member of a workspace.

string

Globally unique identifier of the resource, as a string.

string

The base type of this resource.

object

A user object represents an account in Asana that can be given access to various workspaces, projects, and tasks.

object

A workspace is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace.

object

The user's "My Tasks" in the workspace.

boolean

Reflects if this user still a member of the workspace.

boolean

Reflects if this user is an admin of the workspace.

boolean

Reflects if this user is a guest of the workspace.

boolean

Reflects if this user has view only license in the workspace.

object | null

Contains keys start_on and end_on for the vacation dates for the user in this workspace. If start_on is null, the entire vacation_dates object will be null. If end_on is before today, the entire vacation_dates object will be null.

date-time

The time at which this resource was created.

Language
Credentials
Request
Asana Home
Asana helps you manage projects, focus on what's important, and organize work in one place for seamless collaboration.
© 2023 Asana, Inc.