awork

Your smart digital assistant

Go to site

awork API Integrations

Build and run workflows using the awork 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

The awork API allows developers to access awork.io content and build applications on top of the awork platform. With the awork API, you can:

  • Access awork.io content, including articles, photos, and videos
  • Build applications on top of the awork platform
  • Integrate awork.io content into your own website or application
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    awork: {
      type: "app",
      app: "awork",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.awork.io/api/v1/me`,
      headers: {
        Authorization: `Bearer ${this.awork.$auth.oauth_access_token}`,
      },
    })
  },
})
Create Client with awork API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + awork
 
Try it
Send Message (Advanced) with Discord Webhook API on New Task (Instant) from awork API
awork + Discord Webhook
 
Try it
Create Client with awork API on New Message in Channel from Discord Bot API
Discord Bot + awork
 
Try it
Create Client with awork API on New Submission from Typeform API
Typeform + awork
 
Try it
Create Client with awork API on Custom Events from Zoom API
Zoom + awork
 
Try it
New Task (Instant) from the awork API

Emit new event on each created task.

 
Try it
New Time Entry (Instant) from the awork API

Emit new event on each created time entry.

 
Try it
New Updated Time Entry (Instant) from the awork API

Emit new event on each updated time entry.

 
Try it
Create Client with the awork API

Creates a client. See docs here

 
Try it
Create Project with the awork API

Creates a project. See docs here

 
Try it
Find Users By Email with the awork API

Finds a user by email. See docs here

 
Try it

Authentication

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

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

offline_access
OAuth Request Configurations:
  1. authorization
    GEThttps://api.awork.io/api/v1/accounts/authorize?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}
  2. accessToken
    POSThttps://api.awork.io/api/v1/accounts/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}
  3. refreshToken
    POSThttps://api.awork.io/api/v1/accounts/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}