Skip to main content
POST
/
action
/
wait_for_confirmation
Wait for User Confirmation
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": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
user_message
string

Enter a message to prompt the user for confirmation, such as 'Are you sure you want to proceed?' or 'Click OK to continue.'

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action