# API

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

Refer to the [configuration page](https://app.gitbook.com/o/c0Wts1N48p0Ba5S58p8v/s/ZJWZKbUk0hRISkCIj2p4/~/changes/72/channels/snapchat/configuration) for detailed information on the purpose and usage of each input.

### PINTEREST\_CONVERSION\_TOKEN

See the [config description](https://app.gitbook.com/o/c0Wts1N48p0Ba5S58p8v/s/ZJWZKbUk0hRISkCIj2p4/~/changes/83/channels/pinterest/onboarding#conversion-token).\
\
**Example value**\
pina\_AIA2RFAWCDP52AIGACANOD3X5MJ43GABAAAAB3BPEKKAMCIUITRSZ3WYZAC4LPY3ZV2533YQ2A2SGS2HANMFBZNXAZXLZMBA\
\
**Type**\
PASSWORD\
\
**Optional**\
false

### PINTEREST\_ACCOUNT\_ID

See the [config description](https://app.gitbook.com/o/c0Wts1N48p0Ba5S58p8v/s/ZJWZKbUk0hRISkCIj2p4/~/changes/83/channels/pinterest/onboarding#account-id).

**Example value**\
549764976217\
\
**Type**\
IDENTIFIER\
\
**Optional**\
false

### PINTEREST\_PRODUCT\_ID\_MAPPING

See the [config description](https://app.gitbook.com/o/c0Wts1N48p0Ba5S58p8v/s/ZJWZKbUk0hRISkCIj2p4/~/changes/83/channels/pinterest/configuration#product-id-mapping).

**Possible values**\
0 for Product ID\
1 for Variant ID\
2 for SKU&#x20;

**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/pinterest/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.
