Skip to content

Getting your api_id and api_hash ​

VoiceDrop talks to Telegram with your own application credentials. No keys ship with the binary. Creating them is free, takes about a minute, and is separate from your Telegram account password.

Why does VoiceDrop ask for them?

Telegram requires every third-party client to be registered as an "app". api_id and api_hash identify that app. Your account password (2FA) is separate and is only entered later during login.

Create credentials on my.telegram.org ​

  1. Open my.telegram.org and log in with your phone number. Use the number you want to send from; the login code arrives inside Telegram.
  2. Open API development tools.
  3. If you do not have an app yet, fill in the short form:
    • App title — anything, for example VoiceDrop
    • Short name — lowercase, for example voicedrop
    • URL — can stay empty
    • Platform — choose Desktop
    • Description — anything, for example personal file sender
  4. Press Create application (or Create app).
  5. Copy App api_id (a number) and App api_hash (32 hex characters).

Paste them into VoiceDrop ​

  1. Launch VoiceDrop. On a fresh install, the API & runtime panel opens automatically.
  2. Paste api_id and api_hash, then press Save.
  3. The sign-in panel appears: enter your phone number, the code from Telegram, and your 2FA password if the account has one.

Everything is stored locally on your machine in data/config.json next to the executable (or in the per-user data directory if the install directory is read-only — see Portable Layout & Data).

Common errors ​

MessageMeaning
API_ID_INVALIDWrong api_id, or copied with extra spaces
API_ID_PUBLISHED_FLOODThis key pair was published somewhere public; create a new app
PHONE_NUMBER_INVALIDPhone number is missing its country code, e.g. +380…
PHONE_CODE_INVALID / PHONE_CODE_EXPIREDRequest a new code and enter it promptly
SESSION_PASSWORD_NEEDEDThe account has 2FA enabled — enter the password in the next step

Security ​

  • Treat api_hash like a password. Do not commit it, paste it into public issues, or share screenshots of the settings panel.
  • One pair per person is enough; creating a second app later is also fine.
  • To revoke an app, open my.telegram.org → API development tools → Delete application. Existing sessions continue working until you terminate them from Telegram → Settings → Devices.