# Callingly

Callingly is a lead response management software that automates immediate call and text follow-ups to new leads, integrating seamlessly with various CRMs and lead sources to enhance sales team responsiveness and conversion rates.

- **Category:** phone & sms
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 29
- **Triggers:** 0
- **Slug:** `CALLINGLY`
- **Version:** 20260316_00

## Tools

### Activate/Deactivate Client Account

**Slug:** `CALLINGLY_ACTIVATE_DEACTIVATE_CLIENT`

Tool to activate or deactivate a client account. Use when you need to toggle client access after onboarding or offboarding. Example: "Activate client 123" or "Deactivate client 456".

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `client_id` | integer | Yes | Unique identifier of the client account to modify. |
| `is_active` | integer ("0" | "1") | Yes | Set to 1 to activate the client account or 0 to deactivate it. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Agent

**Slug:** `CALLINGLY_CREATE_AGENT`

Tool to create a new agent. Use when you need to register an agent in Callingly after gathering their account ID and contact details.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ext` | string | No | Agent's phone extension if applicable |
| `email` | string | Yes | Agent's email address |
| `fname` | string | Yes | Agent's first name |
| `lname` | string | Yes | Agent's last name |
| `timezone` | string | Yes | Agent's timezone, IANA format (e.g., 'America/Phoenix') |
| `account_id` | integer | Yes | Client's account ID under which the agent will be created |
| `phone_number` | string | Yes | Agent's phone number in E.164 format (must include country code with '+' prefix, e.g., '+14155551234') |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Outbound Call

**Slug:** `CALLINGLY_CREATE_CALL`

Creates a new outbound call record and initiates a real outbound call, which incurs cost — ensure explicit user authorization and compliance with applicable consent and telemarketing regulations before use. The call will be routed to available agents on the specified team based on account-level routing configuration. Use List Teams first to get valid account_id and team_id values. Returns a call_id that can be used with Get Call to retrieve call status, recordings, and other details.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Lead's email address |
| `crm_id` | integer | No | External CRM identifier for the lead, used for syncing with your CRM system |
| `source` | string | No | Source where the lead originated from (e.g., 'HubSpot', 'Website', 'Referral') |
| `company` | string | No | Lead's company name |
| `team_id` | integer | Yes | ID of the team that will handle the call. Retrieve available team IDs using the List Teams endpoint. Must belong to the specified account_id — a mismatch will prevent proper call routing. |
| `category` | string | No | Category to classify the call (e.g., 'Sales', 'Support', 'Pools') |
| `last_name` | string | Yes | Lead's last name |
| `account_id` | integer | Yes | Your Callingly account ID. Retrieve this using the List Teams endpoint (account_id is returned in each team object). |
| `first_name` | string | Yes | Lead's first name |
| `phone_number` | string | Yes | Lead's phone number in E.164 format (e.g., +15555555555 for US, +442071234567 for UK) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Client

**Slug:** `CALLINGLY_CREATE_CLIENT`

Creates a new client account in Callingly. Clients are sub-accounts under your agency account that can have their own teams, agents, and billing. Use this when onboarding a new business customer to your Callingly agency.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Client's email address. |
| `fname` | string | Yes | Client's first name. |
| `lname` | string | Yes | Client's last name. |
| `company` | string | Yes | Client's company name. |
| `password` | string | Yes | Password for the client's account. |
| `phone_number` | string | Yes | Client's phone number in E.164 format (e.g., +14155551234). Must be a valid phone number with a real area code. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Team

**Slug:** `CALLINGLY_CREATE_TEAM`

Tool to create a new team. Use when setting up a team configuration before adding agents.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the team. |
| `delay` | integer | No | Delay in seconds before dialing team members. |
| `retries` | integer | No | Number of retry attempts per agent. |
| `is_retry` | integer ("0" | "1") | No | Enable per-agent retries: 1 to enable, 0 to disable. |
| `language` | string | No | Language code for team messages (e.g., 'en'). |
| `call_mode` | string | No | Call distribution mode. Only 'simultaneous' supported currently. |
| `is_record` | integer ("0" | "1") | No | Whether calls should be recorded: 1 to record, 0 otherwise. |
| `account_id` | integer | Yes | Account ID under which to create the team. |
| `whispertext` | string | No | Pre-call whisper message template. |
| `lead_retries` | integer | No | Number of retries at the lead level. |
| `is_reschedule` | integer ("0" | "1") | No | Enable rescheduling on no-answer: 1 to enable, 0 to disable. |
| `is_retry_lead` | integer ("0" | "1") | No | Enable lead-level retries: 1 to enable, 0 to disable. |
| `retry_schedule` | array | No | Schedule for per-agent retries in minutes. |
| `lead_retry_schedule` | array | No | Schedule for lead-level retries in minutes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Webhook

**Slug:** `CALLINGLY_CREATE_WEBHOOK`

Tool to create a new webhook for call or lead events. Use when you need to receive real-time notifications on specific events. Example: "Create a webhook for call_completed events to http://example.com/callback".

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | A descriptive name for the webhook. |
| `event` | string ("call_completed" | "lead_created" | "lead_updated") | Yes | Event that triggers this webhook. |
| `field` | string ("lead_owner" | "result" | "stage" | "status" | "tags") | No | For lead_created or lead_updated events only: field to watch for changes. |
| `filter` | string | No | For lead_created or lead_updated events only: value the watched field must match. |
| `team_id` | integer | No | For call_completed events only when direction is outbound: the team ID to filter on. |
| `direction` | string ("outbound" | "inbound") | No | For call_completed events only: whether to trigger on outbound or inbound calls. |
| `number_id` | integer | No | For call_completed events only when direction is inbound: the number ID to filter on. |
| `target_url` | string | Yes | The callback URL to receive the webhook. |
| `call_status` | string ("completed" | "missed" | "offline") | No | For call_completed events only: status filter. |
| `call_lead_status` | string ("contacted" | "missed" | "removed" | "voicemail") | No | For call_completed events only: lead outcome filter. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Agent

**Slug:** `CALLINGLY_DELETE_AGENT`

Permanently delete an agent from a Callingly account. Use when removing an agent who should no longer receive calls. Requires both the agent ID and the account ID the agent belongs to.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the agent to delete. |
| `account_id` | integer | Yes | The client account ID that the agent belongs to. Required to identify which account's agent to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Client

**Slug:** `CALLINGLY_DELETE_CLIENT`

Tool to delete a client. Use when you need to remove an existing client from your account after confirming its ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Positive integer ID of the client to delete |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Lead

**Slug:** `CALLINGLY_DELETE_LEAD`

Tool to delete a lead by ID. Use when you need to permanently remove a lead from your account after confirming its ID. Returns a success confirmation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Positive integer ID of the lead to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Webhook

**Slug:** `CALLINGLY_DELETE_WEBHOOK`

Tool to delete a webhook. Use when permanently removing a webhook by its ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the webhook to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Agent Schedule

**Slug:** `CALLINGLY_GET_AGENT_SCHEDULE`

Tool to retrieve the availability schedule for a specific agent. Use when you need to know which days and times the agent is available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the agent. Obtain this from the List Users action. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Call

**Slug:** `CALLINGLY_GET_CALL`

Retrieves detailed information about a specific call by its unique ID. Returns comprehensive call metadata including status, duration, lead information, agent details, recording URLs, transcripts, and AI-generated insights. Use the LIST_CALLS action first to obtain valid call IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `call_id` | integer | Yes | The unique numeric identifier of the call to retrieve. Obtain this from the LIST_CALLS action response. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Lead

**Slug:** `CALLINGLY_GET_LEAD`

Tool to retrieve details of a specific lead by its ID. Use when you need full lead details before follow-up actions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Positive integer ID of the lead to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Team

**Slug:** `CALLINGLY_GET_TEAM`

Tool to retrieve details of a specific team. Use after obtaining the team ID to fetch its configuration details.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the team to retrieve |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Webhook

**Slug:** `CALLINGLY_GET_WEBHOOK`

Tool to retrieve details of a specific webhook by its ID. Use when you need to inspect a webhook's configuration before modifying or deleting it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the webhook to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Calls

**Slug:** `CALLINGLY_LIST_CALLS`

Tool to list calls. Use when you need to retrieve multiple call records with optional filters such as date range, team, and pagination after identifying the need for a collection of calls.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end` | string | No | End date for filtering calls (YYYY-MM-DD). |
| `page` | integer | No | Page number for pagination. |
| `limit` | integer | No | Number of records per page. |
| `start` | string | No | Start date for filtering calls (YYYY-MM-DD). |
| `team_id` | integer | No | Filter calls by team ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Clients

**Slug:** `CALLINGLY_LIST_CLIENTS`

Tool to list clients. Use when you need to retrieve all clients associated with your account.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Leads

**Slug:** `CALLINGLY_LIST_LEADS`

Tool to list leads based on provided filters like date range or phone number. Use after confirming filter criteria when bulk lead retrieval is needed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end` | string | No | Date (YYYY-MM-DD) to filter leads created on or before this date |
| `start` | string | No | Date (YYYY-MM-DD) to filter leads created on or after this date |
| `account_id` | integer | No | Account ID for agency partner context |
| `phone_number` | string | No | Phone number to filter leads by, e.g., '+14801234567' |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Teams

**Slug:** `CALLINGLY_LIST_TEAMS`

Tool to list teams. Use when you need to retrieve all teams associated with your account.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Team Users

**Slug:** `CALLINGLY_LIST_TEAM_USERS`

Retrieve all agents assigned to a specific team in Callingly. Returns each agent's ID, name, priority, call cap, and any custom/integration identifiers. Use this to audit team composition or before performing agent management operations like updates or removals.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The unique numeric ID of the team. Use the List Teams action to retrieve available team IDs. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Users

**Slug:** `CALLINGLY_LIST_USERS`

Tool to retrieve a list of agents. Use when you need to see all agents available under the authenticated account, optionally filtering by a specific client account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `account_id` | integer | No | Filter users by client account ID (required for agency partners) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Webhooks

**Slug:** `CALLINGLY_LIST_WEBHOOKS`

Tool to list configured webhooks. Use when you need to retrieve all webhooks configured in your account to review or manage them.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `account_id` | integer | No | Filter webhooks by client account ID (required for agency partners) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Remove Team Agent

**Slug:** `CALLINGLY_REMOVE_TEAM_AGENT`

Tool to remove a specific agent from a team. Use when you need to disassociate an agent from a team after confirming both team and agent IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `team_id` | integer | Yes | Unique identifier of the team to remove the agent from. |
| `agent_id` | integer | Yes | Unique identifier of the agent to remove from the team. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Agent

**Slug:** `CALLINGLY_UPDATE_AGENT`

Tool to update an existing agent's details. Use when you need to modify agent information post-creation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the agent to update |
| `ext` | string | No | Agent's phone extension if applicable |
| `fname` | string | No | Agent's first name |
| `lname` | string | No | Agent's last name |
| `timezone` | string | No | Agent's timezone, IANA format (e.g., 'America/Phoenix') |
| `account_id` | integer | No | Client's account ID under which the agent exists |
| `donotdisturb` | integer | No | Do-not-disturb flag: 1 to enable, 0 to disable |
| `phone_number` | string | No | Agent's phone number, in E.164 or local format |
| `donotdisturb_until` | string | No | Datetime until which do-not-disturb is active, required if donotdisturb=1 |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Lead

**Slug:** `CALLINGLY_UPDATE_LEAD`

Tool to update an existing lead's information. Use when you need to modify lead contact details, status, or blocking settings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the lead to update |
| `email` | string | No | Email address of the lead |
| `fname` | string | No | First name of the lead |
| `lname` | string | No | Last name of the lead |
| `stage` | string | No | Current stage in the pipeline |
| `result` | string | No | Outcome/result after call or follow-up |
| `source` | string | No | Origin/source of the lead (e.g., 'HubSpot', 'Web Form') |
| `status` | string | No | Current status of the lead (e.g., 'new', 'contacted', 'qualified') |
| `company` | string | No | Company name associated with the lead |
| `is_blocked` | integer | No | Flag to block the lead: 1 to block, 0 to unblock |
| `is_stopped` | integer | No | Flag to stop automated calls: 1 to enable, 0 to disable |
| `phone_number` | string | No | Phone number of the lead in E.164 format (e.g., '+14155551234') |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Agent Schedule

**Slug:** `CALLINGLY_UPDATE_SCHEDULE`

Tool to update an agent's availability schedule. Use when you need to set or override an agent's daily availability times.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | Unique identifier of the agent whose schedule is being updated. Get agent IDs from the List Users action. |
| `schedule` | array | Yes | Array of DaySchedule objects defining the agent's weekly availability. Can include all 7 days (Sunday=0 through Saturday=6) or just specific days to update. Each day requires label, day number, is_available flag, and times array. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Team Agent Settings

**Slug:** `CALLINGLY_UPDATE_TEAM_AGENT_SETTINGS`

Tool to update settings (priority, capacity) for a specific team agent. Use when adjusting an agent's priority or call capacity after team configuration.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cap` | integer | No | Maximum number of calls the agent can receive. Use null or omit for unlimited capacity. |
| `team_id` | integer | Yes | Unique identifier of the team containing the agent. |
| `agent_id` | integer | Yes | Unique identifier of the agent whose settings to update. |
| `priority` | integer | Yes | Calling priority of the agent within the team (1 = highest priority, called first). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Team Users

**Slug:** `CALLINGLY_UPDATE_TEAM_USERS`

Updates the list of agents assigned to a team. This operation replaces all existing agent assignments - any agents not included in the list will be removed from the team. Use CALLINGLY_LIST_TEAM_USERS to check current assignments before updating.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The unique identifier of the team to update. Use CALLINGLY_LIST_TEAMS to find team IDs. |
| `agents` | array | Yes | List of agent IDs to assign to the team. This replaces all current agents. Use CALLINGLY_LIST_USERS to find agent IDs. Pass an empty list to remove all agents. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Webhook

**Slug:** `CALLINGLY_UPDATE_WEBHOOK`

Updates an existing webhook's configuration by ID. Supports partial updates - only provide fields you want to change. Note: When updating event-specific fields (call_status, call_lead_status, field, filter), you must also include the event field in your request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | The unique identifier of the webhook to update. Required. |
| `name` | string | No | New descriptive name for the webhook. |
| `event` | string ("call_completed" | "lead_created" | "lead_updated") | No | Event type that triggers the webhook. Must be included when updating event-specific fields like call_status or field/filter. |
| `field` | string ("lead_owner" | "result" | "stage" | "status" | "tags") | No | For lead_created/lead_updated events: the lead field to watch for changes. Requires event='lead_created' or 'lead_updated'. |
| `filter` | string | No | For lead_created/lead_updated events: the value the watched field must match. Requires event='lead_created' or 'lead_updated'. |
| `team_id` | integer | No | For outbound call_completed events: filter by team ID. Requires call_direction='outbound'. |
| `number_id` | integer | No | For inbound call_completed events: filter by number ID. Requires call_direction='inbound'. |
| `target_url` | string | No | New callback URL to receive webhook payloads. |
| `call_status` | string ("completed" | "missed" | "offline") | No | For call_completed events: filter by call status. Requires event='call_completed'. |
| `call_direction` | string ("outbound" | "inbound") | No | For call_completed events: filter by call direction. Requires event='call_completed'. |
| `call_lead_status` | string ("contacted" | "missed" | "removed" | "voicemail") | No | For call_completed events: filter by lead outcome. Requires event='call_completed'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
