---
schema_version: "1"
id: 6a9eca4ed49a80cc35b5c5f08fcb049374d31ab1c3d44392c9794be0a59e547c
title: Publish
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_triggeredSendPublish.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_triggeredSendPublish.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 981130251f6644dcc0402775817d06304e188e4f03573aed05cf0f20ca9151a0
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Publish

Publishes changes and updates to a triggered send and returns a status

## Syntax

`Publish()`

## Example

To use the `Publish()` function, you must first initialize the triggered send object. Next, call the `Publish()` function on the initialized object.

```js
var tsd = TriggeredSend.Init("triggeredSend");
var status = tsd.Publish();
```
