Use Zenduty alert API endpoint
We should use Zenduty alerts api endpoint to create alerts in Zenduty. This will skip using any token for creating alert.
Zenduty API URL: https://docs.zenduty.com/docs/api
@SilentEntity - This action uses the Zenduty Services feature: https://docs.zenduty.com/docs/services
Any particular reason to switch to this method? Either way you have to create a unique token - in this method you are creating an integration key.
The current way needs an API token [auth token] that needs to be generated and provided, which is not required. From UI the incident is created this way but I think that is for sample/demo or manual incident creation. You can also observe that all the other integrations are also provided on this page, which sends an alert to Zenduty. I think in Zenduty, integrations are used as a point of getting alerts, which creates incidents in services, that belong to a team in an account.
The hierarchy is like this: [ Alert > Integration > service > team > account ]
I think API [auth token] 's better use case will be Zenduty's terraform provider.