For my extensions I (generally) pass a version number in the URL path/query string/body params of the request from my front end to my backend
Then my backend routes accordingly.
So if I have
- ext version 1 it calls - EBS/api/1/thing
then I have
- ext version 2 it calls - EBS/api/2/thing
Then my /api/ router handles accordingly.