Skip to main content
POST
Test HTTP or code tool

Authorizations

Authorization
string
header
required

API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write, routine_approvals:read, routine_approvals:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.

Body

application/json

Sends one real HTTP request for an API tool config.

config
object
required

HTTP or MCP configuration, as accepted when creating this tool type.

type
enum<string>

Optional; selects the HTTP tool test.

Available options:
api
tool_id
string<uuid>

Existing tool to reuse masked secrets.

values
object

Sample tool parameter values.

call_values
object

Separate sample call variables.

Response

Test or discovery result. Inspect the nested ok field; remote failures also return HTTP 200.

data
HTTP tool test result · object
required