Whether you are a bubbling startup or an established behemoth MNC organisation, T2M is your go to destination for all kinds of URL marketing endeavors.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
t2m_url_shortener: {
type: "app",
app: "t2m_url_shortener",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://t2mio.com/api/v1/urls`,
headers: {
"apikey": `${this.t2m_url_shortener.$auth.api_key}`,
"apisecret": `${this.t2m_url_shortener.$auth.api_secret}`,
},
})
},
})
T2M URL Shortener uses API keys for authentication. When you connect your T2M URL Shortener account, Pipedream securely stores the keys so you can easily authenticate to T2M URL Shortener APIs in both code and no-code steps.
Generate and copy your API Keys from your dashboard under the API Keys page.