To retrieve specific data, arguments can be passed to fields. These behave like function parameters and are often used for IDs, filters, or search queries.
{
user(id: "1") {
name
email
}
}This allows precise targeting of objects and is a common entry point for testing access control issues or IDOR-style vulnerabilities.
Source: GraphQL Injection/README.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.