Skip to content

How do I find my collective's Public ID #6756

Answered by znarf
ZoeLocke asked this question in Q&A
Discussion options

You must be logged in to vote

Your answer is right, in most cases (all), you don't need to know the id and can just query with the slug. This is the way to go.

If you need to know the id from a slug, you first query the account (with the slug) and ask for the id.

query {
  account(slug: "backyourstack") {
    id
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZoeLocke
Comment options

Answer selected by ZoeLocke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants