with Aircall and CallerAPI?
Retrieve detailed information about a specific phone number, including name, location, and carrier. See the documentation
Retrieve the profile picture associated with a phone number. See the documentation
The Aircall API allows you to harness telephony features within your applications, enabling you to manage calls, contacts, users, and more programmatically. With Pipedream's capability to leverage this API, you can automate call logging, synchronize contact information across platforms, dynamically route calls based on business logic, and generate analytics and reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aircall: {
type: "app",
app: "aircall",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.aircall.io/v1/integrations/me`,
headers: {
Authorization: `Bearer ${this.aircall.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
callerapi: {
type: "app",
app: "callerapi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://callerapi.com/api/me`,
headers: {
"x-auth": `${this.callerapi.$auth.api_key}`,
},
})
},
})