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, "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>" } }
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
The response is of type object.
object
Was this page helpful?