What do you want to automate

with 302.AI and Sendspark?

Prompt, edit and deploy AI agents that connect to 302.AI, Sendspark and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Dynamic Video with the Sendspark API

Creates a new dynamic video campaign. See the documentation

 
Try it
Integrate the 302.AI API with the Sendspark API
Setup the 302.AI API trigger to run a workflow which integrates with the Sendspark API. Pipedream's integration platform allows you to integrate 302.AI and Sendspark remarkably fast. Free for developers.

Connect 302.AI

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    _302_ai: {
      type: "app",
      app: "_302_ai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.302.ai/v1/models`,
      headers: {
        Authorization: `Bearer ${this._302_ai.$auth.api_key}`,
      },
    })
  },
})

Connect Sendspark

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    sendspark: {
      type: "app",
      app: "sendspark",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.sendspark.$auth.api_url}/v1/workspaces/${this.sendspark.$auth.workspace_id}/dynamics`,
      headers: {
        "x-api-key": `${this.sendspark.$auth.api_key}`,
        "x-api-secret": `${this.sendspark.$auth.api_secret_key}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo