Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://app.asana.com/api/1.0API address. Keep the default unless your company routes Asana through a proxy.
TokenCredentialYesPersonal 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.
UserStringNomeUser id, an email address, or me for the token's own user.

Outputs​

OutputTypeWhat it is
userDictionarygid, name, email, workspaces (names).
user_idStringNumeric user id.