FormZones lets website owners receive form submissions directly in Discord. Skip managing servers and get instant notifications by integrating your website with FormZones.
- Receive form submissions directly in Discord
- Easy integration with your website
- Instant notifications
- Simplified server management
Sign in at FormZones.
- Go to your Discord channel settings.
- Navigate to Integrations and create a new webhook.
- Copy the webhook URL.
- Paste your Discord webhook URL into the FormZones setup page.
- FormZones will generate a unique link for you to send POST API requests.
Send your POST API requests to the unique link provided by FormZones. The endpoint format is:
https://formzones.vercel.app/api/discord?webhook_id=YOUR_WEBHOOK_ID&webhook_token=YOUR_WEBHOOK_TOKEN&access_token=YOUR_ACCESS_TOKEN
When sending data using JavaScript, format your data as an array of objects with name
and value
properties.
const data = [
{ name: 'name', value: 'John Doe' },
{ name: 'email', value: '[email protected]' },
{ name: 'message', value: 'Hello, this is a test message!' }
];
fetch('YOUR_GENERATED_LINK_HERE', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(data),
})
.then(response => response.json())
.then(data => {
console.log('Success:', data);
})
.catch((error) => {
console.error('Error:', error);
});
For feedback, suggestions, or support, please open an issue or pull request on the GitHub repository.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.