---
title: "Publish a MassTransit message by specifying the DTO type name, optional routing key, and the JSON payload. Resolves the type from the Gameball.MassTransit assembly."
method: POST
path: "/ops/v1/publish-message"
tags: ["Ops"]
---

# Publish a MassTransit message by specifying the DTO type name, optional routing key, and the JSON payload. Resolves the type from the Gameball.MassTransit assembly.

`POST /ops/v1/publish-message`

## Request

- Base URL: `https://api.gameball.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gameball.co/ops/v1/publish-message`
- Auth: none declared. Required headers: `APIKey`

## Headers

- `Authorization` string
- `lang` string
- `APIKey` string, required
- `SecretKey` string

## Request body

- GameBallAPIControllersV1OpsPublishMessageRequest
  - `messageType` string, nullable
  - `routingKey` string, nullable
  - `payload` unknown

## Response `200`

OK

---

[API](https://skmtc.dev/gameballers/apis/gameball-api-2.md) - [All operations](https://skmtc.dev/gameballers/apis/gameball-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/gameballers/apis/gameball-api-2/revisions/91732ad54d20?raw)
