---
title: "Publish extension on an entity"
method: POST
path: "/publish/v2/extensions"
---

# Publish extension on an entity

`POST /publish/v2/extensions`

Since 1.0.0

## Headers

- `TMPS-Correlation-Id` string, required

## Request body

- ExtensionData — This class defines an extenstion data on the Publish API
  - `source` string, required — Source of the extension, where it came from
  - `type` string, required — The type of the extension. This represent the data sent
  - `relatedEntityType` 'event' | 'venue' | 'attraction', required — The type of the entity to add this extensions to
  - `relatedEntityId` string — Id of the entity to add this extionsion to. If the relatedEntityId is Null, a relatedEntitySource MUST be provided
  - `relatedEntitySource` Source — Source
    - `name` string — Source's name
    - `id` string — ID of the entity in the source's system
  - `versionNumber` integer — Version of the extensions. Version is to prevent to override an extension with an older one
  - `data` object, required — The actual information to add to the entity

## Response `200`

successful operation

---

[API](https://skmtc.net/ticketmaster-api/apis/ticketmaster-publish-api.md) · [All operations](https://skmtc.net/ticketmaster-api/apis/ticketmaster-publish-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ticketmaster-api/ticketmaster-publish-api/versions/109dd23e9174/schema)
