import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
thoughtly: {
type: "app",
app: "thoughtly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.thought.ly/user`,
headers: {
"accept": `application/json`,
" x-api-token": `${this.thoughtly.$auth.api_token}`,
},
})
},
})
Generates a new contact within your Thoughtly team. See the documentation
Thoughtly uses API keys for authentication. When you connect your Thoughtly account, Pipedream securely stores the keys so you can easily authenticate to Thoughtly APIs in both code and no-code steps.
To retrieve your API Token,