Delhivery api integration with laravel botble cms website

I’m trying to integrate the Delhivery API into my application, but I’m facing multiple issues. Here’s what I’ve attempted so far:

Webhook Integration: I followed Delhivery’s documentation for webhook integration, but it failed to establish a proper connection or trigger responses. I double-checked the URL and payload structure, but no luck.

Manual Integration: I tried using cURL and Postman for manual requests. The API returns a response, but it’s either inconsistent or gives errors like 401 Unauthorized or 500 Internal Server Error, despite using the correct API key and headers.

ZIP File Integration: I found a sample ZIP file for the API, which supposedly includes all the necessary files for a working integration. However, after extracting and following the instructions, I encountered various errors such as missing dependencies, incorrect routes, and authentication failures.

Has anyone successfully integrated the Delhivery API? Any guidance on troubleshooting integration or using the ZIP file method would be appreciated. Please share any working examples, best practices, or tips.