Skip to content

Authentication

MuseNotes uses API Keys to authenticate requests. This ensures that only authorized applications can access your private notes.

Obtaining an API Key

  1. Log in to your MuseNotes account.
  2. Go to Settings -> Developer Settings.
  3. Click "Generate New API Key".
  4. Copy the key immediately. You will not be able to see it again.

Keep it Secret

Your API Key gives full access to your account. Never share it or commit it to public repositories.

Using your API Key

Include the API Key in the Authorization header of every HTTP request. Use the Bearer scheme.

http
Authorization: Bearer sk_live_your_api_key_here

Example (cURL)

bash
curl -X GET https://notes.nian.me/api/v1/me \
  -H "Authorization: Bearer sk_live_..."