API - Documentation

Check the API details in the Swagger documentation.

2026-08-12

Introduction to APIs

The NicoChat API is used to retrieve data from the flow you build. Here are some examples of what you can do with it.

  • Extract from NicoChat the flow you built.
  • Create, delete, or get data, including flow tags and fields.
  • Handle subscriber data: get the subscriber information, edit their tags or fields, and send subflows to them.
  • Set up all the data used in e-commerce, such as carts or products.

If you need to work with the data below, the next sections show the steps to use the NicoChat API.

Authorize

Because data protection is important, the API uses a few attributes to authorize your identity. So the first step is to enter the authorization data. Click the Authorize button, as shown in the figure below.

There are three attributes you need to fill in the text box.

The following section shows how to find these attributes.

Generate API key (http, Bearer)

Step 1. After logging in to your NicoChat account, the account name and the avatar appear in the top right corner. Click them and choose Account Settings from the dropdown.

Step 2. Go to the API Keys section by clicking the button in the user settings. Enter the name of the key you want to create and click the Create button.

Step 3. The key then appears in a pop-up window.

Attention
WARNING - Here is your new API key. This is the only time the key will be shown, so make sure not to lose it! You can revoke the key at any time in the API settings.

When you close the window, you will see the basic information about the key, except the key value.

Get the Curl and the Request URL

Curl is used in API requests. In the NicoChat API documentation, you need to perform a few operations before getting the curl.

Here we use Get Flow Tag as an example.

Step 1. Click to expand the category, in this case Flow Tag. Then find the action and the resource Get /flow/tags. Click the row and a dropdown area will be displayed, as shown in the image below.

Step 2. This icon means authorize. If you have already done this before, this step is not necessary. Otherwise, repeat what was described in the Authorize section.