import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
repliq: {
type: "app",
app: "repliq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.repliq.co/v2/getCreditsCount`,
headers: {
Authorization: `Bearer ${this.repliq.$auth.api_key}`,
},
})
},
})
Retrieve the total number of credits left for the month. See the documentation
Launch a Repliq process by deploying the selected template. See the documentation
RepliQ uses API keys for authentication. When you connect your RepliQ account, Pipedream securely stores the keys so you can easily authenticate to RepliQ APIs in both code and no-code steps.