bexio

Business software for small businesses, startups and self-employed individuals

Go to site

bexio API Integrations

Build and run workflows using the bexio API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

You can use the bexio API to build a wide variety of applications and integrations. Some examples include:

  • An accounting application that automatically pulls in invoices and bills from bexio
  • A CRM integration that lets you keep track of your customers' bexio activity
  • A project management tool that gives you visibility into your team's bexio activity
  • An e-commerce platform that integrates with bexio's inventory and order management features
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    bexio: {
      type: "app",
      app: "bexio",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://office.bexio.com/api2.php/${this.bexio.$auth.oauth_uid}/company_profile`,
      headers: {
        Authorization: `Bearer ${this.bexio.$auth.oauth_access_token}`,
        "Accept": `application/json`,
      },
    })
  },
})

Authentication

bexio uses OAuth authentication. When you connect your bexio account, Pipedream will open a popup window where you can sign into bexio and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any bexio API.

Pipedream requests the following authorization scopes when you connect your account:

article_showarticle_editcontact_showcontact_editkb_invoice_showkb_invoice_editkb_offer_showkb_offer_editkb_order_showkb_order_editmonitoring_showmonitoring_editproject_showproject_editnote_shownote_edittask_showtask_edit
OAuth Request Configurations:
  1. authorization
    GEThttps://office.bexio.com/oauth/authorize?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&scope={{oauth.space_separated_scopes}}
  2. accessToken
    POSThttps://office.bexio.com/oauth/access_tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&code={{oauth.code}}
  3. refreshToken
    POSThttps://office.bexio.com/oauth/refresh_tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&refresh_token={{oauth.refresh_token}}