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 keyuser(required) — target usernamemessage(required) — message textpersonalkey(required) — your personal keyid(required) — target user idmessage(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
Example URL
https://pythbots.com/api/mail.php?personalkey=YOUR_KEY&id=221192&message=hello