With the Shortcut (formerly Clubhouse.io) API, developers can create various applications that tap into the power of Shortcut. Here are just a few examples of what can be built using the Shortcut API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shortcut: {
type: "app",
app: "shortcut",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.clubhouse.io/api/v3/member`,
headers: {
Authorization: `Bearer ${this.shortcut.$auth.api_key}`,
"Clubhouse-Token": `${this.shortcut.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
Creates a new story in your Shortcut account. See Create Story in Shortcut Rest API, V3 reference for endpoint documentation.
Searches for stories in your Shortcut account.
Shortcut (formerly Clubhouse.io) uses API keys for authentication. When you connect your Shortcut (formerly Clubhouse.io) account, Pipedream securely stores the keys so you can easily authenticate to Shortcut (formerly Clubhouse.io) APIs in both code and no-code steps.
The Clubhouse API uses token-based authentication. To generate an API token, go to Settings > Account > API Tokens.