Register a callback URL to receive notifications when the run completes. URL must use https and must not point to a private network.
curl --request POST \
--url https://api.case.dev/agent/v1/run/{id}/watch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"callbackUrl": "<string>"
}
'{
"ok": true,
"callbackUrl": "<string>"
}Was this page helpful?
curl --request POST \
--url https://api.case.dev/agent/v1/run/{id}/watch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"callbackUrl": "<string>"
}
'{
"ok": true,
"callbackUrl": "<string>"
}