import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    krispcall: {
      type: "app",
      app: "krispcall",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.krispcall.com/api/v3/platform/pipedream/me`,
      headers: {
        "Authorization": `Bearer ${this.krispcall.$auth.api_key}`,
        "X-API-Key": `${this.krispcall.$auth.api_key}`,
      },
    })
  },
})
KrispCall uses API keys for authentication. When you connect your KrispCall account, Pipedream securely stores the keys so you can easily authenticate to KrispCall APIs in both code and no-code steps.
To retrieve your API and Secret Keys,