Retrieve account
Who is asking and every workspace they can open. For a person it also joins any workspace they were invited to.
opensend account getThis method takes no input.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"account"Always
account.kindstringHow the request was signed:
sessionfor a signed-in person,keyfor an API key.One of
sessionkeydemouserobject | nullThe signed-in person, or
nullwhen an API key is asking.user.idstringThe id of the person.
user.namestringThe name of the person.
user.emailstringThe address of the person.
user.imagestring | nullThe address of their picture, or
null.workspacesobject[]The workspaces this credential can act in.
workspaces[].idstringThe id of the workspace.
workspaces[].namestringThe name of the workspace.
workspaces[].rolestring | nullThe role of the person there, or
nullfor an API key.One of
owneradminmemberviewerworkspaces[].currentbooleanWhether this is the workspace the request acts in.