Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions news.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Toontown Rewritten News API

## Requests

All requests must be submitted via HTTP GET to `https://www.toontownrewritten.com/api` with one of the following endpoints.

If you are frequently making calls to this API, we would appreciate it if you set a descriptive User-Agent.

## GET `/news`

Returns the latest `news` object.

## GET `/news/{postId}`

Uses `postId` to retrieve the corresponding `news` object. If no post is found, the text `null` is returned instead.

## GET `/news/list`

Returns an array of all `news` objects.

## `news` Values

| Name | Description |
|------|-------------|
| postId | Identifier for the news post. |
| title | Title of the news post. |
| author | Author of the news post. |
| body | HTML contents of the release note as a string. |
| date | Date and time the news post was published as a string, for example `June 15, 2025 at 12:00 PM`. |
| image | URL of the first image in the news post as a string, for example `https://cdn.toontownrewritten.com/media/news-site/img/25-06-15_pridedayteamspotlight.png`. |