Docs : API : List Apps
The List Apps API lets you retrieve all of your apps. This endpoint is paginated.
curl 'https://v1.userbase.com/v1/admin/apps?nextPageToken=$NEXT_PAGE_TOKEN' \
-XGET \
-H 'Authorization: Bearer $ACCESS_TOKEN'
Parameters
-
NEXT_PAGE_TOKEN - The next page of apps to retrieve.
-
ACCESS_TOKEN - Your access token.
Result
- nextPageToken [string] - Each response has a max limit of around 1mb of apps. If this limit is reached, this token is provided in the response, and must be provided in the next request to get the next page of apps.
- apps [array]
- appName [string] - The app's name.
- appId [string] - The app's unique identifier.
- encryptionMode [string] - The app's encryption mode. Can either be 'end-to-end' or 'server-side'. See the FAQ for more on the encryption modes.
- creationDate [string] - The timestamp when the app was created.
- deleted [string] - The timestamp when the app was deleted, if the app has been deleted.
- paymentsMode [string] - The app's payments mode set in your Admin panel. Can be 'disabled', 'test', or 'prod'.
- testSubscriptionPlanId [string] - The app's test subscription plan set in your Admin panel.
- testTrialPeriodDays [number] - The number of trial days set on the app's test subscription plan in your Stripe Dashboard.
- prodSubscriptionPlanId [string] - The app's prod subscription plan set in your Admin panel.
- prodTrialPeriodDays [number] - The number of trial days set on the app's prod subscription plan in your Stripe Dashboard.