If using one of the available SDKs in TypeScript, Python, or Java, the OAuth access token is automatically generated (and refreshed) for you when you initialize the client.
- Visit the API settings for your Pipedream workspace.
- Click the New OAuth Client button.
- Name your client and click Create.
- Copy the client secret. It will not be accessible again. Click Close.
- Copy the client ID from the list.
Read more in the Authentication section.
OAuth scopes
You can optionally specify ascope
parameter in the request body to limit the access token to specific operations. The scope
parameter accepts a space-separated list of scopes.
If no scope is specified, the token defaults to *
(full access).
Example request with scopes:
Scope | Description |
---|---|
* | Full access to every OAuth-protected endpoint |
connect:* | Full access to all Connect API endpoints (components, projects, triggers, accounts, etc.) |
connect:actions:* | Full access to Connect actions |
connect:triggers:* | Full access to Connect triggers |
connect:accounts:read | List and fetch Connect accounts for an external user |
connect:accounts:write | Create or remove Connect accounts |
connect:deployed_triggers:read | Read deployed triggers and related data like events, pipelines and webhooks |
connect:deployed_triggers:write | Modify or delete deployed triggers |
connect:users:read | List and fetch external users |
connect:users:write | Delete external users |
connect:tokens:create | Create Connect session tokens |
connect:proxy | Invoke the Connect proxy |
connect:workflow:invoke | Invoke Connect workflows on behalf of a user |
Body
application/json