Pocket

Service for managing a reading list of articles and videos

Go to site
Explore
/
Apps
/
Pocket

Pocket API Integrations

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

const pocketReq = {
  method: "post",
  url: "/v3/add",
  data: {
    url: "https://pipedream.com",
    title: "What a great website!",
    access_token: auths.pocket.oauth_access_token,
  },
}
// proxy pocket request
return await require("@pipedreamhq/platform").axios(this, {
  url: "https://enkogw2a5epb176.m.pipedream.net",
  params: {
    http_respond: 1,
  },
  data: pocketReq,
})

Authentication

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

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

OAuth Request Configurations:
  1. requestToken
    POSThttps://getpocket.com/v3/oauth/requestcontent-type: application/jsonX-accept: application/json
    consumer_key={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}
  2. authorization
    GEThttps://getpocket.com/auth/authorize?request_token={{oauth.token}}&redirect_uri={{oauth.redirect_uri}}content-type: application/jsonX-accept: application/json
  3. accessToken
    POSThttps://getpocket.com/v3/oauth/authorizecontent-type: application/jsonX-accept: application/json
    consumer_key={{oauth.client_id}}&code={{oauth.code}}