Skills/Scheduled Callback/Schedule a callback

Schedule a callback

Free

Register an HTTP callback to fire at an absolute time or after a delay. Specify the target URL, an optional request body and headers, and either a fire_at timestamp or a delay_seconds value. The callback fires asynchronously without blocking the current session.

Cost

Free

What it accepts

Set these inside the intent when you run it.

target_urlrequired

The URL to send the HTTP request to when the callback fires.

fire_atoptional

Absolute time to fire the callback, ISO 8601. Use this or delay_seconds.

delay_secondsoptional

Seconds from now to wait before firing. Use this or fire_at.

methodoptional

HTTP method for the callback. Defaults to POST.

bodyoptional

Request body to send with the callback.

headersoptional

HTTP headers to include in the callback request.

What you get back

A confirmation with the scheduled callback ID and the time it will fire.

Run it

Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Scheduled Callback skill will route from your intent instead.)

curl -X POST "https://skill.askfaro.com/skills/schedule/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"operation":"schedule","target_url":"https://myapp.com/webhook","fire_at":"2025-01-15T09:00:00Z","delay_seconds":1800,"method":"POST","body":"{\"event\": \"reminder\", \"note\": \"Follow up with John\"}","headers":"{\"Content-Type\": \"application/json\"}"}}'

Example requests

  • ›Remind me to follow up with John tomorrow at 9am by calling this URL.
  • ›Trigger my webhook in 30 minutes.
  • ›Call https://myapp.com/callback at midnight tonight with this JSON body.