OneTrust Platform — Integrations

The Integrations APIs are used to configure, manage, and automate integrations. They provide functio nality to handle system credentials, import and export workflows, and manage integration details. (4 operations.)

Operations 4

PUT /v2/credentials/{type} Update System Credential #
POST /v2/credentials/{type} Create System Credential #
GET /v2/workflows/export Export Workflow #
POST /v2/workflows/import Import Workflow #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/platform-integrations"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

onetrust-platform-integrations-openapi.json Raw ↑
{"openapi":"3.1.0","info":{"title":"Platform - Integrations","version":"1.0","contact":{"name":"OneTrust Support","url":"https://my.onetrust.com/s/contactsupport"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0"},"description":"The Integrations APIs are used to configure, manage, and automate integrations. They provide functionality to handle system credentials, import and export workflows, and manage integration details."},"servers":[{"url":"https://{hostname}/api/integrationmanager","variables":{"hostname":{"default":"hostname","description":"The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com."}}}],"tags":[{"name":"System Credentials","description":"APIs used to create and update system credentials required for integrations, such as authentication keys and connection details.","externalDocs":{"description":"OpenAPI 3.1.0 - Download Definition","url":"https://developer.onetrust.com/onetrust/openapi/platform-integrations.json"}},{"name":"Workflows V2","description":"APIs used to import and export workflows in JSON format for version 2 workflows.","externalDocs":{"description":"OpenAPI 3.1.0 - Download Definition","url":"https://developer.onetrust.com/onetrust/openapi/platform-integrations.json"}}],"x-onetrust":{"spec-label":"OpenAPI 3.1.0","links":["{'Integrations Knowledge Base': 'https://my.onetrust.com/s/topic/0TO1Q000000ItT9WAK/integrations'}"]},"x-readme":{"explorer-enabled":false,"proxy-enabled":false,"metrics-enabled":false},"paths":{"/v2/credentials/{type}":{"put":{"operationId":"updateV2UsingPUT","summary":"Update System Credential","description":"Use this API to update details for an existing credential.","tags":["System Credentials"],"x-onetrust":{"spec-label":"https://developer.onetrust.com/onetrust/openapi/platform-integrations.json"},"parameters":[{"name":"type","in":"path","description":"Specify the connector type.","required":true,"schema":{"type":"string","enum":["HTTP"]},"example":"HTTP"},{"name":"name","in":"query","description":"Name of the credential to update.","required":true,"schema":{"type":"string"},"example":"my-credential"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialsV2Dto"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"429":{"description":"Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).","headers":{"Retry-After":{"schema":{"description":"The number of seconds after which requests will be allowed again.","format":"int32"}},"ot-period":{"schema":{"description":"The unit of time for which the rate limit applies","enum":["HOUR","MINUTE"]}},"ot-ratelimit-event-id":{"schema":{"description":"The unique identifier for the rate-limiting event.","format":"uuid"}},"ot-request-made":{"schema":{"description":"The number of requests made within the specified period.","format":"int32"}},"ot-requests-allowed":{"schema":{"description":"The number of requests allowed within the specified period.","format":"int32"}}}},"500":{"description":"Internal Server Error"}},"security":[{"OAUTH2":["INTEGRATIONS"]}]},"post":{"operationId":"createV2UsingPOST","summary":"Create System Credential","description":"Use this API to create a new credential for a specific connector type.","tags":["System Credentials"],"x-onetrust":{"spec-label":"https://developer.onetrust.com/onetrust/openapi/platform-integrations.json"},"parameters":[{"name":"type","in":"path","description":"Specify the connector type.","required":true,"schema":{"type":"string","enum":["HTTP"]},"example":"HTTP"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialsV2Dto"}}}},"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"429":{"description":"Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).","headers":{"Retry-After":{"schema":{"description":"The number of seconds after which requests will be allowed again.","format":"int32"}},"ot-period":{"schema":{"description":"The unit of time for which the rate limit applies","enum":["HOUR","MINUTE"]}},"ot-ratelimit-event-id":{"schema":{"description":"The unique identifier for the rate-limiting event.","format":"uuid"}},"ot-request-made":{"schema":{"description":"The number of requests made within the specified period.","format":"int32"}},"ot-requests-allowed":{"schema":{"description":"The number of requests allowed within the specified period.","format":"int32"}}}},"500":{"description":"Internal Server Error"}},"security":[{"OAUTH2":["INTEGRATIONS"]}]}},"/v2/workflows/export":{"get":{"operationId":"exportWorkflowUsingGET_1","summary":"Export Workflow","description":"Use this API to export an integration workflow as a JSON file.","tags":["Workflows V2"],"x-onetrust":{"spec-label":"https://developer.onetrust.com/onetrust/openapi/platform-integrations.json"},"parameters":[{"name":"workflowName","in":"query","description":"Name of the workflow to export.","required":true,"schema":{"type":"string"},"example":"my-workflow"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowActionsV2Request"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"429":{"description":"Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).","headers":{"Retry-After":{"schema":{"description":"The number of seconds after which requests will be allowed again.","format":"int32"}},"ot-period":{"schema":{"description":"The unit of time for which the rate limit applies","enum":["HOUR","MINUTE"]}},"ot-ratelimit-event-id":{"schema":{"description":"The unique identifier for the rate-limiting event.","format":"uuid"}},"ot-request-made":{"schema":{"description":"The number of requests made within the specified period.","format":"int32"}},"ot-requests-allowed":{"schema":{"description":"The number of requests allowed within the specified period.","format":"int32"}}}},"500":{"description":"Internal Server Error"}},"security":[{"OAUTH2":["INTEGRATIONS"]}]}},"/v2/workflows/import":{"post":{"operationId":"importWorkflowUsingPOST_1","summary":"Import Workflow","description":"Use this API to import an integration workflow from a provided JSON file.","tags":["Workflows V2"],"x-onetrust":{"spec-label":"https://developer.onetrust.com/onetrust/openapi/platform-integrations.json"},"parameters":[{"name":"name","in":"query","description":"Optional display name for the imported workflow; defaults to the name in the file.","required":false,"schema":{"type":"string"},"example":"my-imported-workflow"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"description":"JSON file containing the workflow configuration","type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"201":{"description":"Created","content":{"application/json":{}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"429":{"description":"Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).","headers":{"Retry-After":{"schema":{"description":"The number of seconds after which requests will be allowed again.","format":"int32"}},"ot-period":{"schema":{"description":"The unit of time for which the rate limit applies","enum":["HOUR","MINUTE"]}},"ot-ratelimit-event-id":{"schema":{"description":"The unique identifier for the rate-limiting event.","format":"uuid"}},"ot-request-made":{"schema":{"description":"The number of requests made within the specified period.","format":"int32"}},"ot-requests-allowed":{"schema":{"description":"The number of requests allowed within the specified period.","format":"int32"}}}},"500":{"description":"Internal Server Error"}},"security":[{"OAUTH2":["INTEGRATIONS"]}]}}},"components":{"schemas":{"ApiKeyAuth":{"allOf":[{"$ref":"#/components/schemas/AuthContext"},{"type":"object","properties":{"key":{"description":"Key of the ApiKey Type Credential","type":"string","example":"X-API-Key"},"value":{"description":"Value of the ApiKey","type":"string","format":"password","example":"Credential_Value"},"authParameterType":{"description":"Authentication parameter type for the API key","type":"string","example":"SEND_IN_HEADERS","enum":["SEND_IN_BODY","SEND_IN_REQUESTPARAMS","SEND_IN_URL_ENCODED","SEND_IN_HEADERS"]}}}],"required":["authParameterType","key","value"]},"AuthContext":{"type":"object","properties":{"headers":{"description":"HTTP headers to include for this credential.","type":"object","example":{"Content-Type":"application/x-www-form-urlencoded"},"additionalProperties":{"type":"string"}},"type":{"description":"Authentication type.","type":"string","example":"BASIC","enum":["NO_AUTH","BASIC","BEARER_TOKEN","OAUTH2_TOKEN","DIGEST","NTLM","API_KEY","FTP_PASSWORD","SFTP","FTPS","DB_SQLSERVER","HMAC","PGP","REFERENCE_AUTH","AWS","CUSTOM","AZURE","JWE","OAUTH2_OIDC"]},"hostName":{"description":"Host name of the target system.","type":"string","example":"example.com"},"testUrl":{"description":"URL used to test this credential.","type":"string","example":"https://example.com/sample/test"},"connectorType":{"description":"Connector category (e.g., HTTP, FTP, DATABASE).","type":"string","example":"HTTP","enum":["HTTP","FTP","DATABASE","ENCRYPTION","DECRYPTION","REFERENCE","CLOUD_SDK","SIMPLE_CONNECT"]},"mtlsEnabled":{"description":"Enable mutual TLS for this credential.","type":"boolean","example":true,"default":"false"},"clientCertificate":{"description":"Client certificate (PEM) used for mutual TLS authentication.","type":"string","format":"password","example":"-----BEGIN CERTIFICATE-----\nMIIDazCCAlOgAwIBAgIUJlq+zz4...\n-----END CERTIFICATE-----"},"privateKey":{"description":"Private key (PEM) used for mutual TLS authentication.","type":"string","format":"password","example":"REDACTED_PRIVATE_KEY_EXAMPLE"},"privateKeyPassword":{"description":"Password for the encrypted private key, if applicable.","type":"string","format":"password","example":"keypassword"},"serverRootCACertificate":{"description":"Server Root CA certificate (PEM) for TLS server verification.","type":"string","format":"password","example":"-----BEGIN CERTIFICATE-----\nMIIDazCCAlOgAwIBAgIUJlq+zz4...\n-----END CERTIFICATE-----"},"cacheKey":{"description":"Value for cache key.","type":"string"},"sendCredential":{"description":"Value for send credential.","type":"string","enum":["HTTP_HEADERS","XML_ENVELOPE"]},"authParams":{"description":"Value for auth params.","$ref":"#/components/schemas/AuthParams"}},"discriminator":{"propertyName":"type","mapping":{"BASIC":"#/components/schemas/BasicAuth","API_KEY":"#/components/schemas/ApiKeyAuth","BEARER_TOKEN":"#/components/schemas/BearerTokenAuth","OAUTH2_TOKEN":"#/components/schemas/OAuth2TokenAuth","CUSTOM":"#/components/schemas/CustomAuth"}}},"AuthParams":{"type":"object","properties":{"params":{"description":"Object containing params settings.","type":"object","additionalProperties":{"type":"string"}},"present":{"description":"Indicates whether present is enabled.","type":"boolean"}}},"BasicAuth":{"allOf":[{"$ref":"#/components/schemas/AuthContext"},{"type":"object","properties":{"userName":{"description":"Username of the Basic Type Credential","type":"string","example":"Credential_Username"},"password":{"description":"Password of the Basic Type Credential","type":"string","format":"password","example":"Credential_Password"}}}],"required":["password","userName"]},"BearerTokenAuth":{"allOf":[{"$ref":"#/components/schemas/AuthContext"},{"type":"object","properties":{"token":{"description":"Bearer token value","type":"string","format":"password","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}}}]},"CredentialsV2Dto":{"type":"object","properties":{"name":{"description":"Unique name that identifies this credential.","type":"string","example":"my-prod-credentials"},"authType":{"description":"Authentication type represented by this credential.","type":"string","example":"OAUTH2_TOKEN","enum":["BASIC","API_KEY","BEARER_TOKEN","OAUTH2_TOKEN","CUSTOM"]},"authContext":{"description":"Authentication context with type‚Äëspecific configuration; structure varies by authentication type.","oneOf":[{"$ref":"#/components/schemas/BasicAuth"},{"$ref":"#/components/schemas/ApiKeyAuth"},{"$ref":"#/components/schemas/BearerTokenAuth"},{"$ref":"#/components/schemas/OAuth2TokenAuth"},{"$ref":"#/components/schemas/CustomAuth"}]},"description":{"description":"Human‚Äëreadable purpose for this credential.","type":"string","example":"Used for authenticating with the production environment"},"integrationName":{"description":"Name of the integration associated with this credential.","type":"string","example":"systemName"}},"required":["authContext","authType","integrationName","name"]},"CustomAuth":{"allOf":[{"$ref":"#/components/schemas/AuthContext"}]},"OAuth2TokenAuth":{"allOf":[{"$ref":"#/components/schemas/AuthContext"},{"type":"object","properties":{"grantType":{"description":"OAuth 2.0 grant type","type":"string","example":"client_credentials"},"authUrl":{"description":"Authorization URL for OAuth 2.0 flow","type":"string","format":"uri","example":"https://auth.example.com/authorize"},"tokenUrl":{"description":"Token URL for obtaining access tokens","type":"string","format":"uri","example":"https://auth.example.com/token"},"clientId":{"description":"OAuth 2.0 client identifier","type":"string","example":"client-id-123456"},"clientSecret":{"description":"OAuth 2.0 client secret","type":"string","format":"password","example":"client-secret-abcdef"},"state":{"description":"State parameter for CSRF protection","type":"string","example":"random-state-string"},"username":{"description":"Username for password grant type","type":"string","example":"user@example.com"},"password":{"description":"Password for password grant type","type":"string","format":"password","example":"user-password"},"accessToken":{"description":"OAuth 2.0 access token","type":"string","format":"password","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},"bearerType":{"description":"Bearer token type","type":"string","example":"Bearer"},"expiresIn":{"description":"Token expiration time in seconds","type":"string","example":3600},"oauth2Type":{"description":"OAuth 2.0 implementation type","type":"string","example":"standard"},"refreshToken":{"description":"OAuth 2.0 refresh token","type":"string","format":"password","example":"refresh-token-xyz123"},"scope":{"description":"OAuth 2.0 scope","type":"string","example":"read write"},"tokenType":{"description":"Token type","type":"string","example":"Bearer"},"authParameterType":{"description":"Authentication parameter type","type":"string","example":"SEND_IN_HEADERS","enum":["SEND_IN_BODY","SEND_IN_REQUESTPARAMS","SEND_IN_URL_ENCODED","SEND_IN_HEADERS"]},"tokenSecret":{"description":"Token secret for OAuth 1.0 signature flow","type":"string","example":"token-secret-123456"},"consumerKey":{"description":"Consumer key for OAuth 1.0 signature flow","type":"string","example":"consumer-key-123456"},"consumerSecret":{"description":"Consumer secret for OAuth 1.0 signature flow","type":"string","format":"password","example":"consumer-secret-abcdef"},"signatureMethod":{"description":"Signature method for OAuth 1.0 signature flow","type":"string","example":"HMAC-SHA1","enum":["HMAC_SHA1","HMAC_SHA256"]},"timestamp":{"description":"Timestamp for OAuth 1.0 signature flow","type":"string","example":1643723900},"nonce":{"description":"Nonce for OAuth 1.0 signature flow","type":"string","example":"random-nonce-string"},"version":{"description":"Version for OAuth 1.0 signature flow","type":"string","example":1},"realm":{"description":"Realm for OAuth 1.0 signature flow","type":"string","example":"example.com"},"claims":{"description":"Claims for OAuth 1.0 JWT flow","type":"string","example":{"iss":"example.com","aud":"https://example.com"}},"signatureAlgorithm":{"description":"Signature algorithm for OAuth 1.0 JWT flow","type":"string","example":"RS256","enum":["NONE","HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512","PS256","PS384","PS512"]},"subject":{"description":"Subject for OAuth 1.0 JWT flow","type":"string","example":"user@example.com"},"audience":{"description":"Audience for OAuth 1.0 JWT flow","type":"string","example":"https://example.com"},"certificate":{"description":"Certificate for OAuth 1.0 JWT flow","type":"string","format":"password","example":"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"},"additionalHeaders":{"description":"Additional headers for OAuth 1.0 JWT flow","type":"string","example":{"header":"value"}},"expirationTime":{"description":"Expiration time for OAuth 1.0 JWT flow","type":"integer","format":"int64","example":1643723900},"issuer":{"description":"Issuer for OAuth 1.0 JWT flow","type":"string","example":"example.com"},"iatRequired":{"description":"Whether iat is required for OAuth 1.0 JWT flow","type":"boolean","example":true},"nbfRequired":{"description":"Whether nbf is required for OAuth 1.0 JWT flow","type":"boolean","example":true},"jtiRequired":{"description":"Whether jti is required for OAuth 1.0 JWT flow","type":"boolean","example":true},"customAssertion":{"description":"Custom assertion for OAuth 1.0 JWT flow","type":"string","example":{"key":"value"}},"additionalAuthParams":{"description":"Additional authentication parameters","type":"object","example":{"key":"value"},"additionalProperties":{"type":"string"}},"additionalParams":{"description":"Additional parameters","type":"object","example":{"key":"value"},"additionalProperties":{"type":"object"}},"popTokenRequired":{"description":"Whether PoP token is required","type":"boolean","example":true},"certificateName":{"description":"Certificate name for PoP token","type":"string","example":"example-cert"},"accessTokenPath":{"description":"Access token path for custom OAuth 2.0 authentication","type":"string","example":"/oauth2/token"},"customAuthHeader":{"description":"Custom authentication headers","type":"object","example":{"header":"value"},"additionalProperties":{"type":"string"}},"refreshTokenGrant":{"type":"boolean"},"clientCredentialsGrant":{"type":"boolean"},"passwordCredentialsGrant":{"type":"boolean"},"authorizationCodeGrant":{"type":"boolean"},"signedClientCredentialsGrant":{"type":"boolean"},"jwtclientCredentialsGrant":{"type":"boolean"},"validGrantType":{"type":"boolean"}}}],"required":["authParameterType","clientId","clientSecret","grantType","tokenUrl"]},"AbstractExpression":{"type":"object","properties":{"type":{"type":"string","enum":["AND_EXPRESSION","OR_EXPRESSION","NOT_EXPRESSION","BINARY_EXPRESSION"]}}},"AndExpression":{"allOf":[{"$ref":"#/components/schemas/AbstractExpression"},{"type":"object","properties":{"expressions":{"type":"array","items":{"$ref":"#/components/schemas/AbstractExpression"}}}}]},"BaseTrigger":{"type":"object","properties":{"type":{"type":"string","enum":["EVENT","SCHEDULED","WEBHOOK","SUBFLOW","CONFIG"]},"webhook":{"type":"boolean"},"subFlow":{"type":"boolean"},"config":{"type":"boolean"}}},"BinaryExpression":{"allOf":[{"$ref":"#/components/schemas/AbstractExpression"},{"type":"object","properties":{"lookupField":{"type":"string","minLength":1},"operator":{"type":"string","enum":["CONTAINS","DOES_NOT_CONTAIN","EQUAL_TO","NOT_EQUAL_TO","GREATER_THAN","GREATER_THAN_OR_EQUAL_TO","LESS_THAN","LESS_THAN_OR_EQUAL_TO","STARTS_WITH","ENDS_WITH"]},"value":{"type":"string","minLength":1},"name":{"type":"string"},"valueLoad":{"type":"string"}}}],"required":["operator"]},"ConfigTrigger":{"allOf":[{"$ref":"#/components/schemas/BaseTrigger"},{"type":"object","properties":{"eventCode":{"type":"string"}}}]},"EventTrigger":{"allOf":[{"$ref":"#/components/schemas/BaseTrigger"},{"type":"object","properties":{"eventCode":{"type":"string"},"condition":{"oneOf":[{"$ref":"#/components/schemas/AndExpression"},{"$ref":"#/components/schemas/BinaryExpression"},{"$ref":"#/components/schemas/NotExpression"},{"$ref":"#/components/schemas/OrExpression"}]},"baseCondition":{"oneOf":[{"$ref":"#/components/schemas/AndExpression"},{"$ref":"#/components/schemas/BinaryExpression"},{"$ref":"#/components/schemas/NotExpression"},{"$ref":"#/components/schemas/OrExpression"}]},"preCondition":{"oneOf":[{"$ref":"#/components/schemas/AndExpression"},{"$ref":"#/components/schemas/BinaryExpression"},{"$ref":"#/components/schemas/NotExpression"},{"$ref":"#/components/schemas/OrExpression"}]}}}]},"FieldDescription":{"type":"object","properties":{"key":{"description":"Value for key.","type":"string"},"name":{"description":"Value for name.","type":"string"},"body":{"description":"Value for body.","type":"string"},"example":{"description":"Value for example.","type":"string"},"type":{"description":"Value for type.","type":"string"},"jsonPath":{"description":"Value for json path.","type":"string"},"displayName":{"description":"Value for display name.","type":"string"}}},"LookupFields":{"type":"object","properties":{"fields":{"description":"List of fields.","type":"array","items":{"$ref":"#/components/schemas/FieldDescription"}},"step":{"description":"Value for step.","type":"string"}}},"NotExpression":{"allOf":[{"$ref":"#/components/schemas/AbstractExpression"},{"type":"object","properties":{"operand":{"$ref":"#/components/schemas/AbstractExpression"}}}]},"OrExpression":{"allOf":[{"$ref":"#/components/schemas/AbstractExpression"},{"type":"object","properties":{"expressions":{"type":"array","items":{"$ref":"#/components/schemas/AbstractExpression"}}}}]},"ScheduleDateTime":{"type":"object","properties":{"seconds":{"type":"string"},"minutes":{"type":"string"},"hours":{"$ref":"#/components/schemas/ScheduleDateTimeField"},"dayOfMonth":{"type":"string"},"month":{"type":"string"},"dayOfWeek":{"$ref":"#/components/schemas/ScheduleDateTimeField"},"startMonth":{"type":"string"},"year":{"type":"string"},"frequency":{"$ref":"#/components/schemas/ScheduleDateTimeField"},"frequencyIntervalTracker":{"type":"string"}}},"ScheduleDateTimeField":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"cronExp":{"type":"string"}}},"ScheduledTrigger":{"allOf":[{"$ref":"#/components/schemas/BaseTrigger"},{"type":"object","properties":{"cronExpression":{"type":"string"},"dateTime":{"$ref":"#/components/schemas/ScheduleDateTime"},"runManual":{"type":"boolean"},"isRunManual":{"type":"boolean"}}}]},"SubflowTrigger":{"allOf":[{"$ref":"#/components/schemas/BaseTrigger"},{"type":"object","properties":{"eventCode":{"type":"string"},"referenceUrl":{"type":"string"}}}]},"WebHookTrigger":{"allOf":[{"$ref":"#/components/schemas/BaseTrigger"},{"type":"object","properties":{"eventCode":{"type":"string"},"referenceUrl":{"type":"string"},"schema":{"type":"string"},"sample":{"type":"string"},"decryptionRequired":{"type":"boolean"},"decryptionCredentialId":{"type":"string","format":"uuid"}}}]},"WorkflowActionsV2Request":{"type":"object","properties":{"formatVersion":{"description":"Version of the workflow definition format.","type":"string","example":"V2.0","default":"2.0"},"name":{"description":"Workflow name.","type":"string","example":"Customer Data Sync","minLength":1},"description":{"description":"Workflow description.","type":"string","example":"Workflow to sync customer data from CRM to database"},"enabled":{"description":"Whether this workflow is enabled.","type":"boolean","example":true,"default":"false"},"workflowType":{"description":"Workflow type.","type":"string","example":"CUSTOM","enum":["CUSTOM","COMPOSITE","CONFIG","PRESET"]},"integrationName":{"description":"Integration name that owns this workflow.","type":"string","example":"Salesforce"},"referenceIntegrationName":{"description":"Reference integration name when this is a template workflow.","type":"string","example":"Salesforce-Template"},"dlqEnabled":{"description":"Whether Dead Letter Queue (DLQ) is enabled for this workflow.","type":"boolean","example":true,"default":"false"},"sourceType":{"description":"Integration source type.","type":"string","example":"INSTANCE","enum":["SEED","USER_DEFINED","INSTANCE","PRESET_INSTANCE","RULE","CUSTOM_WIZARD_WORKFLOW","EMBEDDED"]},"processType":{"description":"Process type for this workflow node.","type":"string","example":"HTTP","enum":["HTTP","FTP","FILEPARSER","FILEGENERATOR","TRANSFORM","SOURCE","SQL","SINK","MESSAGELOG","CONDITION","APPLYEACH","EMAILACTION","PAGINATION","FILEUPLOAD","SUBFLOW","HTTPFILEUPLOAD","DOWHILE","SOAPACTION","SDKACTION"]},"throttlingLimit":{"description":"Maximum concurrent executions (throttle limit) for the workflow.","type":"integer","format":"int32","example":100,"maximum":750,"minimum":50},"defaultDlqAction":{"description":"Default action when a DLQ event occurs (NONE, PURGE, or REPROCESS).","type":"string","example":"REPROCESS","enum":["NONE","PURGE","REPROCESS"]},"trigger":{"description":"Trigger configuration for the workflow.","$ref":"#/components/schemas/WorkflowTriggerDto"},"actions":{"description":"List of actions.","type":"array","items":{"description":"List of actions/nodes in the workflow"}},"directions":{"description":"List of directions.","type":"array","items":{"description":"List of directional flows between workflow nodes"}}},"required":["name","trigger","workflowType"]},"WorkflowTriggerDto":{"type":"object","properties":{"id":{"description":"The unique identifier for id.","type":"string","format":"uuid"},"name":{"description":"Trigger name.","type":"string","example":"New Customer Signup"},"workflowName":{"description":"Workflow name that this trigger belongs to.","type":"string","example":"Customer Onboarding"},"workflowId":{"description":"Workflow ID that this trigger belongs to.","type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"triggerType":{"description":"Trigger type.","type":"string","example":"EVENT","enum":["EVENT","SCHEDULED","WEBHOOK","SUBFLOW","CONFIG"]},"triggerContext":{"description":"Context payload specific to the trigger type.","oneOf":[{"$ref":"#/components/schemas/BaseTrigger"},{"$ref":"#/components/schemas/ConfigTrigger"},{"$ref":"#/components/schemas/EventTrigger"},{"$ref":"#/components/schemas/ScheduledTrigger"},{"$ref":"#/components/schemas/SubflowTrigger"},{"$ref":"#/components/schemas/WebHookTrigger"}]},"description":{"description":"Trigger description.","type":"string","example":"Triggered when a new customer signs up"},"eventCode":{"description":"Event code that activates this workflow.","type":"string","example":"CUSTOMER_SIGNUP"},"schema":{"description":"JSON schema describing the expected trigger payload.","type":"string"},"lookupFields":{"description":"Lookup fields used to find existing records.","$ref":"#/components/schemas/LookupFields"},"sample":{"description":"Sample trigger payload.","type":"string"}},"required":["name","triggerType","workflowId"]}},"securitySchemes":{"OAUTH2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://{hostname}/api/access/v1/oauth/token","scopes":{"INTEGRATIONS":"Integration scope for external systems"}}}}}}}