Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Workspace → Get Many

AI-generated

Overview

This node operation retrieves multiple workspace records from the Magnet Customer API. It supports pagination, filtering, and sorting options to customize the data retrieval. This is useful for scenarios where you need to list or analyze multiple workspaces, such as in reporting, data synchronization, or bulk processing tasks.

Use Case Examples

  1. Retrieve the first 15 workspaces sorted by creation date in descending order.
  2. Fetch workspaces that have empty email fields to identify incomplete records.
  3. Get a specific page of workspace results to paginate through large datasets.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request (API Token or OAuth2).
Page The page number of results to retrieve, used for pagination.
Limit The maximum number of workspace records to return in one request.
Filters Filters to apply to the workspace list, such as filtering workspaces with empty emails, phones, or interactions.
Sort Sorting options for the workspace list, including the field to sort by and the sort direction.

Output

JSON

  • _id - Unique identifier of the workspace.
  • name - Name of the workspace.
  • email - Email associated with the workspace.
  • phone - Phone number associated with the workspace.
  • createdAt - Timestamp when the workspace was created.
  • updatedAt - Timestamp when the workspace was last updated.
  • interactions - Interaction records related to the workspace.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Ensure the API credentials (API Token or OAuth2) are correctly configured and have the necessary permissions to access workspace data.
  • If no results are returned, verify that the filter criteria are correct and that the requested page and limit parameters are within valid ranges.
  • Network or API errors may occur; check connectivity and API status if requests fail.

Links

Discussion