Webhook's in runpod

I want to trigger a api call to my server when a request is completed processing using webhook i found that there is a webhook parameter but I did not understand how to use it or how i can test it locally
7 Replies
digigoblin
digigoblin8mo ago
Send a request | RunPod Documentation
The method in which jobs are submitted and returned.
digigoblin
digigoblin8mo ago
Test it locally using ngrok.
zkreutzjanz
zkreutzjanz8mo ago
Was just looking at this actually, something I would recommend is using it as a ping to notify a job is completed rather than accepting its output. Reason being it is totally unauthed and then call to get status when pinged
CyberTrauma
CyberTraumaOP8mo ago
Agreed Is there a way to change the 10second timer?
digigoblin
digigoblin8mo ago
You can add auth as query string parameters What are you referring to? What 10 second timer?
CyberTrauma
CyberTraumaOP8mo ago
how?
Your webhook endpoint should respond with a 200 status to acknowledge the successful call. If the call is not successful, the request waits 10 seconds and sends the call again up to two more times.
Your webhook endpoint should respond with a 200 status to acknowledge the successful call. If the call is not successful, the request waits 10 seconds and sends the call again up to two more times.
digigoblin
digigoblin8mo ago
This is standard, can't be changed. Set webhook to: https://example.com?token=123456789abcdef Then in your webhook receiver check that the value for token is correct
Want results from more Discord servers?
Add your server