Hi Intervals.icu Team,
I recently upgraded to Supporter to access the API, but I’m getting a 403 error when trying to use it.
Details:
- Athlete ID: i256066
- API Key: 1puezkan06zdf895zb1yykkxm (generated after upgrading)
- Error: HTTP 403 {“status”:403,“error”:“Access denied”}
- Endpoint: /api/v1/athlete/i256066/activities
- Time of error: 2026-02-23 17:14 UTC+8
Could you please help check if my Supporter status is properly activated for API access?
Thank you!
david
2
You need to keep your API key secret! I have just regenerated yours.
You can use 0 in place of the athlete ID. Try with curl with your API key in place of xxx below:
curl -u API_KEY:xxx 'http://localhost:8044/api/v1/athlete/0'
You do not need to be a supporter for API access, but thanks for subscribing.
That said I’m still getting 401 Unauthorized error with:
curl -u API_KEY: ‘https://intervals.icu/api/v1/athlete/0/activities’ - may i please check if the key is fully activated?
API_KEY in bold above is NOT your API-key. API_KEY is the user and it is the same for EVERYONE, it is this exact string!
So modify that by
curl -u API_KEY: “YOUR personal API-key” ‘https://intervals.icu/api/v1/athlete/0/activities’
1 Like
Gotcha! Much appreciated the help!