Skip to main content

/webhooks add

Admin Command

This command requires administrator permissions.

Add a new webhook to receive queue information.

Usage​

/webhooks add [url]

Arguments​

  • url: (Required) Your webhook url.

Details​

Registers a webhook URL for this queue. NeatQueue sends a JSON POST to it for each queue and match event (players joining or leaving, match started, teams created, match completed, match cancelled, substitutions). Each queue has one webhook; adding a new one replaces the old one. The command replies with a secret token that NeatQueue sends in the Authorization header of every request so you can verify it came from NeatQueue; running the command again generates a new token. Requests time out after 10 seconds and are not retried, so the endpoint must be reachable and accept POST requests (HTTPS recommended). This is not the token from /webhooks generatetoken.

Required Permissions​

Permission Required

This command requires either:

  • A configured NeatQueue Staff Role
  • Manage Channels permission