Create a session
Starts analysis on a single live call: taps the call audio, applies the given configuration, starts its operators, and waits for the session to establish before responding (201). The target call must already be known to the platform, identified by call_id; an unknown one, or one belonging to another account, returns 404. Pass customer_metadata to have an opaque object echoed back on every webhook this session triggers. Returns 502 if the session cannot be established, or 504 if establishment times out.
Required scope: intelligence:write
Request body for starting a session on a live call.
- Type: string · Call Idcall
_id requiredIdentifier of the live call to analyse. It must already be known to the platform.
- Type: string · Configuration Idconfiguration
_id requiredUUID of the configuration to apply. Must be one of your account's active configurations.
- Type: object · Customer Metadatanullablecustomer
_metadata Opaque object stored with the session and echoed back, verbatim, on every webhook this session triggers. Use it to carry your own correlation reference (e.g. a CRM id).
- Type: boolean · Transcript Eventsnullabletranscript
_events When true, transcript turns are emitted on the session's event stream alongside operator results.
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://api.simwood.com/intelligence/v1/sessions \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"call_id": "",
"configuration_id": "",
"customer_metadata": {
"additionalProperty": "anything"
},
"transcript_events": true
}'
{
"session_id": "string"
}