Weworkbook is a cloud-based software service that helps training organizations increase enrollments and reduce costs.
Go to siteLet’s explore what you can do with the weworkbook API. The we workbook API makes it easy to integrate business solutions with your own applications and tools. With it you can quickly and easily access core features of our service such as task management, messaging, and analytics.
Using the weworkbook API, you can develop solutions that make work easier and more efficient by:
In addition, with the WeWorkbook API you can build:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
weworkbook: {
type: "app",
app: "weworkbook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.weworkbook.com/api/v1/courses`,
headers: {
Authorization: `Bearer ${this.weworkbook.$auth.oauth_access_token}`,
},
})
},
})
Weworkbook uses OAuth authentication. When you connect your Weworkbook account, Pipedream will open a popup window where you can sign into Weworkbook and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Weworkbook API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://api.weworkbook.com/oauth/authorize
?
client_id={{custom_fields.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.weworkbook.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.weworkbook.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}