Import Plans API

Hello, I have two small questions:

The web ui on intervals.icu appears to be using this REST call to apply a plan to the calendar:

% curl ‘https://intervals.icu/api/athlete/i23451/events/apply-plan’ \
  -X POST \ 
  —data-raw ‘{“folder_id”:12345,”start_date_local”:”2025-11-17T00:00:00”}’

However, this method isn’t documented in the Swagger UI api documentation. Is there any other official way to use this, or is it acceptable to use this method?

By the way, I was wondering if we could create a Developer topic in the forum.

1 Like

It seems as well I can’t use properly this call /api/v1/athlete/0/events/apply-plan and keep getting a Access Denied.

I am pretty sure the training_plan_id belongs to the user I am requesting with.

I have experimented with the /api/v1/athlete-plans call with no luck as well

help?

1 Like

thanks, creating workout/folder or even plans in library is fine! the issue is when i try to apply the plan to my calendar via the API

That endpoint is not part of the public API. However I have just added it and will deploy on Friday AM (GMT+2).

1 Like