Workspaces
Get a workspace
<b>Required scope: </b><code>workspaces:read</code>
Returns the full workspace record for a single workspace.
get/workspaces/{workspace_gid}
Request
- Base URL: https://app.asana.com/api/1.0
- URL: https://app.asana.com/api/1.0/workspaces/{workspace_gid}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token, scopes: workspaces:read)
Query parameters
opt_fieldsstring[]
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. Properties can include nested fields. To learn more, see the input/output options guide.
Response
Return the full workspace record.
Example response
{
"data": {
"gid": "12345",
"resource_type": "workspace",
"name": "My Company Workspace",
"email_domains": [
"asana.com"
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.