cURL
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, "verification": { "link": "<string>" }, "subscribedApps": [ { "id": "255d6163-7e25-43e9-a188-c2f8d0980a4a", "name": "Dialect", "icon": "https://dialect-file-storage.s3.us-west-2.amazonaws.com/avatars/dialect-logo.png" } ] }
Prepare telegram channel for a subscriber
Bearer token authentication for subscriber calls
Client Key used to uniquely identify the client
"dk_gyh2eqzfkc4mhp5eiahnndkz"
Telegram channel prepared successfully
EMAIL
TELEGRAM
Show child attributes
Application ID
"255d6163-7e25-43e9-a188-c2f8d0980a4a"
Application name
1
"Dialect"
Icon URL
"https://dialect-file-storage.s3.us-west-2.amazonaws.com/avatars/dialect-logo.png"
Was this page helpful?