# 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](/api/api/script.md).

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

### BLOTOUT\_CLOUD\_TOKEN

This secret contains the authentication token used to send events to and configure Blotout Cloud.

#### Example value

EABBVs8c0W1kBPCZCm68oroxogec4DHZBYPYypyngXuOeDZCVDywtGcyxIKPao52ClOA7GAl4gf8bgZC66uCPhR4TsalZCsCVfpKf3Nhzvrm1fjiSbdvbFQVVGTsvs04r6RTC1xRUtUQxM8yvFqCpEArNXwZAMbZBxZBeNBjpqZC5qgxw9O2kRWOQc9WKCa2lkzWiuGwZDZD

#### Type

TEXT

#### Optional

false

### BLOTOUT\_CLOUD\_APP\_NAME

This secret contains the app name identifying the app on Blotout Cloud matching the token above.

#### Example value

app\_0001

#### Type

TEXT

#### Optional

false

### BLOTOUT\_CLOUD\_URL

This secret contains the ingest endpoint for events in Blotout Cloud for this app.

#### Example value

<https://api.example.com/endpoint>

#### Type

TEXT

#### Optional

false

### BLOTOUT\_VERSION

This secret contains the version of the payload that is sent from Blotout Cloud to Saras Analytics. Currently, the only supported version is **2**.

#### Example value

2

#### Type

TEXT

#### Optional

false


---

# 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/saras-analytics/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.
