> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to Sendspark

The Sendspark connector lets your AI agent act in each user's Sendspark account. Each user connects their own Sendspark API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 20 tools.

**Authentication:** API Key
**Categories:** Marketing, CRM & Sales
**Tools:** 20: 10 read, 9 write, 1 destructive
**Users sign in with:** API key
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=SENDSPARK)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Sendspark connection

   In **AgentKit > Connections**, create a Sendspark connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'sendspark'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Sendspark:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'sendspark_workspace_id_get',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "sendspark"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Sendspark:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="sendspark_workspace_id_get",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user opens the link once and enters their Sendspark credentials there. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'sendspark_campaign_transcript_get',
  toolInput: {
    campaign_id: '<campaign_id>',
    workspace_id: '<workspace_id>',
  },
  connector: 'sendspark',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="sendspark_campaign_transcript_get",
    tool_input={
        "campaign_id": "<campaign_id>",
        "workspace_id": "<workspace_id>",
    },
    connection_name="sendspark",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `sendspark_campaign_transcript_get`

Get Video Transcript · Read-only

Get the transcript of a campaign video as JSON, WebVTT or SubRip. Reading never starts a transcription and costs nothing.
Returns the transcript (JSON segments, or subtitle text for vtt/srt); 404 when it is not ready.
Use sendspark_campaign_transcript_status_get first to check it is ready.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `campaign_id` (`string`, required): Campaign (video) ID whose transcript you want. Example: 66c3d4e5f60718293a4b5c6d.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `format` (`string`, optional): Output: json (default), vtt or srt. Example: json. One of: `json`, `vtt`, `srt`.

Example input: `{"campaign_id":"<campaign_id>","workspace_id":"<workspace_id>"}`

### `sendspark_campaign_transcript_status_get`

Get Transcript Status · Read-only

Check whether a campaign video has a transcript and whether it is ready. Safe to poll; it never starts a transcription.
Returns the transcript status, or none when the video never had one.
Use this before sendspark_campaign_transcript_get.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `campaign_id` (`string`, required): Campaign (video) ID. Example: 66c3d4e5f60718293a4b5c6d.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"campaign_id":"<campaign_id>","workspace_id":"<workspace_id>"}`

### `sendspark_dynamic_campaign_get`

Get Dynamic Video Campaign · Read-only

Get one dynamic video campaign with its settings, video and prospects summary.
Returns the campaign's ID, name, status, video, page settings and prospects.
Use sendspark_dynamic_campaigns_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"campaign_id":"<campaign_id>","workspace_id":"<workspace_id>"}`

### `sendspark_dynamic_campaigns_list`

List Dynamic Video Campaigns · Read-only

List the dynamic (AI-personalized) video campaigns in a workspace, with search, sorting and paging.
Returns campaigns with ID, name, status, video settings and prospect counts.
Use this to find a campaign_id. Use sendspark_dynamic_campaign_get for one campaign.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `limit` (`integer`, optional): Campaigns to return. Example: 20.
- `offset` (`integer`, optional): Campaigns to skip for paging. Example: 0.
- `projection_type` (`string`, optional): How much detail to return. Example: DEFAULT. One of: `DEFAULT`, `DETAILED`, `MINIMAL`.
- `prospect_only` (`boolean`, optional): Only campaigns that have prospects. Example: false.
- `search` (`string`, optional): Search text on the campaign name. Example: Q4 outreach.
- `sort_order` (`string`, optional): Sort direction. Example: desc. One of: `asc`, `desc`.

Example input: `{"workspace_id":"<workspace_id>"}`

### `sendspark_dynamics_settings_get`

Get Dynamic Video Settings · Read-only

Get the workspace-wide settings for dynamic video campaigns.
Returns the dynamic video settings, such as fallback data behaviour.
Use sendspark_dynamic_campaign_settings_update to change a campaign's settings.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"workspace_id":"<workspace_id>"}`

### `sendspark_prospect_get`

Get Prospect · Read-only

Get a prospect in a dynamic video campaign by email, including their personalized video status and links.
Returns the prospect's fields, video status and share link, plus emailEmbedHTML or fields when requested.
Use this after sendspark_prospect_add to get the video link.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `contact_email` (`string`, required): Prospect's email address. Example: jane@acme.com.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `include` (`string`, optional): Comma-separated extra fields: emailEmbedHTML, fields. Example: emailEmbedHTML,fields.

Example input: `{"campaign_id":"<campaign_id>","contact_email":"<contact_email>","workspace_id":"<workspace_id>"}`

### `sendspark_webhook_get`

Get Webhook · Read-only

Get one Sendspark webhook.
Returns its ID, name, URL, module, events, identifiers and enabled state.
Use sendspark_webhooks_list to find IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`string`, required): Webhook ID from sendspark_webhooks_list. Example: 65b2c3d4e5f60718293a4b5c.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"webhook_id":"<webhook_id>","workspace_id":"<workspace_id>"}`

### `sendspark_webhooks_list`

List Webhooks · Read-only

List the webhooks in a Sendspark workspace.
Returns each webhook's ID, name, URL, module, events and enabled state.
Use this to find a webhook_id.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"workspace_id":"<workspace_id>"}`

### `sendspark_workspace_id_get`

Get Workspace ID · Read-only

Get the workspace ID that your Sendspark API key belongs to.
Returns the workspace ID.
Call this first: every other workspace tool needs workspace_id.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `sendspark_workspaces_list`

List Workspaces · Read-only

List the Sendspark workspaces the API secret's user belongs to.
Returns each workspace's ID, name and details.
Use sendspark_workspace_id_get for the API key's own workspace.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dropdown_rendering` (`boolean`, optional): Return a compact list suited to a dropdown. Example: true.

Example input: `{}`

### `sendspark_campaign_videos_generate`

Generate Campaign Videos · Write

Generate the personalized videos for the prospects already saved in a dynamic video campaign.
Returns the generation result.
Use this after saving prospects with sendspark_dynamic_campaign_update. Generating videos can use paid credits.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"campaign_id":"<campaign_id>","workspace_id":"<workspace_id>"}`

### `sendspark_dynamic_campaign_create`

Create Dynamic Video Campaign · Write

Create a dynamic video campaign. Record or set its base video in the Sendspark app, then add prospects to get one personalized video each.
Returns the new campaign with its ID.
Then add prospects with sendspark_prospect_add or sendspark_prospects_bulk_add.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): Campaign name. Example: Q4 outreach - SaaS founders.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"name":"<name>","workspace_id":"<workspace_id>"}`

### `sendspark_dynamic_campaign_settings_update`

Update Campaign Settings · Write

Update a dynamic video campaign's settings.
Returns the updated settings.
Use this to turn fallback data on or off.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `use_fallback_data` (`boolean`, required): Use fallback values when a prospect field is missing. Example: true.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"campaign_id":"<campaign_id>","use_fallback_data":true,"workspace_id":"<workspace_id>"}`

### `sendspark_dynamic_campaign_update`

Update Dynamic Video Campaign · Write

Update a dynamic video campaign's video, landing page content or prospect list.
Returns the updated campaign.
Use this to change the title, message, buttons or base video URL. Sending prospect_list with process_and_authorize_charge true processes those prospects.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `buttons` (`array`, optional): Call-to-action buttons on the landing page, each with label, link and optional position. Example: [{"position": 1, "label": "Book a call", "link": "https://cal.com/me"}]
- `calendar` (`object`, optional): Calendar embed: provider and link. Example: {"provider": "calendly", "link": "https://calendly.com/me/30min"}
- `callback_id` (`string`, optional): Your own ID echoed back in webhook events for this request. Example: crm-sync-2026-11-16.
- `fields` (`object`, optional): Campaign variable fields. Example: {"customField": "Hiring"}
- `message` (`string`, optional): Landing page message. Example: Thought this might help your team.
- `name` (`string`, optional): Campaign name. Example: Q4 outreach v2.
- `process_and_authorize_charge` (`boolean`, optional): Set true when sending prospect_list to authorize charges above your plan limit. Example: true.
- `prospect_depuration_config` (`object`, optional): Duplicate handling: forceCreation (true to create even if the email exists) and payloadDepurationStrategy (keep-first-valid or keep-last-valid). Example: {"forceCreation": false, "payloadDepurationStrategy": "keep-last-valid"}
- `prospect_list` (`array`, optional): Prospects to save and process. Prospect fields: contactEmail (required, unique per campaign), contactName, company, jobTitle, customField, backgroundUrl (page shown behind the video), and optionally webhookUrl with webhookEvents for this prospect. Example: [{"contactEmail": "jane@acme.com", "contactName": "Jane", "company": "Acme"}]
- `title` (`string`, optional): Landing page title. Example: A quick video for you.
- `video_url` (`string`, optional): URL of the base video. Example: https://sendspark.com/share/abc123.

Example input: `{"campaign_id":"<campaign_id>","workspace_id":"<workspace_id>"}`

### `sendspark_prospect_add`

Add Prospect · Write

Add one prospect to a dynamic video campaign and generate their personalized video.
Returns the prospect with its status; the video is generated asynchronously.
Use sendspark_prospect_get to read the video link later, or a webhook with video_generated_dv. Use sendspark_prospects_bulk_add for many.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `process_and_authorize_charge` (`boolean`, required): Must be true: confirms you authorize charges for videos generated above your plan limit. Sendspark rejects the request otherwise. Example: true.
- `prospect` (`object`, required): Prospect fields: contactEmail (required, unique per campaign), contactName, company, jobTitle, customField, backgroundUrl (page shown behind the video), and optionally webhookUrl with webhookEvents for this prospect. Example: {"contactEmail": "jane@acme.com", "contactName": "Jane Doe", "company": "Acme", "jobTitle": "VP Sales", "backgroundUrl": "https://acme.com"}
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `callback_id` (`string`, optional): Your own ID echoed back in webhook events for this request. Example: crm-sync-2026-11-16.
- `fallback_to_email_domain_for_background` (`boolean`, optional): Use the email domain's website as the background when backgroundUrl is missing. Example: true.
- `prospect_depuration_config` (`object`, optional): Duplicate handling: forceCreation (true to create even if the email exists) and payloadDepurationStrategy (keep-first-valid or keep-last-valid). Example: {"forceCreation": false, "payloadDepurationStrategy": "keep-last-valid"}

Example input: `{"campaign_id":"<campaign_id>","process_and_authorize_charge":true,"prospect":{"contactEmail":"jane@acme.com","contactName":"Jane Doe","company":"Acme","jobTitle":"VP Sales","backgroundUrl":"https://acme.com"},"workspace_id":"<workspace_id>"}`

### `sendspark_prospect_background_urls_update`

Update Prospect Backgrounds · Write

Set or clear every prospect's background URL from their email domain, in one campaign.
Returns the update result.
Use true to fill backgroundUrl from each email's domain, false to remove those domain-based URLs.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `extract_url_from_email` (`boolean`, required): true sets backgroundUrl from the email domain; false removes background URLs that match the email domain. Example: true.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"campaign_id":"<campaign_id>","extract_url_from_email":true,"workspace_id":"<workspace_id>"}`

### `sendspark_prospects_bulk_add`

Bulk Add Prospects · Write

Add many prospects to a dynamic video campaign and generate a video for each.
Returns the processing result for the list.
Rate-limited to 1 request per minute. Use sendspark_prospect_add for one prospect.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Dynamic video campaign ID. Get it from sendspark_dynamic_campaigns_list or the create response. Example: 64a1b2c3d4e5f60718293a4b.
- `process_and_authorize_charge` (`boolean`, required): Must be true: confirms you authorize charges for videos generated above your plan limit. Sendspark rejects the request otherwise. Example: true.
- `prospect_list` (`array`, required): Prospects to add. Prospect fields: contactEmail (required, unique per campaign), contactName, company, jobTitle, customField, backgroundUrl (page shown behind the video), and optionally webhookUrl with webhookEvents for this prospect. Example: [{"contactEmail": "jane@acme.com", "contactName": "Jane"}, {"contactEmail": "li@globex.com", "contactName": "Li"}]
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `callback_id` (`string`, optional): Your own ID echoed back in webhook events for this request. Example: crm-sync-2026-11-16.
- `prospect_depuration_config` (`object`, optional): Duplicate handling: forceCreation (true to create even if the email exists) and payloadDepurationStrategy (keep-first-valid or keep-last-valid). Example: {"forceCreation": false, "payloadDepurationStrategy": "keep-last-valid"}

Example input: `{"campaign_id":"<campaign_id>","process_and_authorize_charge":true,"prospect_list":[{"contactEmail":"jane@acme.com","contactName":"Jane"},{"contactEmail":"li@globex.com","contactName":"Li"}],"workspace_id":"<workspace_id>"}`

### `sendspark_webhook_create`

Create Webhook · Write

Create a webhook that POSTs Sendspark video events (views, plays, CTA clicks, dynamic video generated, MP4 ready) to your URL.
Returns the new webhook with its ID.
Use module dynamics for dynamic video campaigns.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `module` (`string`, required): Scope: global (all videos) or dynamics (dynamic video campaigns). Example: dynamics. One of: `global`, `dynamics`.
- `name` (`string`, required): Webhook name. Example: Production Webhook.
- `url` (`string`, required): HTTPS URL that receives the event POSTs. Example: https://example.com/webhook.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `description` (`string`, optional): Webhook description. Example: Webhook for production environment.
- `events` (`array`, optional): Events to send. Leave out for all. Values: video_watched, video_played, video_cta_clicked, video_viewed, video_liked, video_request_received, video_generated_dv, video_mp4_ready, video_generated_error. Example: ["video_generated_dv", "video_watched"]
- `extra_headers` (`array`, optional): Header names to include in deliveries. Example: ["Authorization"]
- `identifiers` (`array`, optional): Limit the webhook to these campaign or video IDs. Example: ["64a1b2c3d4e5f60718293a4b"]

Example input: `{"module":"global","name":"<name>","url":"<url>","workspace_id":"<workspace_id>"}`

### `sendspark_webhook_update`

Update Webhook · Write

Update a Sendspark webhook's name, URL, events or scope, or turn it on or off.
Returns the updated webhook.
Fields you leave out stay unchanged.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `webhook_id` (`string`, required): Webhook ID from sendspark_webhooks_list. Example: 65b2c3d4e5f60718293a4b5c.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.
- `description` (`string`, optional): Webhook description. Example: Webhook for production environment.
- `enabled` (`boolean`, optional): Turn the webhook on or off. Example: false.
- `events` (`array`, optional): Events to send. Leave out for all. Values: video_watched, video_played, video_cta_clicked, video_viewed, video_liked, video_request_received, video_generated_dv, video_mp4_ready, video_generated_error. Example: ["video_generated_dv", "video_watched"]
- `extra_headers` (`array`, optional): Header names to include in deliveries. Example: ["Authorization"]
- `identifiers` (`array`, optional): Limit the webhook to these campaign or video IDs. Example: ["64a1b2c3d4e5f60718293a4b"]
- `module` (`string`, optional): Scope: global (all videos) or dynamics (dynamic video campaigns). Example: dynamics. One of: `global`, `dynamics`.
- `name` (`string`, optional): Webhook name. Example: Production Webhook.
- `url` (`string`, optional): HTTPS URL that receives the event POSTs. Example: https://example.com/webhook.

Example input: `{"webhook_id":"<webhook_id>","workspace_id":"<workspace_id>"}`

### `sendspark_webhook_delete`

Delete Webhook · Destructive

Delete a Sendspark webhook.
Returns the deletion result.
Use sendspark_webhook_update with enabled false to pause it instead.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `webhook_id` (`string`, required): Webhook ID from sendspark_webhooks_list. Example: 65b2c3d4e5f60718293a4b5c.
- `workspace_id` (`string`, required): Sendspark workspace ID. Get it from sendspark_workspace_id_get (the workspace of your API key) or sendspark_workspaces_list. Example: 63f6a4145a5e755e2e8fe19d.

Example input: `{"webhook_id":"<webhook_id>","workspace_id":"<workspace_id>"}`

## Related

Other Marketing connectors ([all 190](/agentkit/connectors/?category=marketing)):

- [HubSpot](/agentkit/connectors/hubspot/): Scalekit connector, OAuth, 457 tools
- [Mailchimp](/agentkit/connectors/mailchimp/): Scalekit connector, OAuth, 73 tools
- [Twitter / X](/agentkit/connectors/twitteroauth/): Scalekit connector, OAuth, 92 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
