These docs are for v1.0. Click to read the latest docs for v2.0.

Generate API key

In order to create an API Key, you must first sign up for the Asleep Dashboard.

📘

Dashboard URL

https://dashboard.asleep.ai/

🚧

API Key Exposure Notice

API Key is the license key required to use the Asleep Service.Please note that the API key used in the development does not leak outside.

1. Generate API Key

  1. Sign in with your account after you complete your sign up.
로그인 화면

Log in Page

  1. Click the Profile icon in the upper right corner of the dashboard, and then click Settings.
프로필 아이콘 - Settings

Profile Icon - Settings

  1. In API Key Tab, Click Generate API Key button.
API Key 생성 전

Before Generate API Key Step

  1. API Key is Generated.
Test API Key, Live API Key 각각 하나씩 생성됨

Test API Key, Live API Key is generated each

2. Test API Key & Live API Key Difference

2.1 Difference

  • Test API Key: The API Key used by the development environment.
  • Live API Key: The API Key used by the commercialized product environment.

2.2 Characteristics

  • If you want to check only the actual user data separately, we recommend using Test API Key and Live API Key separately for your purpose.
  • All data is divided and managed by each setting.
  • You can create up to 3 API keys for each setting, a total of 6 API keys.
  • You can check API usage, DAU, etc.by API Key.
  • If you need to introduce Asleep to a number of services and check each data separately, you can use the API Key separately for each service.
  • By introducing Asleep to multiple services and using one API Key for all services, you can integrate and check the data of all services.