For Agents
Programmatically create a new telegraph account, edit account information. Covers 9 operations with apiKey authentication.
Use for: I need to a new telegraph account, I want to edit account information, Search for account information, Find all revoke access token
Not supported: Does not handle payments, communications, or crm - use for social media only.
Telegraph is a publishing tool by Telegram that lets you create richly formatted posts and share them instantly. The API allows creating accounts, publishing and editing pages, and retrieving page statistics. The API exposes 9 endpoints secured with apiKey authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Telegraph API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Ftelegra.ph%2Ftelegra-ph" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Ftelegra.ph%2Ftelegra-ph" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Telegraph API.
Create a new Telegraph account
Edit account information
Get account information
Revoke access token
Monitor Telegraph API operational status and events
Patterns agents use Telegraph API for, with concrete tasks.
★ Social Media Operations
Use the Telegraph API to perform social media operations programmatically. The API provides 9 endpoints covering core functionality including create a new telegraph account, edit account information, get account information.
Call POST /createAccount to create a new telegraph account
Automated createAccount Management
Automate createaccount operations by combining multiple Telegraph API endpoints. Agents can edit account information and then get account information in a single workflow.
Call POST /editAccountInfo to edit account information, then verify the result
AI Agent Integration via Jentic
AI agents discover and call Telegraph API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.
Search Jentic for 'create a new telegraph account', load the operation schema, and execute with Jentic-managed credentials
9 endpoints — telegraph is a publishing tool by telegram that lets you create richly formatted posts and share them instantly.
METHOD
PATH
DESCRIPTION
/createAccount
Create a new Telegraph account
/editAccountInfo
Edit account information
/getAccountInfo
Get account information
/revokeAccessToken
Revoke access token
/createPage
Create a new Telegraph page
/editPage/{path}
Edit a Telegraph page
/getPage/{path}
Get a Telegraph page
/getPageList
Get a list of pages belonging to a Telegraph account
/createAccount
Create a new Telegraph account
/editAccountInfo
Edit account information
/getAccountInfo
Get account information
/revokeAccessToken
Revoke access token
/createPage
Create a new Telegraph page
/editPage/{path}
Edit a Telegraph page
/getPage/{path}
Get a Telegraph page
/getPageList
Get a list of pages belonging to a Telegraph account
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Telegraph API by hand means managing its per-account access token, passing it on every call against api.telegra.ph, and building the page content and retry handling yourself. Through Jentic you install once, import the Telegraph API from the API Directory, store the access token once, and your agent calls it.
Permission scoping
The Telegraph API puts the page path in the URL (/getPage/{path}, /editPage/{path}), so a rule can pin your agent to one page: it can read and edit that page and nothing else. You choose the operations it may call, so ones like revoking the access token are not included unless you add them.
Credential isolation
Your Telegraph access token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'create a page' or 'edit a page', and Jentic returns the matching Telegraph API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using Telegraph API through Jentic.
What authentication does the Telegraph API use?
The Telegraph API uses an API key passed in the `access_token` query. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I create a new telegraph account with the Telegraph API?
Yes. Use the POST /createAccount endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Telegraph API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I create a new telegraph account through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create a new telegraph account'. Jentic returns the matching Telegraph API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the Telegraph API have?
The Telegraph API exposes 9 endpoints covering createaccount, createpage, editaccountinfo operations.
GET STARTED