client.appCategories.list() -> List<AppCategory>
-
-
-
Retrieve all available categories for integrated apps
-
-
-
client.appCategories().list();
-
-
client.appCategories.retrieve(id) -> AppCategory
-
-
-
Get details of a specific app category by its ID
-
-
-
client.appCategories().retrieve("id");
-
-
-
id:
Stringβ The ID of the app category to retrieve
-
-
client.apps.list() -> SyncPagingIterable<App>
-
-
-
Retrieve all available apps with optional filtering and sorting
-
-
-
client.apps().list( AppsListRequest .builder() .categoryIds( Arrays.asList("category_ids") ) .after("after") .before("before") .limit(1) .q("q") .sortKey(AppsListRequestSortKey.NAME) .sortDirection(AppsListRequestSortDirection.ASC) .hasComponents(true) .hasActions(true) .hasTriggers(true) .build() );
-
-
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
q:
Optional<String>β A search query to filter the apps
-
sortKey:
Optional<AppsListRequestSortKey>β The key to sort the apps by
-
sortDirection:
Optional<AppsListRequestSortDirection>β The direction to sort the apps
-
categoryIds:
Optional<String>β Only return apps in these categories
-
hasComponents:
Optional<Boolean>β Only return apps that have components (actions or triggers)
-
hasActions:
Optional<Boolean>β Only return apps that have actions
-
hasTriggers:
Optional<Boolean>β Only return apps that have triggers
-
-
client.apps.retrieve(appId) -> GetAppResponse
-
-
-
Get detailed information about a specific app by ID or name slug
-
-
-
client.apps().retrieve("app_id");
-
-
-
appId:
Stringβ The name slug or ID of the app (e.g., 'slack', 'github')
-
-
client.accounts.list(projectId) -> SyncPagingIterable<Account>
-
-
-
Retrieve all connected accounts for the project with optional filtering
-
-
-
client.accounts().list( AccountsListRequest .builder() .externalUserId("external_user_id") .oauthAppId("oauth_app_id") .after("after") .before("before") .limit(1) .app("app") .includeCredentials(true) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
externalUserId:
Optional<String>
-
oauthAppId:
Optional<String>β The OAuth app ID to filter by, if applicable
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
app:
Optional<String>β The app slug or ID to filter accounts by.
-
includeCredentials:
Optional<Boolean>β Whether to retrieve the account's credentials or not
-
-
client.accounts.create(projectId, request) -> Account
-
-
-
Connect a new account for an external user in the project
-
-
-
client.accounts().create( CreateAccountOpts .builder() .appSlug("app_slug") .cfmapJson("cfmap_json") .connectToken("connect_token") .externalUserId("external_user_id") .oauthAppId("oauth_app_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
externalUserId:
Optional<String>
-
oauthAppId:
Optional<String>β The OAuth app ID to filter by, if applicable
-
appSlug:
Stringβ The app slug for the account
-
cfmapJson:
Stringβ JSON string containing the custom fields mapping
-
connectToken:
Stringβ The connect token for authentication
-
name:
Optional<String>β Optional name for the account
-
accountId:
Optional<String>β An existing account ID to reconnect. When provided, the account's credentials are updated instead of creating a new account. Must belong to the same external user and project environment as the connect token, and match the app identified by app_slug.
-
-
client.accounts.retrieve(projectId, accountId) -> Account
-
-
-
Get the details for a specific connected account
-
-
-
client.accounts().retrieve( "account_id", AccountsRetrieveRequest .builder() .includeCredentials(true) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
accountId:
String
-
includeCredentials:
Optional<Boolean>β Whether to retrieve the account's credentials or not
-
-
client.accounts.delete(projectId, accountId)
-
-
-
Remove a connected account and its associated credentials
-
-
-
client.accounts().delete("account_id");
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
accountId:
String
-
-
client.accounts.deleteByApp(projectId, appId)
-
-
-
Remove all connected accounts for a specific app
-
-
-
client.accounts().deleteByApp("app_id");
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
appId:
String
-
-
client.accounts.listByExternalUser(projectId, externalUserId) -> List<Account>
-
-
-
List all connected accounts for a specific external user. Equivalent to GET /accounts with external_user_id filter but uses path-based routing.
-
-
-
client.accounts().listByExternalUser( "external_user_id", AccountsListByExternalUserRequest .builder() .includeCredentials(true) .app("app") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
externalUserId:
String
-
includeCredentials:
Optional<Boolean>
-
app:
Optional<String>
-
-
client.users.deleteExternalUser(projectId, externalUserId)
-
-
-
Remove an external user and all their associated accounts and resources
-
-
-
client.users().deleteExternalUser("external_user_id");
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
externalUserId:
String
-
-
client.users.list(projectId) -> SyncPagingIterable<ExternalUser>
-
-
-
Retrieve all external users for the project
-
-
-
client.users().list( UsersListRequest .builder() .after("after") .before("before") .limit(1) .q("q") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
q:
Optional<String>β Filter users by external_id (partial match)
-
-
client.components.list(projectId) -> SyncPagingIterable<Component>
-
-
-
Retrieve available components with optional search and app filtering
-
-
-
client.components().list( ComponentsListRequest .builder() .after("after") .before("before") .limit(1) .q("q") .app("app") .registry(ComponentsListRequestRegistry.PUBLIC) .componentType(ComponentType.TRIGGER) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
q:
Optional<String>β A search query to filter the components
-
app:
Optional<String>β The ID or name slug of the app to filter the components
-
registry:
Optional<ComponentsListRequestRegistry>β The registry to retrieve components from. Defaults to 'all' ('public', 'private', or 'all')
-
componentType:
Optional<ComponentType>β The type of the component to filter the components
-
-
client.components.retrieve(projectId, componentId) -> GetComponentResponse
-
-
-
Get detailed configuration for a specific component by its key
-
-
-
client.components().retrieve( "component_id", ComponentsRetrieveRequest .builder() .version("1.2.3") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
componentId:
Stringβ The key that uniquely identifies the component (e.g., 'slack-send-message')
-
version:
Optional<String>β Optional semantic version of the component to retrieve (for example '1.0.0')
-
-
client.components.configureProp(projectId, request) -> ConfigurePropResponse
-
-
-
Retrieve remote options for a given prop for a component
-
-
-
client.components().configureProp( ConfigurePropOpts .builder() .id("id") .externalUserId("external_user_id") .propName("prop_name") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
request:
ConfigurePropOpts
-
-
client.components.reloadProps(projectId, request) -> ReloadPropsResponse
-
-
-
Reload the prop definition based on the currently configured props
-
-
-
client.components().reloadProps( ReloadPropsOpts .builder() .id("id") .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
request:
ReloadPropsOpts
-
-
client.actions.list(projectId) -> SyncPagingIterable<Component>
-
-
-
Retrieve available actions with optional search and app filtering
-
-
-
client.actions().list( ActionsListRequest .builder() .after("after") .before("before") .limit(1) .q("q") .app("app") .registry(ActionsListRequestRegistry.PUBLIC) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
q:
Optional<String>β A search query to filter the actions
-
app:
Optional<String>β The ID or name slug of the app to filter the actions
-
registry:
Optional<ActionsListRequestRegistry>β The registry to retrieve actions from. Defaults to 'all' ('public', 'private', or 'all')
-
-
client.actions.retrieve(projectId, componentId) -> GetComponentResponse
-
-
-
Get detailed configuration for a specific action by its key
-
-
-
client.actions().retrieve( "component_id", ActionsRetrieveRequest .builder() .version("1.2.3") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
componentId:
Stringβ The key that uniquely identifies the component (e.g., 'slack-send-message')
-
version:
Optional<String>β Optional semantic version of the component to retrieve (for example '1.0.0')
-
-
client.actions.configureProp(projectId, request) -> ConfigurePropResponse
-
-
-
Retrieve remote options for a given prop for a action
-
-
-
client.actions().configureProp( ConfigurePropOpts .builder() .id("id") .externalUserId("external_user_id") .propName("prop_name") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
request:
ConfigurePropOpts
-
-
client.actions.reloadProps(projectId, request) -> ReloadPropsResponse
-
-
-
Reload the prop definition based on the currently configured props
-
-
-
client.actions().reloadProps( ReloadPropsOpts .builder() .id("id") .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
request:
ReloadPropsOpts
-
-
client.actions.run(projectId, request) -> RunActionResponse
-
-
-
Execute an action with the provided configuration and return results
-
-
-
client.actions().run( RunActionOpts .builder() .id("id") .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
id:
Stringβ The action component ID
-
version:
Optional<String>β Optional action component version (in SemVer format, for example '1.0.0'), defaults to latest
-
externalUserId:
Stringβ The external user ID
-
configuredProps:
Optional<Map<String, ConfiguredPropValue>>
-
dynamicPropsId:
Optional<String>β The ID for dynamic props
-
stashId:
Optional<RunActionOptsStashId>
-
-
client.triggers.list(projectId) -> SyncPagingIterable<Component>
-
-
-
Retrieve available triggers with optional search and app filtering
-
-
-
client.triggers().list( TriggersListRequest .builder() .after("after") .before("before") .limit(1) .q("q") .app("app") .registry(TriggersListRequestRegistry.PUBLIC) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
q:
Optional<String>β A search query to filter the triggers
-
app:
Optional<String>β The ID or name slug of the app to filter the triggers
-
registry:
Optional<TriggersListRequestRegistry>β The registry to retrieve triggers from. Defaults to 'all' ('public', 'private', or 'all')
-
-
client.triggers.retrieve(projectId, componentId) -> GetComponentResponse
-
-
-
Get detailed configuration for a specific trigger by its key
-
-
-
client.triggers().retrieve( "component_id", TriggersRetrieveRequest .builder() .version("1.2.3") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
componentId:
Stringβ The key that uniquely identifies the component (e.g., 'slack-send-message')
-
version:
Optional<String>β Optional semantic version of the component to retrieve (for example '1.0.0')
-
-
client.triggers.configureProp(projectId, request) -> ConfigurePropResponse
-
-
-
Retrieve remote options for a given prop for a trigger
-
-
-
client.triggers().configureProp( ConfigurePropOpts .builder() .id("id") .externalUserId("external_user_id") .propName("prop_name") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
request:
ConfigurePropOpts
-
-
client.triggers.reloadProps(projectId, request) -> ReloadPropsResponse
-
-
-
Reload the prop definition based on the currently configured props
-
-
-
client.triggers().reloadProps( ReloadPropsOpts .builder() .id("id") .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
request:
ReloadPropsOpts
-
-
client.triggers.deploy(projectId, request) -> DeployTriggerResponse
-
-
-
Deploy a trigger to listen for and emit events
-
-
-
client.triggers().deploy( DeployTriggerOpts .builder() .id("id") .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
id:
Stringβ The trigger component ID
-
version:
Optional<String>β Optional trigger component version (in SemVer format, for example '1.0.0'), defaults to latest
-
externalUserId:
Stringβ The external user ID
-
configuredProps:
Optional<Map<String, ConfiguredPropValue>>
-
dynamicPropsId:
Optional<String>β The ID for dynamic props
-
workflowId:
Optional<String>β Optional ID of a workflow to receive trigger events
-
webhookUrl:
Optional<String>β Optional webhook URL to receive trigger events
-
emitOnDeploy:
Optional<Boolean>β Whether the trigger should emit events during the deploy hook execution. Defaults to true if not specified.
-
-
client.deployedTriggers.list(projectId) -> SyncPagingIterable<Emitter>
-
-
-
Retrieve all deployed triggers for a specific external user
-
-
-
client.deployedTriggers().list( DeployedTriggersListRequest .builder() .externalUserId("external_user_id") .after("after") .before("before") .limit(1) .emitterType(EmitterType.EMAIL) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
externalUserId:
Stringβ Your end user ID, for whom you deployed the trigger
-
emitterType:
Optional<EmitterType>β Filter deployed triggers by emitter type (defaults to 'source' if not provided)
-
-
client.deployedTriggers.retrieve(projectId, triggerId) -> GetTriggerResponse
-
-
-
Get details of a specific deployed trigger by its ID
-
-
-
client.deployedTriggers().retrieve( "trigger_id", DeployedTriggersRetrieveRequest .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ Your end user ID, for whom you deployed the trigger
-
-
client.deployedTriggers.update(projectId, triggerId, request) -> GetTriggerResponse
-
-
-
Modify the configuration of a deployed trigger, including active status
-
-
-
client.deployedTriggers().update( "trigger_id", UpdateTriggerOpts .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
active:
Optional<Boolean>β Whether the trigger should be active
-
configuredProps:
Optional<Map<String, ConfiguredPropValue>>
-
name:
Optional<String>β The name of the trigger
-
emitOnDeploy:
Optional<Boolean>β Whether the trigger should emit events during deployment
-
-
client.deployedTriggers.delete(projectId, triggerId)
-
-
-
Remove a deployed trigger and stop receiving events
-
-
-
client.deployedTriggers().delete( "trigger_id", DeployedTriggersDeleteRequest .builder() .externalUserId("external_user_id") .ignoreHookErrors(true) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
ignoreHookErrors:
Optional<Boolean>β Whether to ignore errors during deactivation hook
-
-
client.deployedTriggers.listEvents(projectId, triggerId) -> GetTriggerEventsResponse
-
-
-
Retrieve recent events emitted by a deployed trigger
-
-
-
client.deployedTriggers().listEvents( "trigger_id", DeployedTriggersListEventsRequest .builder() .externalUserId("external_user_id") .n(1) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ Your end user ID, for whom you deployed the trigger
-
n:
Optional<Integer>β The number of events to retrieve (defaults to 20 if not provided)
-
-
client.deployedTriggers.listWorkflows(projectId, triggerId) -> GetTriggerWorkflowsResponse
-
-
-
Get workflows connected to receive events from this trigger
-
-
-
client.deployedTriggers().listWorkflows( "trigger_id", DeployedTriggersListWorkflowsRequest .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
-
client.deployedTriggers.updateWorkflows(projectId, triggerId, request) -> GetTriggerWorkflowsResponse
-
-
-
Connect or disconnect workflows to receive trigger events
-
-
-
client.deployedTriggers().updateWorkflows( "trigger_id", UpdateTriggerWorkflowsOpts .builder() .externalUserId("external_user_id") .workflowIds( Arrays.asList("workflow_ids") ) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
workflowIds:
List<String>β Array of workflow IDs to set
-
-
client.deployedTriggers.listWebhooks(projectId, triggerId) -> GetTriggerWebhooksResponse
-
-
-
Get webhook URLs configured to receive trigger events
-
-
-
client.deployedTriggers().listWebhooks( "trigger_id", DeployedTriggersListWebhooksRequest .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
-
client.deployedTriggers.updateWebhooks(projectId, triggerId, request) -> GetTriggerWebhooksResponse
-
-
-
Configure webhook URLs to receive trigger events.
signing_keyis only returned for OAuth-authenticated requests.
-
-
-
client.deployedTriggers().updateWebhooks( "trigger_id", UpdateTriggerWebhooksOpts .builder() .externalUserId("external_user_id") .webhookUrls( Arrays.asList("webhook_urls") ) .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
webhookUrls:
List<String>β Array of webhook URLs to set
-
-
client.deployedTriggers.retrieveWebhook(projectId, triggerId, webhookId) -> GetWebhookWithSigningKeyResponse
-
-
-
Retrieve a specific webhook for a deployed trigger, including its signing key
-
-
-
client.deployedTriggers().retrieveWebhook( "trigger_id", "webhook_id", DeployedTriggersRetrieveWebhookRequest .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
webhookId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
-
client.deployedTriggers.regenerateWebhookSigningKey(projectId, triggerId, webhookId) -> GetWebhookWithSigningKeyResponse
-
-
-
Regenerate the signing key for a specific webhook on a deployed trigger
-
-
-
client.deployedTriggers().regenerateWebhookSigningKey( "trigger_id", "webhook_id", DeployedTriggersRegenerateWebhookSigningKeyRequest .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
triggerId:
String
-
webhookId:
String
-
externalUserId:
Stringβ The external user ID who owns the trigger
-
-
client.projectEnvironment.retrieveWebhook(projectId) -> GetWebhookResponse
-
-
-
Retrieve the webhook configured for a project environment
-
-
-
client.projectEnvironment().retrieveWebhook();
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
-
client.projectEnvironment.updateWebhook(projectId, request) -> SetWebhookResponse
-
-
-
Create or update the webhook URL for a project environment. Creating a webhook returns
signing_key; updating an existing webhook does not.
-
-
-
client.projectEnvironment().updateWebhook( SetWebhookOpts .builder() .url("url") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
url:
Stringβ The webhook URL to set
-
-
client.projectEnvironment.deleteWebhook(projectId)
-
-
-
Remove the webhook configured for a project environment
-
-
-
client.projectEnvironment().deleteWebhook();
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
-
client.projectEnvironment.regenerateWebhookSigningKey(projectId) -> GetWebhookWithSigningKeyResponse
-
-
-
Regenerate the signing key for the project environment webhook
-
-
-
client.projectEnvironment().regenerateWebhookSigningKey();
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
-
client.projects.list() -> SyncPagingIterable<Project>
-
-
-
List the projects that are available to the authenticated Connect client
-
-
-
client.projects().list( ProjectsListRequest .builder() .after("after") .before("before") .limit(1) .q("q") .build() );
-
-
-
after:
Optional<String>β The cursor to start from for pagination
-
before:
Optional<String>β The cursor to end before for pagination
-
limit:
Optional<Integer>β The maximum number of results to return
-
q:
Optional<String>β A search query to filter the projects
-
-
client.projects.create(request) -> Project
-
-
-
Create a new project for the authenticated workspace
-
-
-
client.projects().create( CreateProjectOpts .builder() .name("name") .build() );
-
-
-
name:
Stringβ Name of the project
-
appName:
Optional<String>β Display name for the Connect application
-
supportEmail:
Optional<String>β Support email displayed to end users
-
connectRequireKeyAuthTest:
Optional<Boolean>β Send a test request to the upstream API when adding Connect accounts for key-based apps
-
-
client.projects.retrieve(projectId) -> Project
-
-
-
Get the project details for a specific project
-
-
-
client.projects().retrieve("project_id");
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
-
client.projects.delete(projectId)
-
-
-
Delete a project owned by the authenticated workspace
-
-
-
client.projects().delete("project_id");
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
-
client.projects.update(projectId, request) -> Project
-
-
-
Update project details or application information
-
-
-
client.projects().update( "project_id", UpdateProjectOpts .builder() .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
name:
Optional<String>β Name of the project
-
appName:
Optional<String>β Display name for the Connect application
-
supportEmail:
Optional<String>β Support email displayed to end users
-
connectRequireKeyAuthTest:
Optional<Boolean>β Send a test request to the upstream API when adding Connect accounts for key-based apps
-
-
client.projects.updateLogo(projectId, request)
-
-
-
Upload or replace the project logo
-
-
-
client.projects().updateLogo( "project_id", UpdateProjectLogoOpts .builder() .logo("data:image/png;base64,AAAAAA...") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
logo:
Stringβ Data URI containing the new Base64 encoded image
-
-
client.projects.retrieveInfo(projectId) -> ProjectInfoResponse
-
-
-
Retrieve project configuration and environment details
-
-
-
client.projects().retrieveInfo();
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
-
client.fileStash.downloadFile(projectId) -> InputStream
-
-
-
Download a file from File Stash
-
-
-
client.fileStash().downloadFile( FileStashDownloadFileRequest .builder() .s3Key("s3_key") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
s3Key:
String
-
-
The Proxy client forwards authenticated HTTP requests to a third-party API using credentials
from a connected account stored in Pipedream Connect. Pass the target URL as a String (or
okhttp3.HttpUrl) β the client Base64-encodes it internally before calling the Pipedream API.
Every method returns a ProxyResponse, which is a closeable union of either a parsed JSON
value (response.isJson() / response.json()) or a raw InputStream (response.isStream() /
response.stream()), determined by the upstream Content-Type. Stream responses should be
consumed inside a try-with-resources block to release the underlying HTTP connection:
try (ProxyResponse response = client.proxy().get("https://api.example.com/users", request)) {
if (response.isJson()) {
Object json = response.json();
} else {
InputStream body = response.stream();
}
}For full HTTP metadata (status code, headers), use client.proxy().withRawResponse(). The
async client (asyncClient.proxy().get(...)) exposes the same surface with
CompletableFuture<ProxyResponse> return types.
client.proxy.get(url, request) -> ProxyResponse
-
-
-
Forward an authenticated GET request to an external API using an external user's account credentials
-
-
-
client.proxy().get( "https://api.example.com/users", ProxyGetRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .build() );
-
-
-
url:
Stringβ Target URL to forward the request to. Base64-encoded internally before being sent to Pipedream. Anokhttp3.HttpUrloverload is also available.
-
externalUserId:
Stringβ The external user ID for the proxy request
-
accountId:
Stringβ The account ID to use for authentication
-
-
client.proxy.post(url, request) -> ProxyResponse
-
-
-
Forward an authenticated POST request to an external API using an external user's account credentials
-
-
-
client.proxy().post( "https://api.example.com/users", ProxyPostRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .body( new HashMap<String, Object>() {{ put("name", "Jane Doe"); put("email", "jane@example.com"); }} ) .build() );
-
-
-
url:
Stringβ Target URL to forward the request to. Base64-encoded internally before being sent to Pipedream. Anokhttp3.HttpUrloverload is also available.
-
externalUserId:
Stringβ The external user ID for the proxy request
-
accountId:
Stringβ The account ID to use for authentication
-
body:
Map<String, Object>β Request body to forward to the target API
-
-
client.proxy.put(url, request) -> ProxyResponse
-
-
-
Forward an authenticated PUT request to an external API using an external user's account credentials
-
-
-
client.proxy().put( "https://api.example.com/users/42", ProxyPutRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .body( new HashMap<String, Object>() {{ put("name", "Jane Doe"); put("email", "jane@example.com"); }} ) .build() );
-
-
-
url:
Stringβ Target URL to forward the request to. Base64-encoded internally before being sent to Pipedream. Anokhttp3.HttpUrloverload is also available.
-
externalUserId:
Stringβ The external user ID for the proxy request
-
accountId:
Stringβ The account ID to use for authentication
-
body:
Map<String, Object>β Request body to forward to the target API
-
-
client.proxy.delete(url, request) -> ProxyResponse
-
-
-
Forward an authenticated DELETE request to an external API using an external user's account credentials
-
-
-
client.proxy().delete( "https://api.example.com/users/42", ProxyDeleteRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .build() );
-
-
-
url:
Stringβ Target URL to forward the request to. Base64-encoded internally before being sent to Pipedream. Anokhttp3.HttpUrloverload is also available.
-
externalUserId:
Stringβ The external user ID for the proxy request
-
accountId:
Stringβ The account ID to use for authentication
-
-
client.proxy.patch(url, request) -> ProxyResponse
-
-
-
Forward an authenticated PATCH request to an external API using an external user's account credentials
-
-
-
client.proxy().patch( "https://api.example.com/users/42", ProxyPatchRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .body( new HashMap<String, Object>() {{ put("email", "jane.new@example.com"); }} ) .build() );
-
-
-
url:
Stringβ Target URL to forward the request to. Base64-encoded internally before being sent to Pipedream. Anokhttp3.HttpUrloverload is also available.
-
externalUserId:
Stringβ The external user ID for the proxy request
-
accountId:
Stringβ The account ID to use for authentication
-
body:
Map<String, Object>β Request body to forward to the target API
-
-
client.tokens.create(projectId, request) -> CreateTokenResponse
-
-
-
Generate a Connect token to use for client-side authentication
-
-
-
client.tokens().create( CreateTokenOpts .builder() .externalUserId("external_user_id") .build() );
-
-
-
projectId:
Stringβ The project ID, which starts withproj_.
-
allowedOrigins:
Optional<List<String>>β List of allowed origins for CORS
-
errorRedirectUri:
Optional<String>β URI to redirect to on error
-
expiresIn:
Optional<Integer>β Token TTL in seconds (max 14400 = 4 hours). Defaults to 4 hours if not specified.
-
externalUserId:
Stringβ Your end user ID, for whom you're creating the token
-
scope:
Optional<String>β Space-separated scopes to restrict token permissions. Defaults to 'connect:*' if not specified. See https://pipedream.com/docs/connect/api-reference/authentication#connect-token-scopes for more information.
-
successRedirectUri:
Optional<String>β URI to redirect to on success
-
webhookUri:
Optional<String>β Webhook URI for notifications
-
allowProgressiveScopes:
Optional<Boolean>β When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.
-
-
client.tokens.validate(ctok) -> ValidateTokenResponse
-
-
-
Confirm the validity of a Connect token
-
-
-
client.tokens().validate( "ctok", TokensValidateRequest .builder() .appId("app_id") .accountId("account_id") .oauthAppId("oauth_app_id") .build() );
-
-
-
ctok:
String
-
appId:
Stringβ The app ID to validate against
-
accountId:
Optional<String>β An existing account ID to reconnect. Must belong to the app identified by app_id.
-
oauthAppId:
Optional<String>β The OAuth app ID to validate against (if the token is for an OAuth app)
-
-
client.usage.list() -> ConnectUsageResponse
-
-
-
Retrieve Connect usage records for a time window
-
-
-
client.usage().list( UsageListRequest .builder() .startTs(1) .endTs(1) .build() );
-
-
-
startTs:
Integerβ Usage window start timestamp (seconds)
-
endTs:
Integerβ Usage window end timestamp (seconds)
-
-
client.oauthTokens.create(request) -> CreateOAuthTokenResponse
-
-
-
Exchange OAuth credentials for an access token
-
-
-
client.oauthTokens().create( CreateOAuthTokenOpts .builder() .clientId("client_id") .clientSecret("client_secret") .build() );
-
-
-
grantType:
String
-
clientId:
String
-
clientSecret:
String
-
scope:
Optional<String>β Optional space-separated scopes for the access token. Defaults to*.
-
-
The Workflows client invokes a Pipedream workflow via its HTTP interface. Pass either a full
workflow URL (https://eo3xxxx.m.pipedream.net) or just the endpoint ID (eo3xxxx). Both
methods return the workflow's response body as a deserialized Object (typically a Map,
List, or scalar β see Jackson's default deserialization). The async client
(asyncClient.workflows().invoke(...) / invokeForExternalUser(...)) exposes the same two
methods returning CompletableFuture<Object>.
client.workflows.invoke(urlOrEndpoint) -> Object
-
-
-
// Simple workflow invocation (uses OAuth authentication by default) client.workflows().invoke("eo3xxxx"); // Advanced workflow invocation with all options client.workflows().invoke( InvokeWorkflowOpts .builder() .urlOrEndpoint("https://eo3xxxx.m.pipedream.net") .body( new HashMap<String, Object>() {{ put("name", "John Doe"); put("email", "john@example.com"); }} ) .headers( new HashMap<String, String>() {{ put("Content-Type", "application/json"); put("Authorization", "Bearer your-token"); // For STATIC_BEARER auth }} ) .method("POST") .authType(HTTPAuthType.STATIC_BEARER) .build() );
-
-
-
urlOrEndpoint:
Stringβ Either a workflow endpoint ID (e.g.,eo3xxxx) or a full workflow URL
-
body:
Optional<Object>β Request body to send to the workflow (will be JSON serialized)
-
headers:
Optional<Map<String, String>>β Additional headers to include in the request
-
method:
Optional<String>β HTTP method to use (defaults toPOST)
-
authType:
Optional<HTTPAuthType>β Authentication type:OAUTH(default),STATIC_BEARER, orNONE
-
-
client.workflows.invokeForExternalUser(urlOrEndpoint, externalUserId) -> Object
-
-
-
// Simple external user invocation (uses OAuth authentication by default) client.workflows().invokeForExternalUser("eo3xxxx", "user123"); // Advanced external user invocation with all options client.workflows().invokeForExternalUser( InvokeWorkflowForExternalUserOpts .builder() .url("https://eo3xxxx.m.pipedream.net") .externalUserId("user123") .body( new HashMap<String, Object>() {{ put("action", "process_data"); put("data", Arrays.asList("item1", "item2")); }} ) .headers( new HashMap<String, String>() {{ put("X-Custom-Header", "value"); }} ) .method("POST") .authType(HTTPAuthType.OAUTH) .build() );
-
-
-
url:
Stringβ The full workflow URL to invoke
-
externalUserId:
Stringβ Your end user ID, for whom you're invoking the workflow (Pipedream Connect)
-
body:
Optional<Object>β Request body to send to the workflow (will be JSON serialized)
-
headers:
Optional<Map<String, String>>β Additional headers to include in the request
-
method:
Optional<String>β HTTP method to use (defaults toPOST)
-
authType:
Optional<HTTPAuthType>β Authentication type:OAUTH(default),STATIC_BEARER, orNONE
-
-