I have tried a few different set ups and received this error.
Error 404 while accessing /athlete-profile
Response: {“timestamp”:“2025-05-26T14:42:42.070+00:00”,“status”:404,“error”:“Not Found”,“path”:“/api/v1/athlete-profile”} Could not retrieve athlete profile.
You almost certainly made the ‘usual’ error…
To acces the API, the username is the literal string ‘API_KEY’ (AND THUS NOT your api or athlete id) and the password is your personal Api-key.
If not, post some examples of your curl commands.
Should look like
curl.exe -u API_KEY:8765abcd3432s2u3h3tyhmnof https://intervals.icu/api/v1/athlete/i6789/wellness.csv?
I’m building an AI Agent that can create structured workouts for me and push them to Intervals.icu. Ideally, the agent will also be able to retrieve completed workout data afterward in order to analyze the session and provide personalized feedback.
Right now, I’m using my own personal Intervals.icu account to test this out, so I’m not implementing full OAuth just yet — just using my API key for now.
I have two questions:
What’s the proper flow to post a structured workout to my calendar?
For example, is it:
Step 1: Create a workout folder
Step 2: Upload a structured workout to that folder
Step 3: Schedule it on the calendar using the workout ID?
What’s the recommended way to retrieve completed workout data ?
Should I query the calendar? Or is there a better endpoint for retrieving performance data after a session?
I’m not a developer by trade, so feel free to explain it like I’m five
That’s the code I’m using. I am getting a {“status”:403,“error”:“Access denied”} error
Any ideas why? API key and athlete id are 100% entered correctly