import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
v1ce: {
type: "app",
app: "v1ce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.v1ce.co/contact/info`,
headers: {
"accept": `application/json`,
"authorization": `${this.v1ce.$auth.api_key}`,
},
params: {
contact_id: `${this.v1ce.$auth.contact_id}`,
},
})
},
})
V1CE uses API keys for authentication. When you connect your V1CE account, Pipedream securely stores the keys so you can easily authenticate to V1CE APIs in both code and no-code steps.