Skip to main content
PUT
Update Mid-call Action
This endpoint allows you to update an existing Mid-call Action. All fields are optional — only provide the fields you want to update.

Path Parameters

integer
required
The unique identifier of the Mid-call Action to update

Body Parameters

For Mid-call Actions linked to an Automation Platform flow, the endpoint, method, and body_format fields are ignored to protect the flow connection.
string
Mid-call Action name — letters, numbers and underscores, starting with a letter or underscore (max 64 characters)
string
Detailed explanation of when and how the AI should use this Mid-call Action (max 255 characters)
string
Valid URL of the API endpoint to call (max 2048 characters)
string
HTTP method: GET, POST, PUT, PATCH, or DELETE
string
Request body encoding for write methods: json (default) or form
integer
Request timeout in seconds (1-30)
array
HTTP headers to send with the request (replaces existing headers)
array
Fixed key/value pairs always sent with the request (replaces existing static fields)
array
Parameters schema (replaces existing schema)

Response Fields

string
Success message
object
The updated Mid-call Action object with all current values

Managing Mid-call Action Assignments

To attach or detach this Mid-call Action from assistants, use the Assistant API:
  • Create Assistant — Use the tool_ids parameter to attach Mid-call Actions when creating an assistant
  • Update Assistant — Use the tool_ids parameter to manage which Mid-call Actions are assigned to an assistant
Need a whole toolset instead of building HTTP actions one by one? Connect an external MCP server — tools are discovered automatically. See MCP Servers.