# View our quick start guide to get your API key: # https://developer.voiceflow.com/reference/overview API_KEY='{api_key}'
USER_ID='user_123' USER_INPUT='Hello world!'
curl --request POST "https://general-runtime.voiceflow.com/state/user/$USER_ID/interact" \ --header "Authorization: $API_KEY" \ --header 'Content-Type: application/json' \ --data "{ \"action\": { \"type\": \"text\", \"payload\": \"$USER_INPUT\" } }"
VF.DM.656f3c1c64443900062f3d40.E2q5M8aLRmnekM8t
Commentaires