PNTA icon

PNTA

Send push notifications and manage devices using PNTA.io

Actions4

Overview

This node integrates with the PNTA.io service to manage devices and send push notifications. Specifically, the "List Devices" operation under the "Device" resource retrieves a paginated list of registered devices from the PNTA.io platform. This is useful for scenarios where you want to monitor or manage your user devices, such as displaying all devices subscribed to your notifications or performing bulk operations on device data.

Practical examples include:

  • Fetching all devices to analyze active users.
  • Paginating through devices to update or remove inactive ones.
  • Integrating device lists into dashboards or reports.

Properties

Name Meaning
Additional Fields Optional parameters to customize the device listing:
- Limit Maximum number of devices to return in one request (minimum 1, default 50).
- Page Page number for pagination, starting from 1 (default 1).

Output

The output contains a JSON array of device objects retrieved from PNTA.io. Each object represents a device with its associated properties as defined by the PNTA.io API. The exact structure depends on the API response but typically includes device identifiers, status, and metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the PNTA.io service.
  • The node makes HTTP requests to https://app.pnta.io with JSON content type headers.
  • Ensure the API key has permissions to read device information.

Troubleshooting

  • Common issues:

    • Invalid or missing API key: The node will fail to authenticate; verify that the API key credential is correctly configured.
    • Pagination errors: Requesting a page number beyond available pages may return empty results.
    • Rate limiting: Excessive requests might be throttled by PNTA.io; implement appropriate delays or limits.
  • Error messages:

    • Authentication errors usually indicate invalid credentials; recheck API key setup.
    • Network errors suggest connectivity issues; verify internet access and endpoint availability.
    • Validation errors on input fields (e.g., limit less than 1) should be corrected according to property constraints.

Links and References

Discussion