Overview
The Discord Webhook Manager allows you to invite other registered users to collaborate on your webhooks and templates. Invitations are sent via email and expire after 7 days for security.Only users who already have an account can be invited. The invitee must be registered with the email address you’re inviting.
How Invitations Work
The invitation system uses secure token-based authentication to ensure only authorized users can accept invitations.Send Invitation
The webhook owner or admin sends an invitation by entering the collaborator’s email address and selecting their permission level.
Email Notification
The invitee receives an email notification with a secure invitation link containing a unique token.
Invitation States
Invitations can be in one of four states:Pending
The invitation has been sent and is awaiting a response. Valid for 7 days.
Accepted
The invitee accepted the invitation and is now a collaborator.
Declined
The invitee declined the invitation.
Cancelled
The inviter or webhook owner cancelled the invitation before it was accepted.
Sending Invitations
Requirements
To send invitations, you must:- Be the webhook owner, or
- Have Admin permission level on the webhook
Validation Rules
The system performs several checks before creating an invitation:Email Validation
Email Validation
User Existence Check
User Existence Check
Self-Invitation Prevention
Self-Invitation Prevention
Duplicate Collaborator Check
Duplicate Collaborator Check
Pending Invitation Check
Pending Invitation Check
Managing Invitations
Viewing Pending Invitations
Collaborators can view their pending invitations:Accepting Invitations
When accepting an invitation, the system:- Verifies the invitation is for the current user
- Checks if the invitation is still pending and not expired
- Creates a collaborator record with the specified permission level
- Updates the invitation status to “accepted”
If you’re already a collaborator when accepting an invitation (edge case), the system will simply mark the invitation as accepted and notify you.
Declining Invitations
Declining an invitation simply updates its status:Cancelling Sent Invitations
Inviters and webhook owners can cancel pending invitations:Invitation Expiration
All invitations automatically expire after 7 days from creation:Database Schema
The invitations table structure:Best Practices
Use Appropriate Permissions
Always assign the minimum permission level necessary. Start with Viewer and upgrade if needed.
Monitor Pending Invitations
Regularly review and cancel unused pending invitations to maintain security.
Verify Email Addresses
Double-check email addresses before sending invitations to avoid sending to wrong users.
Timely Response
Respond to invitations promptly as they expire after 7 days.
Troubleshooting
Error: No user found with this email address
Error: No user found with this email address
The email address you entered is not registered in the system. Ask the user to create an account first before sending them an invitation.
Error: There is already a pending invitation
Error: There is already a pending invitation
A pending invitation already exists for this email address. Either wait for the user to respond, or cancel the existing invitation before sending a new one.
Error: This invitation has expired
Error: This invitation has expired
The invitation link is older than 7 days. Ask the webhook owner to send a new invitation.
Error: This invitation is not for you
Error: This invitation is not for you
The invitation was sent to a different email address. Make sure you’re logged in with the correct account that received the invitation.
Next Steps
Permissions
Learn about the three permission levels: Admin, Editor, and Viewer
Sharing
Understand how to share webhooks and templates with your team
