curl --request POST \
--url https://api-lr.agent.ai/v1/action/wait_for_confirmation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_message": "<string>"
}
'{
"status": 123,
"response": {}
}Pause until the user confirms.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/wait_for_confirmation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_message": "<string>"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)
Enter a message to prompt the user for confirmation, such as 'Are you sure you want to proceed?' or 'Click OK to continue.'