Get Logged-in Account Info
View All Telegram Messaging API APIs →Return information about the account logged in on this session: its numeric user id, phone number, username, first and last name, and whether it is a bot. Use it to confirm exactly which account a session is connected as and to display your own identity before sending.
API Features
Own-account details Returns the connected account's id, phone, username, and name
Session verification Confirm exactly which Telegram account a session is linked to
Pre-send check Verify identity before broadcasting from the account
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
GET
/api/project/telegram-messaging/get-account API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Show the connected account's identity in a dashboard
- Verify a session is linked to the expected account before sending
- Audit which account an automation is operating as