Personal API key guide

Sign in

What it does

A personal API key lets you send alerts to your own account. Use it to receive results from programs you run yourself (server jobs, backups, checks and so on) as alerts. Alerts go only to you, the key owner. You cannot send to other people or other chats.

Create a key

  1. Go to More › Connected services › Personal integration and tap [Create API key].
  2. Enter a key name (for example, Server backup alerts). It is shown as the sender name of your alerts.
  3. Copy the key and keep it somewhere safe. The key is shown only once.

Each key gets its own alert chat. You cannot reply in that chat.

Send

Address
POST https://www.jolimi.net/api/integrations/personal/notify
Headers
Authorization: Bearer <API key>Content-Type: application/json
Body
{"text":"your text"}1000 characters or fewer · line breaks allowed

Command line (curl) example

curl -X POST https://www.jolimi.net/api/integrations/personal/notify \
  -H "Authorization: Bearer <API key>" \
  -H "Content-Type: application/json" \
  -d '{"text":"Backup finished."}'

PowerShell example

Invoke-RestMethod -Method Post -Uri https://www.jolimi.net/api/integrations/personal/notify `
  -Headers @{ Authorization = "Bearer <API key>" } `
  -ContentType "application/json; charset=utf-8" `
  -Body '{"text":"Backup finished."}'

Responses

CodeMeaning
200 {"ok":true}Sent.
400 bad_textThe text is empty or longer than 1000 characters.
401 unauthorizedThe key is missing or wrong. Deleted keys return the same.
429 rate_limitedYou have hit the sending limit. Wait the number of seconds in the Retry-After response header, then try again.

Limits

Each key can send up to 30 per minute and 1000 per day.

Managing keys

Treat your key like a password. Do not put it directly in code or anywhere public. Delete keys you no longer use, or any key that may have been exposed, under Personal integration. A deleted key can no longer send alerts.