curl --request POST \
--url https://general-runtime.voiceflow.com/v2/project/{projectID}/session/{sessionKey}/event \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '
{
"action": {
"type": "<string>",
"payload": "<unknown>",
"diagramID": "<string>",
"time": 123,
"metadata": {}
}
}
'Emits an event to an ongoing conversation session.
curl --request POST \
--url https://general-runtime.voiceflow.com/v2/project/{projectID}/session/{sessionKey}/event \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '
{
"action": {
"type": "<string>",
"payload": "<unknown>",
"diagramID": "<string>",
"time": 123,
"metadata": {}
}
}
'Documentation Index
Fetch the complete documentation index at: https://docs.voiceflow.com/llms.txt
Use this file to discover all available pages before exploring further.
Voiceflow API key
ID of the target Voiceflow project.
The session key returned by the Start session endpoint. Identifies which active session to send the event to.
Was this page helpful?