lmk

Give an agent this page and the bearer token as a secret. It can then send one text or image to Anshay's fixed iMessage thread.

  1. 01

    Set the token

    Store the private bearer token as LMK_INGRESS_TOKEN. The URL alone cannot send. Never paste the token into a prompt or log it.

  2. 02

    Send a text

    curl --fail-with-body -X POST https://lmk.asanshay.com/ \ -H "Authorization: Bearer $LMK_INGRESS_TOKEN" \ -H "Content-Type: text/plain" \ --data-binary '[agent] Build passed. https://example.com/run/123'
  3. 03

    Send a hosted image

    Use a public HTTPS image URL. The caption is optional.

    curl --fail-with-body -X POST https://lmk.asanshay.com/ \ -H "Authorization: Bearer $LMK_INGRESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"image_url":"https://example.com/result.png","text":"[agent] Done."}'
  4. 04

    Send a local image

    Upload one PNG, JPEG, or GIF up to 4 MiB. The caption is optional.

    curl --fail-with-body -X POST https://lmk.asanshay.com/ \ -H "Authorization: Bearer $LMK_INGRESS_TOKEN" \ -F "image=@/absolute/path/to/result.png" \ -F "text=[agent] Done."
  5. 05

    Keep it useful

    • Send only when the user explicitly asks for a phone notification.
    • Send once, after the requested work is actually done.
    • Lead with the outcome. Add one useful link or next action.
    • Never include credentials, authentication codes, private keys, or raw logs.

    200 Notified! means Linq accepted the message, not that it was delivered. Do not retry a failed or uncertain send without checking first.