Skip to main content
The Nadles User Portal includes a built-in API that allows you to programmatically access user portal data directly from within the user portal. This API is ideal for customizing user experiences, building custom dashboards, or integrating client-side tools that require user-specific information. You can use this API directly in JavaScript injected into user portal pages. All requests are scoped to the currently logged-in user, and no additional authentication is required when used within the portal environment.

Base URL

GET /customer

Returns the current user’s account data. Example Request
Example Response

GET /subscriptions/

Returns a paginated list of the current user’s subscriptions. Query Parameters Example Request
Example Response

GET /subscriptions/{subscriptionId}/access-tokens/

Returns a list of access tokens for a given subscription. Path Parameters Example Request
Example Response

Using the API

You can call this API from JavaScript injected into user portal pages.

Example: Fetch current customer data

Notes

  • All endpoints are automatically authenticated in the user portal.
  • CORS is fully supported for use in client-side JavaScript within the portal.
  • Responses are JSON-formatted.