Skip to main content

Creating an App

In this section, we will show you how to create a Busy Hour App.

Prerequisites

  1. Busy Hour Account (Sign Up if you don't have one yet)
  2. Generate a Master/Project API Key from Dashboard/Settings or from Dashboard/Projects

Creating an App

warning

You can create a Busy Hour App with any Master API Key or a Project API Key that only specificly for the project app you want to create.

To create a Busy Hour App, you will need to use the POST method pointing to /v1/apps. The request itself accepts the following properties:

PropertyTypeDescription
projectIdstringThe ID of the project that the app will belong to
displayNamestringThe name of the app
platformweb | android | iosThe platform of the app will be deployed to
bundleIdstring (optional)The bundleId of the app will be deployed to, set to null if the platform is web

Quick Example

curl -H "x-busy-key: Bearer {API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"projectId": "your-project-id",
"displayName": "My App",
"platform": "web",
"bundleId": null
}' \
-X POST https://api.busyhour.id/v1/apps