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() .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
-
-
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.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
-
-
client.proxy.get(projectId, url64) -> InputStream
-
-
-
Forward an authenticated GET request to an external API using an external user's account credentials
-
-
-
client.proxy().get( "url_64", ProxyGetRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .build() );
-
-
-
projectId:
String— The project ID, which starts withproj_.
-
url64:
String— Base64-encoded target URL
-
externalUserId:
String— The external user ID for the proxy request
-
accountId:
String— The account ID to use for authentication
-
-
client.proxy.post(projectId, url64, request) -> InputStream
-
-
-
Forward an authenticated POST request to an external API using an external user's account credentials
-
-
-
client.proxy().post( "url_64", ProxyPostRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .body( new HashMap<String, Object>() {{ put("string", new HashMap<String, Object>() {{put("key", "value"); }}); }} ) .build() );
-
-
-
projectId:
String— The project ID, which starts withproj_.
-
url64:
String— Base64-encoded target URL
-
externalUserId:
String— The external user ID for the proxy request
-
accountId:
String— The account ID to use for authentication
-
request:
Map<String, Object>— Request body to forward to the target API
-
-
client.proxy.put(projectId, url64, request) -> InputStream
-
-
-
Forward an authenticated PUT request to an external API using an external user's account credentials
-
-
-
client.proxy().put( "url_64", ProxyPutRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .body( new HashMap<String, Object>() {{ put("string", new HashMap<String, Object>() {{put("key", "value"); }}); }} ) .build() );
-
-
-
projectId:
String— The project ID, which starts withproj_.
-
url64:
String— Base64-encoded target URL
-
externalUserId:
String— The external user ID for the proxy request
-
accountId:
String— The account ID to use for authentication
-
request:
Map<String, Object>— Request body to forward to the target API
-
-
client.proxy.delete(projectId, url64) -> InputStream
-
-
-
Forward an authenticated DELETE request to an external API using an external user's account credentials
-
-
-
client.proxy().delete( "url_64", ProxyDeleteRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .build() );
-
-
-
projectId:
String— The project ID, which starts withproj_.
-
url64:
String— Base64-encoded target URL
-
externalUserId:
String— The external user ID for the proxy request
-
accountId:
String— The account ID to use for authentication
-
-
client.proxy.patch(projectId, url64, request) -> InputStream
-
-
-
Forward an authenticated PATCH request to an external API using an external user's account credentials
-
-
-
client.proxy().patch( "url_64", ProxyPatchRequest .builder() .externalUserId("external_user_id") .accountId("account_id") .body( new HashMap<String, Object>() {{ put("string", new HashMap<String, Object>() {{put("key", "value"); }}); }} ) .build() );
-
-
-
projectId:
String— The project ID, which starts withproj_.
-
url64:
String— Base64-encoded target URL
-
externalUserId:
String— The external user ID for the proxy request
-
accountId:
String— The account ID to use for authentication
-
request:
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
-
-
client.tokens.validate(ctok) -> ValidateTokenResponse
-
-
-
Confirm the validity of a Connect token
-
-
-
client.tokens().validate( "ctok", TokensValidateRequest .builder() .appId("app_id") .oauthAppId("oauth_app_id") .build() );
-
-
-
ctok:
String
-
appId:
String— The app ID to validate against
-
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() .grantType("client_credentials") .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*.
-
-
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 to 'POST')
-
authType:
Optional<HTTPAuthType>— Authentication type: OAUTH (default), STATIC_BEARER, or NONE
-
-
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— The external user ID for Pipedream Connect authentication
-
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 to 'POST')
-
authType:
Optional<HTTPAuthType>— Authentication type: OAUTH (default), STATIC_BEARER, or NONE
-
-