Relay

POST /api/send

api_keystring
messagestring
typestring
titlestring
colorstring
filesarray

200
400
401
413
429 (10/minutes )
502

import base64
import requests

with open("report.pdf", "rb") as f:
    encoded = base64.b64encode(f.read()).decode()

response = requests.post(
    "https://relay.freedev.fr/api/send",
    json={
        "api_key": "pk_your_key",
        "message": "The backup job completed successfully.",
        "type": "success",
        "files": [
            {"filename": "report.pdf", "content_base64": encoded},
        ],
    },
)
print(response.status_code, response.json())
curl -X POST https://relay.freedev.fr/api/send \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "pk_your_key",
    "message": "Custom build with no predefined type",
    "title": "๐Ÿ”ง Build finished",
    "color": "#5865F2"
  }'
await fetch("https://relay.freedev.fr/api/send", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    api_key: "pk_your_key",
    message: "Deploy finished โœ…",
    type: "success",
  }),
});

info โ„น๏ธ Info #5865f2
success โœ… Success #2ecc71
warning โš ๏ธ Warning #e67e22
alert ๐Ÿšจ Alert #e74c3c
error โŒ Error #e74c3c
critical ๐Ÿ”ฅ Critical #992d22

debug ๐Ÿ› Debug #607d8b
test ๐Ÿงช Test #1abc9c
build ๐Ÿ—๏ธ Build #3498db
compile โš™๏ธ Compile #3498db
deploy ๐Ÿš€ Deployment #9b59b6
release ๐Ÿ“ฆ Release #9b59b6
rollback โ†ฉ๏ธ Rollback #e67e22

server ๐Ÿ–ฅ๏ธ Server #206694
startup ๐ŸŸข Startup #2ecc71
shutdown ๐Ÿ”ด Shutdown #e74c3c
restart ๐Ÿ”„ Restart #e67e22
maintenance ๐Ÿ› ๏ธ Maintenance #e67e22
uptime โฑ๏ธ Uptime #2ecc71

cpu ๐Ÿง  CPU #e67e22
ram ๐Ÿ’พ RAM #e67e22
disk ๐Ÿ’ฟ Disk #e67e22
temperature ๐ŸŒก๏ธ Temperature #e74c3c
performance ๐Ÿ“Š Performance #3498db
health โค๏ธ Health Check #2ecc71

network ๐ŸŒ Network #3498db
connection ๐Ÿ”— Connection #3498db
timeout โŒ› Timeout #e67e22
offline ๐Ÿ“ด Offline #e74c3c
online ๐Ÿ“ก Online #2ecc71

security ๐Ÿ”’ Security #f1c40f
login ๐Ÿ”‘ Login #2ecc71
logout ๐Ÿšช Logout #99aab5
authentication ๐Ÿชช Authentication #f1c40f
permission โ›” Permission #e74c3c
attack โš”๏ธ Attack Detected #992d22
firewall ๐Ÿงฑ Firewall #c27c0e

database ๐Ÿ—„๏ธ Database #1abc9c
backup ๐Ÿ’ฝ Backup #2ecc71
restore โ™ป๏ธ Restore #3498db
migration ๐Ÿ”€ Migration #9b59b6

api ๐Ÿ”Œ API #3498db
request ๐Ÿ“จ Request #5865f2
rate_limit ๐Ÿšฆ Rate Limit #e67e22
webhook ๐Ÿช Webhook #9b59b6

user ๐Ÿ‘ค User #979c9f
signup ๐Ÿ“ New User #2ecc71
delete_user ๐Ÿ—‘๏ธ User Deleted #e74c3c

payment ๐Ÿ’ณ Payment #f1c40f
purchase ๐Ÿ›’ Purchase #2ecc71
invoice ๐Ÿงพ Invoice #3498db
refund โ†ฉ๏ธ Refund #e67e22

ai ๐Ÿค– AI #9b59b6
model ๐Ÿง  Model #9b59b6
training ๐Ÿ“š Training #3498db
prediction ๐Ÿ”ฎ Prediction #1abc9c

trade ๐Ÿ“ˆ Trade #2ecc71
buy ๐ŸŸข Buy #2ecc71
sell ๐Ÿ”ด Sell #e74c3c
profit ๐Ÿ’ฐ Profit #2ecc71
loss ๐Ÿ“‰ Loss #e74c3c
market ๐Ÿ“Š Market #3498db

bot ๐Ÿค– Bot #9b59b6
bot_online ๐ŸŸข Bot Online #2ecc71
bot_offline ๐Ÿ”ด Bot Offline #e74c3c
command โŒจ๏ธ Command #5865f2

file ๐Ÿ“„ File #3498db
upload โฌ†๏ธ Upload #2ecc71
download โฌ‡๏ธ Download #3498db
storage ๐Ÿ“ Storage #e67e22