Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the org-public-id needed for Get/List Member? #130

Open
ben-simmons-dt opened this issue Oct 20, 2021 · 1 comment
Open

How to get the org-public-id needed for Get/List Member? #130

ben-simmons-dt opened this issue Oct 20, 2021 · 1 comment

Comments

@ben-simmons-dt
Copy link

To get a Member, the API requires an org-public-id parameter: (https://shortcut.com/api/rest/v3#Get-Member).

However, I don't see anywhere in the API where an org ID is returned, and I'm not seeing where to get that ID from within the shortcut webapp (app.shortcut.com).

Any help would be appreciated!

@StephenMP
Copy link

@ben-simmons-dt

I know this is really old, but if anyone else stumbles upon this, you don't have to provide the org-public-id. You can just provide {}.

const member = await client.getMember(memberId, {})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants