---
title: "Create a New Event"
method: POST
path: "/api/v2/content/events"
tags: ["Content - Events"]
---

# Create a New Event

`POST /api/v2/content/events`

This endpoint creates a new event in the system and optionally creates visibility group relationships. <br><br>For Global Admin Tool Organizations, if the `X-Degreed-Organization-Code` header is included, the endpoint will create content for the Tenant Organization related to the header value as long as the organization is a member of the Global Admin Tool Organization. <br><br>**Note:** When visibility groups are set for content, the groups must either be (a) all of privacy level `Administrative` or (b) all of a non- `Administrative` privacy level. Non- `Administrative` privacy levels include `Open`, `Closed` and `Private`. Content in `Administrative` groups is only visible to users in the `Administrative` groups. If the content is not associated with any Administrative groups, the content is visible to all users in the organization. A group's privacy level can be retrieved from the [Get a Specific Group]() endpoint.<h3>Required Scope</h3>`content:write`

## Headers

- `X-Degreed-Organization-Code` string

## Request body

- ContentEventsBody
  - `data` ContentEventsBodyData
    - `type` string
    - `attributes` PostedEventAttributes
      - `external-id` string, required — External ID of the event.
      - `name` string, required — The name of the event.
      - `summary` string, nullable — The summary of the event.
      - `url` string, nullable, required — URL location where more information can be found.
      - `obsolete` boolean — Indicates if the event should be marked as obsolete.
      - `image-url` string, nullable — Cover image of the event.
      - `language` string, nullable — Language of the event.
      - `format` string, nullable — The format of the event. This value appears in the UI as a filter option in search. Previously, only a list of acceptable values were allowed, however, now any value is allowed.
      - `duration` number, nullable — Length of the event. Type is supplied with `duration-type`.
      - `duration-type` string, nullable — Seconds, minutes, hours, or days.
      - `date` string, date, nullable — Deprecated - Date of the event.
      - `publish-date` string, date-time — Date of the event.

## Response `201`

Success

- PostedEvent
  - `data` ListedEventData
    - `type` string
    - `id` string
    - `attributes` ListedEventAttributes
      - `date-created` string, date-time — Date that the event was created. (UTC)
      - `date-modified` string, date-time — Date that the event was last modified. (UTC)
      - `name` string, nullable — The name of the event.
      - `summary` string, nullable — Short summary of the event.
      - `image-url` string, nullable — Cover image of the event.
      - `obsolete` boolean
      - `language` string, nullable — The language of the event.
      - `publish-date` string, date-time, nullable — Date of the event. (UTC)
      - `owner` string, nullable — Owner of the event.
      - `format` string, nullable — Format of the event.
      - `date` string, date-time, nullable — Deprecated - Date of the event.
      - `url` string, nullable — URL location where the event can be found.
      - `duration` number, double — The duration for the event.
      - `duration-type` string, nullable — The duration type for the event.
      - `learning-minutes` integer — The calculated value that corresponds with the learning minutes displayed on content cards in the UI.
      - `degreed-url` string, nullable — URL location of event within Degreed UI.
      - `external-id` string, nullable — The external ID of the event.
      - `groups-with-access` string[] — Groups that have access to the content item.
      - `groups-with-access-ids` string[] — IDs of the groups that have access to the content item.
    - `links` SelfLink
      - `self` string

---

[API](https://skmtc.net/degreed/apis/degreed-api-web.md) · [All operations](https://skmtc.net/degreed/apis/degreed-api-web/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/degreed/degreed-api-web/revisions/4a22b709515c/schema)
