Skip to content

Automating Webhook Creation #3

@ItzNotABug

Description

@ItzNotABug

In the current setup, there isn't a direct method to verify if a webhook associated with a given API Key already exists.
However, the API returns an error when trying to add a webhook with a duplicate Event and Target URL.

We can use this behavior when setting up Ghosler for the first time. Based on the response, we can automatically decide whether to create a new webhook or skip this step if it's already in place.

This approach will simplify the Ghosler setup a bit more than the existing one.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions