We help people from all around the world to build chatbots and conversational apps.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tiledesk: {
type: "app",
app: "tiledesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tiledesk.com/v3/users`,
headers: {
"Authorization": `${this.tiledesk.$auth.token}`,
},
})
},
})
Tiledesk uses OAuth authentication. When you connect your Tiledesk account, Pipedream will open a popup window where you can sign into Tiledesk and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Tiledesk API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://api.tiledesk.com/v3/auth/signin
accept: application/json
email={{custom_fields.email}}
&
password={{custom_fields.password}}
POST
https://api.tiledesk.com/v3/auth/signin
accept: application/json
email={{custom_fields.email}}
&
password={{custom_fields.password}}