Send mail by username/ID

Mail API - Send Message (by username)


Send an encrypted message to another user using your personal key

Endpoint
https://pythbots.com/api/mail.php?personalkey=$personalkey&user=$username&message=$message

What it does
Sends a mail message to a user (by username).

Only this endpoint needs a key: personalkey.

Parameters


  • personalkey (required) — your personal key

  • user (required) — target username

  • message (required) — message text
  • Example URL


    https://pythbots.com/api/mail.php?personalkey=YOURKEY&user=tiro&message=hello

    Mail API - Send by ID


    Send an encrypted message to another user by their user ID

    Endpoint
    https://pythbots.com/api/mail.php?personalkey=$personalkey&id=$userid&message=$message

    Parameters


  • personalkey (required) — your personal key

  • id (required) — target user id

  • message (required) — message text

Example URL


https://pythbots.com/api/mail.php?personal
key=YOUR_KEY&id=221192&message=hello