Overview
Telegraph is a minimalist publishing API from the Telegram team that lets you create and edit clean, shareable blog posts programmatically. You create an account anonymously with just a short token — no email or password needed. It is a great beginner project for learning how to publish formatted content via an API.
Beginner Tip
Call the createAccount endpoint first to get your access_token, then use createPage to publish your first article — the whole flow takes less than five minutes.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://api.telegra.ph/createAccount?short_name=Sandbox&author_name=Anonymous
- Result
- HTTP 200 · application/json · 254 bytes · compressed
- Response time
- 276 ms (median of 3) · fastest 272 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by GoDaddy.com, Inc.
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Served by
- nginx/1.30.1
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| short_name | string | Sandbox |
| author_name | string | Anonymous |
| author_url | string | |
| access_token | string | 84f7d340a4ce1f55cec399e26fd7c8264aced7d0062f1… |
| auth_url | string (url) | https://edit.telegra.ph/auth/gBHSgyED8ESAa9i4… |
Captured Response
Captured from a real request to https://api.telegra.ph/createAccount?short_name=Sandbox&author_name=Anonymous on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"ok": true,
"result": {
"short_name": "Sandbox",
"author_name": "Anonymous",
"author_url": "",
"access_token": "84f7d340a4ce1f55cec399e26fd7c8264aced7d0062f1b248dbbdf90e67b",
"auth_url": "https://edit.telegra.ph/auth/gBHSgyED8ESAa9i4I7D6p8iChvCx6Ilkh0dxyP8FsY"
}
} Field Reference
ok True if the API call succeeded. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.telegra.ph/createAccount";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Ayrshare
⭐ Beginner's PickAyrshare is a social media API platform that lets you publish posts, retrieve analytics, and manage multiple social media accounts across platforms like Twitter, Instagram, Facebook, and LinkedIn from a single API.
Meetup.com
Meetup.com API lets you access event and group data from the Meetup platform using GraphQL.
TamTam
TamTam is a Russian messaging app and its Bot API lets you build chatbots that can send messages, receive updates, and interact with users on the platform.
4chan
⭐ Beginner's PickThe 4chan API provides read-only, public access to boards, threads, and posts on 4chan with no authentication required.
Lanyard
⭐ Beginner's PickLanyard is a free, open-source API that exposes your real-time Discord presence such as what you are playing or listening to via a simple REST API or WebSocket.