Skip to main content

Retrieving Apps

In this section, we will show you how to get a list or one of 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

Retrieving Multiple Apps

warning

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

To retrieve a list of Busy Hour App, you will need to use the GET method pointing to /v1/apps. The request itself accepts a query string with the following properties:

PropertyTypeDescription
projectIdstring (optional)The ID of the project that the app belong to
appNamestring (optional)The name of the app
limitnumber (optional)Total number of apps to retrieve, (default: 10)
pagenumber (optional)The page number of apps to retrieve, (default: 1)

Quick Example

curl -H "x-busy-key: Bearer {API_KEY}" \
https://api.busyhour.id/v1/apps?projectId={PROJECT_ID}&limit={LIMIT}&page={PAGE}

Retrieving an App

warning

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

To retrieve a Busy Hour App, you will need to use the GET method pointing to /v1/apps/{projectAppId} with the projectAppId is the ID of the user you want to retrieve.

Quick Example

curl -H "x-busy-key: Bearer {API_KEY}" \
https://api.busyhour.id/v1/apps/{projectAppId}