---
title: "Set owner email + Telegram — get paged when agent is low on gas"
method: POST
path: "/api/agent/set-contact"
tags: ["agents"]
---

# Set owner email + Telegram — get paged when agent is low on gas

`POST /api/agent/set-contact`

## Request

- Base URL: `https://x711.io`
- URL: `https://x711.io/api/agent/set-contact`
- Auth: API key in header `X-API-Key`

## Request body

- object
  - `owner_email` string, email
  - `owner_telegram` string: Numeric Telegram chat_id from @userinfobot

## Response `200`

Contact saved

---

[API](https://skmtc.dev/x711/apis/x711-universal-agent-gas-station-api.md) · [All operations](https://skmtc.dev/x711/apis/x711-universal-agent-gas-station-api/llms.txt) · [OpenAPI document](https://skmtc.dev/x711/apis/x711-universal-agent-gas-station-api/revisions/8ed6c60350a6?raw)
