Telegram API Setup
To monitor private Telegram channels, you need to provide your Telegram API credentials. This guide shows you how to get API ID and API Hash from my.telegram.org.
Private channels cannot be accessed publicly. GHOSTwire uses YOUR Telegram session to read private channels where you're a member. API credentials allow the bot to authenticate as you.
Step 1: Go to my.telegram.org
Open your browser and navigate to https://my.telegram.org
Enter your phone number to log in
Step 2: Log in with your Telegram Account
Enter your phone number (international format, e.g., +1234567890) and click "Next". You'll receive a confirmation code on Telegram.
Use international format: +1234567890
Check Telegram for the 5-digit code
Once logged in, click on "API Development Tools"
Step 3: Create an Application
After logging in, go to API Development Tools and create a new app.
Enter "GHOSTwire" or any name you prefer
Enter "ghowr_bot" or any short name
Your app will be created instantly
App title: GHOSTwire
Short name: ghowr_bot
URL: (leave empty)
Description: (optional)
[ Create Application ]
Step 4: Copy Your API Credentials
After creating the app, you'll see your api_id and api_hash. Copy these values — you'll need them in the bot.
This is a number (e.g., 12345678)
This is a long string (e.g., abc123def456...)
You'll need these for the bot setup
App title: GHOSTwire
Short name: ghowr_bot
App api_id: 12345678
App api_hash: abc123def456789...
Created: 2026-01-15
Step 5: Enter Credentials in GHOSTwire
Now go to the bot and enter your API credentials.
Go to @ghowr_bot on Telegram
Click 🔐 TG Auth from main menu
Click Setup Credentials
Paste your api_id, api_hash, and phone number
2. Log in with your phone number
3. Go to API Development Tools
4. Create an app (any name works)
5. Copy api_id and api_hash
6. In GHOSTwire: 🔐 TG Auth → Setup Credentials
7. Paste API ID, API Hash, and Phone
8. Click Connect Session → Complete login
Troubleshooting
Make sure you're copying the api_id (number) correctly, not the api_hash. The API ID is usually 6-8 digits.
The api_hash is a long string (32+ characters). Double-check that you copied the entire hash without extra spaces.
Make sure you're using the correct phone number with country code. If you have 2FA enabled, you'll need to enter your 2FA password after the code.
- Your API credentials are never shared with anyone
- The bot stores them encrypted in the database
- You can revoke access anytime from my.telegram.org → API Development Tools → Delete App
- Never share your api_hash with anyone
FAQ
Yes. Create a new app specifically for GHOSTwire. You can name it anything — "GHOSTwire" is recommended.
Yes, you can reuse credentials from another app. However, creating a new app is recommended for better tracking.
Yes. API credentials only allow the bot to read messages from channels you're a member of. The bot cannot send messages or access your personal chats.
You can always view them again from my.telegram.org → API Development Tools → Your App.