Skip to main content

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

  1. 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.

  2. 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.

  3. Notification: Your server receives the webhook with the event data in JSON format.

  4. 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:

  1. Log in to your account at eloverde.com.br
  2. Navigate to the Webhooks section in your account settings
  3. Add your webhook endpoint URL
  4. Select the events you want to subscribe to
  5. 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.