Rate this page Β
- ββ
- ββ
- ββ
- ββ
- ββ
Can we improve this page? Send us feedbackRate this page
- ββ
- ββ
- ββ
- ββ
- ββ
This API reference contains an overview of all requests relevant to interacting with Notehub.io. Each section details request parameters, response members, example curl requests, and JSON responses.
New to the Notehub API? Check out Using the Notehub API, our tutorial which walks you through running your first few requests.
All requests to the Notehub API require an authentication token in the form of
an X-SESSION-TOKEN
header. This token can be obtained via a request to the
/auth/login
endpoint using a Notehub username and password in the body of the
request.
This authentication method will be deprecated in favor of an OAuth-based solution in the near future. We will provide updated instructions when the OAuth option is available for public use.
curl -X POST -L 'https://api.notefile.net/auth/login' -d '{"username":"you@youremail.com", "password": "your_password"}'
Accounts using GitHub Authentication
If an account was created by using "Sign in with GitHub", by default there is no password available for API authentication purposes. Therefore, users will need to set a password in the Account settings panel in Notehub.io. This password will only be used when generating an authentication token.
Notehub API calls utilize your account's Consumption Credits (CCs). For more information, please consult our pricing page.
Device API