Twingate icon

Twingate

Interact with Twingate GraphQL API

Actions28

Access Request → Get Many

AI-generated

Overview

This node interacts with the Twingate GraphQL API to retrieve multiple access requests. It supports fetching either all access requests or a limited number based on user input. This is useful for scenarios where you need to list or process multiple access requests in bulk, such as auditing access or managing user permissions.

Use Case Examples

  1. Retrieve all access requests to review pending approvals.
  2. Fetch a limited number of recent access requests for reporting purposes.

Properties

Name Meaning
Return All Whether to return all access request results or only up to a given limit
Limit Maximum number of access request results to return when 'Return All' is false, with a minimum value of 1.

Output

JSON

  • id - Unique identifier of the access request
  • reason - Reason provided for the access request
  • requestedAt - Timestamp when the access request was made
  • status - Current status of the access request (e.g., pending, approved, rejected)
  • user
    • id - ID of the user who made the access request
    • email - Email of the user who made the access request
  • resource
    • id - ID of the resource the access request is for
    • name - Name of the resource the access request is for

Dependencies

  • Twingate GraphQL API

Troubleshooting

  • Ensure the API token credential is correctly configured and has the necessary permissions to query access requests.
  • If the node returns an error with GraphQL errors, check the error messages for details such as invalid query parameters or permission issues.
  • When using 'Return All', be aware of potential rate limits or large data volumes that might impact performance.

Links

Discussion