Sales CRM and pipeline management software for modern collaborative sales teams. Visualise your sales forecast and enjoy the most advanced smart sales reports.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tubular: {
type: "app",
app: "tubular",
}
},
async run({steps, $}) {
const data = {
"query": `{viewer{id fullName}}`,
}
return await axios($, {
method: "post",
url: `https://api.tubular.io/graphql`,
headers: {
"Authorization": `${this.tubular.$auth.api_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Tubular uses API keys for authentication. When you connect your Tubular account, Pipedream securely stores the keys so you can easily authenticate to Tubular APIs in both code and no-code steps.
To retrieve your API token,