Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
POST /cloud/v2/universes/{universe_id}:publishMessage — cloud.docs
Publish Universe Message
Publishes a message to the universe's live servers.
Servers can consume messages via MessagingService.
Endpoint
Method: POST
Path: /cloud/v2/universes/{universe_id}:publishMessage
Servers:
https://apis.roblox.com
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| universe_id | path | true | The universe ID. |
[
{
"name": "universe_id",
"in": "path",
"description": "The universe ID.",
"required": true,
"schema": {
"type": "string"
}
}
] Request Body
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PublishUniverseMessageRequest"
}
}
},
"required": true
} Responses
| Status | Description |
|---|---|
| 200 | OK |
{
"200": {
"description": "OK",
"content": {}
}
} Authentication
{
"security": [],
"securitySchemes": {}
} Related Schemas
Complete Operation Definition
{
"tags": [
"Cloud"
],
"summary": "Publish Universe Message",
"description": "Publishes a message to the universe's live servers.\n\nServers can consume messages via\n[MessagingService](https://create.roblox.com/docs/reference/engine/classes/MessagingService).",
"operationId": "Cloud_PublishUniverseMessage",
"parameters": [
{
"name": "universe_id",
"in": "path",
"description": "The universe ID.",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PublishUniverseMessageRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {}
}
},
"x-visibility": "STABLE",
"x-roblox-engine-usability": {
"apiKeyWithHttpService": false
},
"x-roblox-rate-limits": {
"description": "Messaging Service requests are subject to additional throttling limits described in the [Open Cloud guide for Messaging Service](https://create.roblox.com/docs/cloud/guides/usage-messaging#limits)."
},
"x-roblox-scopes": [
{
"name": "universe-messaging-service:publish"
}
],
"x-roblox-docs": {
"category": "Universes and places",
"methodProperties": {
"scopes": [
"universe-messaging-service:publish"
]
},
"resource": {
"$ref": "#/components/schemas/Universe",
"name": "Universe"
}
}
}