with Billsby and Sinch?
Emit new event when a new fax is received. See the documentation
Emit new event when a new message is received. See the documentation
The Billsby API allows for automated subscription management, providing endpoints to create and manage customer accounts, subscriptions, invoices, and payments. With Pipedream, you can connect Billsby to hundreds of other services, triggering workflows based on subscription events, syncing customer data, or automating billing processes. This can lead to more efficient operations, better customer experiences, and timely data-driven decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
billsby: {
type: "app",
app: "billsby",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public.billsby.com/api/v1/rest/core/${this.billsby.$auth.company_domain}/subscriptions`,
headers: {
"ApiKey": `${this.billsby.$auth.api_key}`,
"accept": `application/json`,
},
params: {
page: `1`,
pageSize: `5`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sinch: {
type: "app",
app: "sinch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.sinch.$auth.region}.conversation.api.sinch.com/v1/projects/${this.sinch.$auth.project_id}/contacts`,
headers: {
Authorization: `Bearer ${this.sinch.$auth.oauth_access_token}`,
},
})
},
})