> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/lws/supercharge-your-workflow-invoke-integration-channel-via-api.md).

# Supercharge Your Workflow: Invoke Integration Channel via API!

With 200 OK, the ability to invoke an Integration Channel is extended such that it can be done from anywhere outside Salesforce securely with appropriate authentication.

This functionality helps to execute Integration Channel securely from outside of the Salesforce org where it resides using valid credentials/authorization, similar to calling any REST API.

Below details are required to use this functionality.

In the target Salesforce org, Integration Channel has to be created and configured with required External service details and Integration Actions(if any).

**Endpoint URL**: https\://\<YOUR\_DOMAIN\_URL>/services/apexrest/lwapic/lws/channel/CHANNEL\_NAME?recordId=RECORD\_ID\&executeResponseOnly=true\&token=TOKEN

<br>

**YOUR\_DOMAIN\_URL**- Target Salesforce org domain URL

**CHANNEL\_NAME** - Integration Channel unique name

**RECORD\_ID** - Dynamic record ID(optional)

**ExecuteResponseOnly** - Pass true if only action needs to be executed, without making a callout, else by default this is set to FALSE

**TOKEN** - pass Webhook Token same as the token configured in Advance Setting of the Integration Channel<br>

In case, any other dynamic values to be passed for the Integration Channel in Endpoint URL/Params/Header/Body, please pass the details in the request body with the appropriate request data separator in case of POST callout and in Parameters in case of GET callout.

**Method**:

GET/POST

\
**Header**:

Authorization for a valid Salesforce User(or Integration User)

Content-Type(if applicable, such as for POST method)

Other Header Information(as required)

**Body**:

Request Body(if applicable, such as for POST method)

\
This is how you can power up your Integration Channel by invoking it via API!

<br>

<figure><img src="https://lh6.googleusercontent.com/aFV79DGTL9BTnoSrpq0KIXdkCRyxVZzqy_bVRZ0pYVlDepqKdKDTiT3ipY5oByU1SM0iE5Hj4LyQG9v6aV_D_CeleGY6zrmLVF6h-Rh2_5h2XjMZjPoFi7arGt210lGIi4z6hTocnEWkCMAVrvLjWlo" alt=""><figcaption></figcaption></figure>
