The ToneDen API offers a suite of music marketing tools that enables you to automate interactions with social media platforms, music services, and advertising campaigns. With Pipedream, you can stitch together these capabilities to create powerful automated workflows. This might include posting to social media, managing your advertising efforts, or analyzing your audience across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
toneden: {
type: "app",
app: "toneden",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.toneden.io/api/v1/users/me`,
headers: {
Authorization: `Bearer ${this.toneden.$auth.oauth_access_token}`,
},
})
},
})
Automated Social Media Engagement: Trigger a Pipedream workflow whenever your music or brand is mentioned on social media platforms. Use the ToneDen API to respond automatically or aggregate mentions for analysis.
Advertising Campaign Management: Set up a workflow to monitor your ToneDen advertising campaigns' performance. Trigger alerts or actions based on real-time data such as impressions, click-through rates, or budget thresholds.
Audience Analysis Reports: Schedule a daily or weekly Pipedream workflow to fetch audience insights from ToneDen. Compile these into a report and send it to your email or Slack to keep track of your audience growth and engagement trends.
ToneDen uses OAuth authentication. When you connect your ToneDen account, Pipedream will open a popup window where you can sign into ToneDen and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any ToneDen API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://www.toneden.io/auth/oauth2/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://www.toneden.io/auth/oauth2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}