Retrieves features available to the user based on their subscription plan.
curl or a similar tool with a valid, current user JWT obtained from your browser’s session after logging in.curl, you need the JWT access token stored by Supabase Auth in your browser.
http://localhost:3000 or https://onlyautomator.com).sb-access-token (the exact name might vary slightly based on Supabase configuration).Authorization: Bearer <your_copied_token> header for your curl or other API tool requests.Bearer YOUR_JWT_TOKEN| Status Code | Description | Example Message |
|---|---|---|
| 401 | Invalid or missing authentication token. | ”Not authorized” |
| 404 | User subscription info not found. | ”Subscription details not found” |
| 500 | Internal server error during processing. | ”Failed to retrieve features” |
Standard user JWT token for authentication.
Bearer token for authentication (JWT)