Intro
Webhooks provide a way for applications to communicate with each other in real-time. They enable your application to receive automatic notifications when specific events occur, eliminating the need for constant polling.
How Webhooks Work
-
Registration: You register a webhook URL in your Elo Verde account at web.eloverde.com.br. This URL is where you'll receive event notifications.
-
Event Occurrence: When a specific event happens in our system (like a new order, status update, etc.), we'll send an HTTP POST request to your registered webhook URL.
-
Notification: Your server receives the webhook with the event data in JSON format.
-
Acknowledgment: Your server should respond with a 2xx HTTP status code to acknowledge receipt of the webhook.
Setting Up Webhooks
To start receiving webhook notifications:
- Log in to your account at eloverde.com.br
- Navigate to the Webhooks section in your account settings
- Add your webhook endpoint URL
- Select the events you want to subscribe to
- Save your settings
Best Practices
- Always verify the webhook signature to ensure the request is from EloVerde
- Respond quickly to webhook requests (under 5 seconds)
- Keep your webhook URLs secure and never expose them in client-side code
Need Help?
If you encounter any issues or have questions about implementing webhooks, please contact our support team through your EloVerde account or visit our help center.