The dashboard API can be accessed by anyone. Its source code can be found here. Keep in mind that all requests need to have the
Authorizationheader set to the Firebase authentication token of the user (no preceding
Bearer). All requests should use JSON encoding. The base URL for this API is
The following endpoints are exposed:
GET /stripe-dashboard-url- Get the stripe dashboard URL for the logged in user.
GET /subscribe-url- Get an URL that will allow the user to subscribe to a plan (given by the
POST /user-plan- Updates the user plan - upgrade or just switch auto-purchase of credit packages.
GET /dashboard-data- Returns information about the user, their plan & API keys.
POST /api-key- Creates an API key. Arguments:
PUT /api-key- Certainly a very good use for the
PUTHTTP verb. Updates an existing API key. Takes the following arguments:
POST /gift-code- Redeems a gift code. Takes 2 arguments:
POST /ticket- Creates a new ticket - intended for the 'Feedback and Ideas Form.' The endpoints expects 4 arguments:
GET /updates- Returns unread updates for the logged in user.
POST /updates- Marks all updates as read.
GET /plans- Returns a user's available plans, including custom ones.