# API

{% hint style="warning" %}
This section is intended for developers utilizing our APIs to add channels.
{% endhint %}

Below you will find the keys to generate secret payloads for adding or updating a channel via the [Script API](https://docs.edgetag.io/api/api/script).

Refer to the [onboarding](/channels/listrak/onboarding.md) for detailed information on the purpose and usage of each input.

### LISTRAK\_LIST\_ID <a href="#listraklistid" id="listraklistid"></a>

Use for storing the List ID that identifies the list you want to add users to.

**Example value**

345039

**Type**\
IDENTIFIER

**Optional**\
false

### LISTRAK\_EMAIL\_CLIENT\_ID <a href="#listrakemailclientid" id="listrakemailclientid"></a>

Use for storing the Email Client ID which is generated by Email API integration in Listrak.

**Example value**

It9k9b79sty6i9hixbdw\
\
**Type**\
TEXT\
\
**Optional**\
false

### LISTRAK\_EMAIL\_CLIENT\_SECRET <a href="#listrakemailclientsecret" id="listrakemailclientsecret"></a>

Use for storing the Email Client Secret which is generated by Email API integration in Listrak.

**Example value**

Yc5f5Ub4ghl2GC5mwaVu2Vtcc7dnr7J95AsxfxkJL4E

**Type**\
PASSWORD

**Optional**\
false

### LISTRAK\_CROSS\_CHANNEL\_CLIENT\_ID <a href="#listrakcrosschannelclientid" id="listrakcrosschannelclientid"></a>

Use for storing the Cross Channel Client ID which is generated by Cross Channel API integration in Listrak.

**Example value**

ojuky+ZTNNhcEIDT38JMJu4vsVIWSnuZuyTpTibVypg

**Type**\
TEXT

**Optional**\
false

### LISTRAK\_CROSS\_CHANNEL\_CLIENT\_SECRET <a href="#listrakcrosschannelclientsecret" id="listrakcrosschannelclientsecret"></a>

Use for storing the Cross Channel Client Secret which is generated by Cross Channel API integration in Listrak.

**Example value**

w9tbz0xuur8kiu3bnwr2

**Type**\
PASSWORD

**Optional**\
false

### LISTRAK\_EMAIL\_ACCESS\_TOKEN <a href="#listrakemailaccesstoken" id="listrakemailaccesstoken"></a>

Use for storing the Email Access Token to send custom events.

**Example value**

9bf8f560-7304-4444-aef7-1822d1f6038e

**Type**\
PASSWORD

**Optional**\
true

### LISTRAK\_CROSS\_CHANNEL\_ACCESS\_TOKEN <a href="#listrakcrosschannelaccesstoken" id="listrakcrosschannelaccesstoken"></a>

Use for storing the Cross Channel Access Token.

**Example value**

9bf8f560-7304-4444-aef7-1822d1f6038e

**Type**\
PASSWORD

**Optional**\
true

### LISTRAK\_SEGMENT\_FIELD\_ID

Use for storing the Segment Field ID for saving the contact to the segment.

**Example value**

45342123

**Type**\
TEXT

**Optional**\
true


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.edgetag.io/channels/listrak/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
