How to generate OPAQUE token

hi i am trying to download data using GraphQL
{“query”:“{ boards {id name owners { id name email}workspace { id name } }}”}

it has some pagination and in that pagination it is asking OPAQUE token

i need some help to generate this token

query {
next_items_page (limit: 5, cursor: " ") {
cursor
items {
id
name
}
}
}

Hello there @Channa,

The cursor can be obtained as explained here with a query like this one:

query {
boards (ids:1234567890) {
items_page (limit: 50) {
cursor
items {
id
name
}
}
}
}

As you can see, the cursor is mentioned in the fields to be retrieved.

Then once you have that, you can use the cursor in your next query:

query {
next_items_page (limit: 50, cursor: "MSw5NzI4MDA5MDAsaV9YcmxJb0p1VEdYc1VWeGlxeF9kLDg4MiwzNXw0MTQ1NzU1MTE5") {
cursor
items {
id
name
}
}
}

The article in the link explains how this works.

Let me know if you have any other questions!

Cheers,
Matias