Quickstart

1. Get an API token

API tokens are currently issued by the administrator. Contact: @iambatashev The token is shown once when issued. Store it on the client side securely. EverMont stores only the token prefix and hash.

2. Send the token with each request

X-API-Key: <api_token>

3. Check the API

curl https://evermont-api.batashev.tech/v1/health
Expected response:
{
  "status": "ok"
}

4. Resolve a source

curl "https://evermont-api.batashev.tech/v1/sources/by-ref?source=https://t.me/Tbatashev" \
  -H "X-API-Key: <api_token>"

5. Search messages

curl "https://evermont-api.batashev.tech/v1/search/messages" \
  -H "X-API-Key: <api_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "source_ref": "https://t.me/Tbatashev",
    "query": "open source projects and AI automation",
    "limit": 5,
    "scan_messages_limit": 200
  }'

6. Generate a period summary

curl "https://evermont-api.batashev.tech/v1/summaries/channel" \
  -H "X-API-Key: <api_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "source_ref": "https://t.me/Tbatashev",
    "started_at": "2026-04-01T00:00:00Z",
    "ended_at": "2026-04-13T23:59:59Z",
    "language": "en"
  }'