Functions

get-self

fn (): Map
fn (opts: Map): Map

GET /self - The token's own metadata (active, scope, workspace id/name/slug). The cheapest way to smoke-test a key.

Example

me ::attio::workspace/get-self()
me.active

list-members

fn (): Map
fn (opts: Map): Map

GET /workspace_members - The workspace's members ({data: [{id: {workspace_member_id}, first_name, email_address, access_level}]}). Member ids are what comment authorship and task assignment need. Requires the User Management scope.

Example

members ::attio::workspace/list-members()
map(members.data, %.email_address)