Skip to main content
If you want to send data or fetch data from a third-party that WotNot does not have a native integration to, you can use the HTTP request action block. HTTP requests are executed server-side, not in the visitor’s browser. This makes the block suitable for API calls that require credentials or other sensitive request data.
Screenshot 2026 08 27 090748
Available on the PREMIUM plan and above.

When to use this

Choose the approach that best matches what you are trying to achieve.
Check the list of native integrations before building an HTTP Request. If the service already has a native integration, use it unless you specifically need API-level control.

Configuring the request

Add the HTTP Request action block to your flow and configure the request details.

Request

Configure the details for your API request.

Method

Select the HTTP method required by the API endpoint. WotNot currently supports:
  • GET — Retrieve data from an API.
  • POST — Send data to an API or create a resource.
  • PUT — Update an existing resource.
Always check the third-party API documentation to confirm which method the endpoint expects.

Endpoint URL

Enter the complete API endpoint URL. The URL must be an absolute URL beginning with http:// or https://. You can also use the variables in the URL by typing ’#’, as some APIs do not have headers and mention everything in the URL itself.

Headers

Add authentication data to the HTTP request. Commonly used for bearer token based authentication. You can also use variables as header values when the value needs to be determined dynamically.
Make sure you add the content-type field to your request.
Common headers include:

Authentication

Query parameters

Query parameters are values appended to the URL after ?. For example:
You can use variables as query parameter values. For example:
If the API requires multiple parameters, separate them with &:
Use query parameters for values that the API expects in the URL rather than in the request body.

Request body

Add the required information you want to send as part of your request. You can send information in two ways:

RAW

It is normal JSON format in which the request needs to be passed
Image

FORM

It allows you to map the fields. You can either provide static value or map the variables
Image

Enable retry mechanism

Enables automatic retries for API calls on failure, ensuring reliability by reattempting requests based on predefined conditions and intervals. After maximum retries are attempted, the flow will proceed in the failure path.

Using variables in a request

WotNot variables can be inserted into the HTTP Request configuration using the following syntax: #variable_name# For example, if your flow contains a variable named customer_id, reference it as: #customer_id#

Variable in the URL

Variable in a header

Variable in the request body

When the request runs, WotNot resolves the variable and sends its stored value to the API. For more information about creating and using variables, see the Variables page.

Handling the Response

When the HTTP request is made, you will receive a response from the API. You can store the objects received from the API into variables by mapping the fields.

Worked examples

Use a GET request when you need to retrieve data based on information collected during the conversation.

Example

Suppose the visitor provides their customer ID, stored in:
Configure the request as follows.Method
URL
Headers

Example response

Store the response

To save the customer’s name:
To save the customer’s status:
You can then use these variables in subsequent blocks.
Use a POST request when you need to send information to an API.Suppose the flow collects:

Method

URL

Headers

Raw body

When the request executes, WotNot replaces the variables with the values collected during the conversation.

Example response

To store the customer ID:
You can use the resulting variable in later blocks.
Use this pattern when the flow needs to look up information and then take a different path depending on the API response.Suppose you want to check whether a customer’s account is active.

HTTP Request

Method
URL
Headers

Example response

Map the response field:
Store it in a variable such as:

Condition

Add a Condition block after the HTTP Request.Configure the condition as:
Then create two paths:If trueContinue with the flow for an active customer.If falseShow an appropriate message or route the visitor to an alternative flow.This pattern lets the API determine what happens next without exposing the API details to the visitor.

Testing API request

Once you have configured your API request, you can click on the ‘Test the API’ button and see the response received. From the response screen, you can directly save the object into a variable by clicking on the + icon.
Image

API Retry Logs

​Track each HTTP Request retry logs separately to easily understand the status and outcome of every API attempt. ​Each log entry includes the status, retry number, request details, response or error, and execution timestamp. ​View retry logs from: App Market → HTTP request → Logs
Image

Troubleshooting

A 401 response generally means that the API did not accept the authentication information.Check the following:
  • The API key or access token is correct.
  • The authentication header name is correct.
  • The Authorization header uses the format required by the API.
  • A Bearer prefix is included when required.
  • The token has not expired.
  • The API endpoint expects the authentication method you configured.
Test the same credentials using the API documentation or an API client to confirm that they are valid.
A 403 response means that the request was understood, but the API is refusing access.Check the following:
  • The API credential has permission to access the endpoint.
  • The required API scope or role is enabled.
  • The account has access to the requested resource.
  • The third-party service does not restrict requests by IP address.
If the API uses IP allowlisting, ask the API provider which source IP addresses must be allowlisted for server-side requests from WotNot.
If the API receives:
instead of the actual value, check the variable reference.WotNot variables use the following format:
For example:
Also confirm that the variable has a value before the HTTP Request block runs.
Check the response returned by Test the API and make sure the object path exactly matches the response structure.For example, for:
the correct object path is:
Do not use a path based only on the API documentation if the actual response returned by the endpoint has a different structure.For arrays, include the required index. For example:
First, use Test the API to confirm that the request returns the expected response.Then check the following:
  • The HTTP Request block has completed successfully.
  • The next block is correctly connected in the flow.
  • A subsequent Condition does not depend on a variable that was not populated.
  • The response mapping uses the correct object path.
  • The API response matches the response structure you used while testing.
If the request succeeds but a mapped variable is empty, inspect the response and verify the mapping path.
A timeout can occur when the third-party API takes too long to respond.Check the following:
  • The API endpoint is responding normally.
  • The endpoint is not experiencing an outage or performance issue.
  • The request is not waiting on another downstream service.
  • The request body or query is not unnecessarily large.
  • The API is not subject to rate limits or processing delays.
Test the endpoint independently using the same URL, headers, parameters, and body to determine whether the delay originates from the API.
Note: Do not document a specific WotNot timeout or automatic retry interval unless it has been confirmed for your current WotNot environment.
Some enterprise APIs only accept requests originating from approved IP addresses.If your customer’s API uses IP allowlisting, confirm which outbound IP addresses must be allowlisted for WotNot server-side HTTP requests.If the customer’s security team requires a fixed WotNot egress IP, contact WotNot Support to confirm the currently supported configuration for your account or environment.
Last modified on October 22, 2026