Hang Up Call

mocean.hangup_call
ActionVoice & SMSconnection required

Calls the Mocean API with the connection's credentials.

End a call that is still in progress.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Mocean
Secret shape
{"api_token": "…"} — a Mocean API token, or {"api_key": "…", "api_secret": "…"}
Config it needs
base_url, sender_id, brand
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
call_uuid
The call id to end, as returned by mocean.make_call.
stringYes——218fc2f6-fed8-11e9-952a-31afba325635

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "call_uuid": "218fc2f6-fed8-11e9-952a-31afba325635"
}

Output

One shape.

result

FieldTypeExample
call_uuid
The call that was ended.
string—
session_uuid
The session that call belonged to.
string—
hungup
True once Mocean accepted the hangup.
boolean—
{
  "call_uuid": "",
  "hungup": false,
  "session_uuid": ""
}

See Hang Up Call run in a workflow.

In a technical demo we add the Mocean connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.