Repository navigation
Home
⚠️ API v1 is deprecated and will be shut down on 30 June 2027. This wiki documents API v1. New integrations use API v2 and the Nolio MCP: API v2 reference. To move an existing integration, see the migration guide.
Nolio API was created to allow authenticated external third parties access or push data in Nolio. To use the API you will need the application credentials available on Nolio API Portal (requests can be made at www.nolio.io/api).
All requests to the API require a valid OAuth token, which identifies the application and the user account that the application is accessing data on behalf of.
A valid access token is requires for every API request. Requests must be made over an HTTPS connection and include an Authorization header of type Bearer with your access token value.
A valid access token is requires for every API request. Requests must be made over an HTTPS connection and include an Authorization header of type Bearer with your access token value.
POST /api/upload/file/ HTTP/1.1
Host: www.nolio.io
Content-Type: application/json
Authorization: Bearer xBBBBvkia...
Accept: application/json
Note the space between Bearer and the token.
API requests are made using JSON data passing a Content-Type of application/json and Accept header of application/json. By default all API requests will return JSON data.
Each developer account comes with two applications:
- a Personal app — for integrations bound to your own account or a small set of users (capped at 5 synchronized users),
- a Multi-user app — for distributing your integration to other users (uncapped).
When access to Nolio API is granted, you can directly call our live API with either app. Ask for more informations by contacting us
Nolio API usage is limited to avoid too many calls on our servers.
There is an hour limit and a daily limit.
- 1000 requests per hour
- 10000 requests per day
-
1000 requests per hour + 50 * <number_of_users_synced_with_your_app>
-
10000 requests per day + 250 * <number_of_users_synced_with_your_app>
The multi-user application is disabled by default, you need to contact us when you want to enable it after testing with your personal app.
Note that requests violating the short term limit will still count toward the long term limit.
Please contact us if you think the rate limits do not suits your usage, we can increase them.
You must implements your own logic if a request failed for any reason (429 too many requests, …)
Some connected services restrict what Nolio may share with other applications. Workouts and metrics coming from Strava and Whoop, and metrics coming from Oura, are still returned, but their measured fields (duration, distance, power, heart rate, file_url, streams, laps, metric value…) are set to null and the object carries a restriction marker:
{"restriction": {"code": "connector_terms", "source": "strava", "message": "Hidden under Strava's terms.", "fields": ["duration", "distance"]}}fields lists the fields set to null. The name, sport, date, RPE and feeling entered in Nolio are still returned.
The API will respond to requests using HTTP status codes. Below are some common status codes your application may receive:
-
2XX - Status codes in the 200 range denote success.
- A status of 200 (OK) is typical, but the documentation for each endpoint may specify other successful status codes in this range.
-
302 - Object moved.
- Typically returned by the API if your request is made over an insecure HTTP connection.
-
4XX - Status codes in the 400 range denote client errors. Common responses include:
-
400 - Bad request - bad or missing data was passed to the endpoint.
-
401 - Unauthorized - bad, expired or missing authorization header.
-
403 - Forbidden - wrong token or other non allowed access
-
405 - Method not allowed
-
429 - Too Many Requests - Will trigger if you do more request than your rate limit, please read Rate limits
-
500 - Server Error.
- If a status code 500 is returned there was an error on the server processing your request. Server errors are recorded and the servers are monitored for errors.
-
502 - Bad gateway - Can happen if a severe crash on our end, you should retry your request later.
-
503 - Service Unavailable.
- If you receive a status code of 503 our system is temporarily unavailable, most likely for system maintenance. You should retry your request later.
For more information see the HTTP RFC for HTTP status codes.