Hi,
Unfortunately I don’t use this automation anymore, so I don’t have it in my config.
But I think you can find the slug name by using the following command in the terminal:
ha addons
You can still use the REST API call I have included in my previous example. You just need to make sure you also pass in an Authorization header with a token.
Here’s another example I found from a different user.