---
title: "Action broadcast__subscribe"
description: "Subscribes the current user to a broadcast topic."
---

# Action `broadcast__subscribe`

> **System ID:** `action_broadcast__subscribe`

## Description

Subscribes the current user to a broadcast topic so they receive messages for that topic. You can specify a template and time. Also available as alias `action_subscription__set`.

## Events (scenario branches)

| Event | When it occurs |
|-------|----------------|
| **success** | Subscription created successfully |
| **error** | Subscription failed (module unavailable, status error, or exception) |

## Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `template_id` | number | no | `null` | Message template ID for the broadcast |
| `topic_id` | string | no | `null` | Broadcast topic identifier |
| `time` | string | no | `null` | Time for scheduling the subscription (e.g. `"09:00"`) |

## Configuration example

```json
{
  "topic_id": "newsletter",
  "template_id": 123,
  "time": "09:00"
}
```

## Related docs

- [Actions reference](/en/actionjail/reference/actions-reference.md)
