pCloud

Secure encrypted cloud storage

Go to site
Explore
/
Apps
/
pCloud

pCloud API Integrations

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

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: {
    pcloud: {
      type: "app",
      app: "pcloud",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.pcloud.$auth.hostname}/userinfo`,
      headers: {
        Authorization: `Bearer ${this.pcloud.$auth.oauth_access_token}`,
      },
    })
  },
})
Copy File with pCloud API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + pCloud
 
Try it
Send Message (Advanced) with Discord Webhook API on Watch Folder from pCloud API
pCloud + Discord Webhook
 
Try it
Copy File with pCloud API on New Message from Discord API
Discord + pCloud
 
Try it
List Contents with pCloud API on New Message in Channel from Discord Bot API
Discord Bot + pCloud
 
Try it
Copy File with pCloud API on New Submission from Typeform API
Typeform + pCloud
 
Try it
Watch Folder from the pCloud API

Emit new event when a file is created or modified in the specified folder.

 
Try it
Copy File with the pCloud API

Copy a file to the specified destination. See the docs here

 
Try it
Copy Folder with the pCloud API

Copy a folder to the specified folder. See the docs here

 
Try it
Create Folder with the pCloud API

Create a folder in the specified folder. See the docs here

 
Try it
Download File(s) with the pCloud API

Download one or more files to a folder. See the docs here

 
Try it
List Contents with the pCloud API

Get the contents of the specified folder. See the docs here

 
Try it

Authentication

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

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

OAuth Request Configurations:
  1. authorization
    GEThttps://my.pcloud.com/oauth2/authorize?client_id={{custom_fields.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}&permissions=manageshares
  2. accessToken
    POSThttps://{{custom_fields.hostname}}/oauth2_tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}&code={{oauth.code}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code