Threads is a modern forum for work where focused discussions and decisions take place.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
threads: {
type: "app",
app: "threads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://threads.com/api/public/ping`,
headers: {
Authorization: `Bearer ${this.threads.$auth.api_key}`,
},
})
},
})
Threads uses API keys for authentication. When you connect your Threads account, Pipedream securely stores the keys so you can easily authenticate to Threads APIs in both code and no-code steps.
Visit your Integrations settings in your Threads account, and create a new API key in the API Keys section.