import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
specific: {
type: "app",
app: "specific",
}
},
async run({steps, $}) {
const data = {"query": "query { companies { id name } }"}
return await axios($, {
method: "post",
url: `https://public-api.specific.app/graphql`,
headers: {
"Authorization": `${this.specific.$auth.api_key}`,
},
data,
})
},
})
Modify an existing contact's details or create a new one if the specified contact does not exist. See the documentation
Specific uses API keys for authentication. When you connect your Specific account, Pipedream securely stores the keys so you can easily authenticate to Specific APIs in both code and no-code steps.