You can get global Global node IDs of help you query about specific Scope objects (users, groups, scenarios, etc.) via the Scope GraphQL API.
You can get global node IDs from the REST API and/or webhooks, and then use them in GraphQL operations.Note: In
In REST, the global node ID field is named node_id
, and in webhooks, the global node ID field is named resource_id
. In GraphQL, it's an id
field on the node
interface. For a refresher on what "node" means in GraphQL, see "Introduction to GraphQL."
In this article
Table of Contents |
---|
...
Call a REST endpoint that returns an object's
node_id
, receive a webhook that supplies an aresource_id
for an object, or execute a GraphQL query that returns the anid
for an object.Find the object's type in the GraphQL reference docs.
Use the ID and type to do a direct node lookup in GraphQL.
...