> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Smartlead: Update Campaign Schedule

> Set a Smartlead campaign's sending days, hours, timezone and gaps between emails. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Set a Smartlead campaign's sending days, hours, timezone and gaps between emails.

> [!NOTE]
>
> Tool ID: `smartlead_update_campaign_schedule`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe smartlead_update_campaign_schedule --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe smartlead_update_campaign_schedule --json` for the complete live contract.

## Input reference

Smartlead campaign schedule input with campaign id.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.campaign_id` | `string \| integer` | Yes | — | Smartlead campaign identifier (number or positive numeric string). |
| `payload.timezone` | `string` | Yes | — | IANA time zone used for the campaign schedule. Minimum length: 1. |
| `payload.days_of_the_week` | `array` | Yes | — | Day numbers for campaign send schedule (0=Sun, 6=Sat). Minimum items: 1. |
| `payload.start_hour` | `string` | Yes | — | Start hour in HH:MM format. Pattern: `^([01]\d\|2[0-3]):[0-5]\d$`. |
| `payload.end_hour` | `string` | Yes | — | End hour in HH:MM format. Pattern: `^([01]\d\|2[0-3]):[0-5]\d$`. |
| `payload.min_time_btw_emails` | `integer` | No | — | Minimum minutes between campaign emails. Minimum: 1. |
| `payload.min_time_btwn_emails` | `integer` | No | — | Legacy alias for min\_time\_btw\_emails. Minimum: 1. |
| `payload.max_new_leads_per_day` | `integer` | Yes | — | Maximum new leads accepted per day. Required by the live Smartlead API. Minimum: 1. |
| `payload.schedule_start_time` | `string` | No | — | ISO schedule start time. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Smartlead campaign schedule input with campaign id.",
    "properties": {
      "campaign_id": {
        "description": "Smartlead campaign identifier (number or positive numeric string).",
        "anyOf": [
          {
            "type": "string",
            "description": "Smartlead campaign identifier (number or positive numeric string).",
            "minLength": 1,
            "pattern": "^\\d+$"
          },
          {
            "type": "integer",
            "description": "Smartlead campaign identifier (number or positive numeric string).",
            "minimum": 1
          }
        ]
      },
      "timezone": {
        "type": "string",
        "description": "IANA time zone used for the campaign schedule.",
        "minLength": 1
      },
      "days_of_the_week": {
        "type": "array",
        "description": "Day numbers for campaign send schedule (0=Sun, 6=Sat).",
        "minItems": 1,
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 6
        }
      },
      "start_hour": {
        "type": "string",
        "description": "Start hour in HH:MM format.",
        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
      },
      "end_hour": {
        "type": "string",
        "description": "End hour in HH:MM format.",
        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
      },
      "min_time_btw_emails": {
        "type": "integer",
        "description": "Minimum minutes between campaign emails.",
        "minimum": 1
      },
      "min_time_btwn_emails": {
        "type": "integer",
        "description": "Legacy alias for min_time_btw_emails.",
        "minimum": 1
      },
      "max_new_leads_per_day": {
        "type": "integer",
        "description": "Maximum new leads accepted per day. Required by the live Smartlead API.",
        "minimum": 1
      },
      "schedule_start_time": {
        "type": "string",
        "description": "ISO schedule start time."
      }
    },
    "required": [
      "campaign_id",
      "timezone",
      "days_of_the_week",
      "start_hour",
      "end_hour",
      "max_new_leads_per_day"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Raw Smartlead campaign schedule payload.

The static output schema is not available. Run `deepline describe smartlead_update_campaign_schedule --json` for the live contract.

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "description": "Raw Smartlead campaign schedule payload."
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.