Get user
Read a person's name, email and workspaces; use me to check which account the token belongs to.
Command in the Asana toolkit · id ooa.asana/get_user · 3 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://app.asana.com/api/1.0 | API address. Keep the default unless your company routes Asana through a proxy. |
| Token | Credential | Yes | Personal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| User | String | No | me | User id, an email address, or me for the token's own user. |
Outputs
| Output | Type | What it is |
|---|---|---|
| user | Dictionary | gid, name, email, workspaces (names). |
| user_id | String | Numeric user id. |