---
name: "pushpin-publish"
section: "1"
platform: "linux"
package: "pushpin"
version: "1.36.0-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/pushpin-publish"
---

# pushpin-publish(1)

publish messages to Pushpin.

## NAME

pushpin-publish - publish messages to Pushpin.

## SYNOPSIS

**pushpin-publish** \[**-h**\] \[**--code** *CODE*\] \[**-H** *HEADER*\] \[**--spec** *SPEC*\] \[**--close**\] *channel* \[*content*\]

## DESCRIPTION

Publish messages to Pushpin.

## OPTIONS

- channel

  channel to send to

- content

  content to use for HTTP body and WS message

- \-h, --help

  show help message and exit

- \--code CODE

  HTTP response code to use. default 200

- \-H HEADER, --header HEADER

  add HTTP response header

- \--spec SPEC

  zmq PUSH spec. default tcp://localhost:5560

- \--close

  close streaming requests

## SEE ALSO

[*pushpin*(1)](/pushpin/1.md)
