---
title: "Set the forward socket for a topic"
method: PUT
path: "/api/v1/messages/topics/{topic}/forward"
tags: ["Message", "Topic"]
---

# Set the forward socket for a topic

`PUT /api/v1/messages/topics/{topic}/forward`

Set the socket path where messages for a specific topic should be forwarded to.

## Path parameters

- `topic` string, byte, required

## Request body

- TopicForwardSocketRequest — Request to set a forward socket for a topic
  - `socket_path` string — The socket path where messages should be forwarded to

## Response `204`

Forward socket set successfully

## Other responses

- `400` — Invalid topic format

## Changes

- **2025-04-10** `e2165a0513dc` — 1 info
  - endpoint added
- **2023-10-26** `1c37c167d50d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/threefoldtech/apis/mycelium-management/changes/api/v1/messages/topics/:topic/forward/put.md)

---

[API](https://skmtc.dev/threefoldtech/apis/mycelium-management.md) · [All operations](https://skmtc.dev/threefoldtech/apis/mycelium-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/threefoldtech/mycelium-management/revisions/65042c1a7b84/schema)
