---
title: "POST /news"
method: POST
path: "/news"
---

# POST /news

`POST /news`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/news`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/news/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a news article

## Request body `*/*`

- object
  - `headline` string, required: The entry's headline
  - `body` string, required: The entry's body
  - `newstypeid` integer, required: ID of the news type
  - `published` integer: Published state
  - `template` integer: If entry is a template or not
  - `datetimenews` string, required: Start date and time
  - `datetimenewsend` string: Stop date and time
  - `location` string: Entry location
  - `url` string: URL for the entry

## Response `201`

Successful entry creation

## Other responses

- `401`: Unauthorized
- `409`: Invalid data

---

[API](https://skmtc.dev/purdue/apis/rcac-api.md) - [All operations](https://skmtc.dev/purdue/apis/rcac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/purdue/apis/rcac-api/revisions/b6b910de69b0?raw)
