import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
connecteam: {
type: "app",
app: "connecteam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.connecteam.com/me`,
headers: {
"X-API-KEY": `${this.connecteam.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Creates a new shift in the scheduler. See the documentation
Creates a new user profile in Connecteam. See the documentation
Removes a specific shift based on shift ID. See the documentation
Connecteam uses API keys for authentication. When you connect your Connecteam account, Pipedream securely stores the keys so you can easily authenticate to Connecteam APIs in both code and no-code steps.