Synadia Cloud

HTTP Gateway

A first-class HTTP interface for NATS.

The KV Store API is currently available in preview to all users.


The HTTP Gateway is exposed via a standard endpoint over HTTPS Refer to the interactive OpenAPI Spec for details on the available endpoints and methods.

An HTTP Gateway token is required to connect and is scoped to a User within an Account. This can be ontained through the user interface or through the Synadia Cloud API.

User Interface

To obtain a token through the user interface, go to a specific User page and click the "Get Connected" dropdown and click on the "HTTP Gateway" dialog to generate the token.

To obtain an HTTP Gateway token through the Synadia Cloud API, you can use the OpenAPI interface or use an HTTP client to make the request.

curl -X POST -H "Accept: application/json" \

Where {userId} is the ID of the User you want to generate the token for.

The token will look something like this:


You can confirm it works by trying it out with any standard HTTP client such as curl:

curl -H "Authorization: Bearer <API_TOKEN>" \

If there are existing KV buckets in your account, you will see them listed, otherwise the response will be an empty array.

Token Management

It is recommended to create dedicated Users for applications that will be using the HTTP Gateway, separate from the NATS-centric applications. A User provides the ability to set permissions and expiry as well as rotate and revoke the associated credentials.

API Reference

Refer to the full OpenAPI Reference for more details on the available endpoints and methods.

Placement Tags