POST
/
v2
/
channel
/
telegram
/
prepare
Prepare Telegram Channel
curl --request POST \
  --url https://alerts-api.dial.to/v2/channel/telegram/prepare \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Dialect-Client-Key: <x-dialect-client-key>'
{
  "id": "<string>",
  "type": "EMAIL",
  "value": "<string>",
  "verified": true,
  "subscribed": true,
  "subscribedApps": [
    {
      "id": "255d6163-7e25-43e9-a188-c2f8d0980a4a",
      "name": "Dialect",
      "icon": "https://dialect-file-storage.s3.us-west-2.amazonaws.com/avatars/dialect-logo.png"
    }
  ],
  "verification": {
    "link": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication for subscriber calls

Headers

X-Dialect-Client-Key
string
required

Client Key used to uniquely identify the client

Example:

"dk_gyh2eqzfkc4mhp5eiahnndkz"

Response

200
application/json

Telegram channel prepared successfully

The response is of type object.