with Mocean API and Nextdoor Ads?
Emit new event when the account balance has been updated. See the documentation
Creates an ad based on the input payload for an existing NAM ad group. See the documentation
Retrieve your current account balance with Mocean API. See the documentation
Creates an ad group based on the input payload for an existing campaign. See the documentation
Send an outbound SMS from your Mocean account. See the documentation
Creates an advertiser that is tied to the NAM profile the API credentials are tied to. See the documentation
The Mocean API provides tools for sending SMS and making voice calls, enabling you to integrate communication features into your applications or workflows seamlessly. With MoceanAPI on Pipedream, you can automate sending notifications, create alert systems, or even implement two-factor authentication (2FA). It interacts with other apps and services to craft powerful, event-driven automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mocean_api: {
type: "app",
app: "mocean_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.moceanapi.com/rest/2/account/balance`,
params: {
"mocean-api-key": `${this.mocean_api.$auth.api_key}`,
"mocean-api-secret": `${this.mocean_api.$auth.api_secret}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextdoor: {
type: "app",
app: "nextdoor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ads.nextdoor.com/v2/api/me`,
headers: {
Authorization: `Bearer ${this.nextdoor.$auth.authorization_token}`,
},
})
},
})