How to retry something after a delay

Schedule the retry as a callback pointing at your own retry endpoint.

Run it

curl -s -X POST https://api.model.tools/api/v1/schedule -H 'Content-Type: application/json' -d '{"callbackUrl":"https://x.test/retry","delaySec":300}'

Response

{"state":"queued"}