# Return a JSON response

Create a protected HTTP Endpoint workflow with a single HTTP Response node and inspect the real response.

## Plan availability

| Feature | Free | Starter | Pro | Enterprise |
| --- | --- | --- | --- | --- |
| Active workflows | 3 | 10 | 45 | Unlimited |

Allowances follow the [published Chatigram pricing page](https://chatigram.com/pricing/). Your organization’s Billing & Plans screen confirms its subscription and current usage. Plans can change. Plan information reviewed 2026-11-10.


## What this workflow does

The **HTTP Endpoint** trigger accepts the configured request. **HTTP Response** returns status 200 and a small JSON object containing a message.

The example deliberately leaves the trigger secret empty and keeps request protection enabled. Set a fresh secret in the inspector before enabling the workflow; do not disable protection just to bypass the required setup.

## Configure your endpoint

Import the example, open the trigger, and generate or set your own secret. Save to obtain the endpoint URL. Keep the URL and secret private where appropriate for your use case.

Open **respond** to inspect the status and JSON body. The body is built with Chatigram’s structured JSON editor, so the downloadable definition contains the editor’s JSON-value structure rather than a raw string.

## Test the result

Enable the reviewed workflow and copy the request example shown in your own trigger inspector. Send the request with its required header and verify the response:

```json
{
  "message": "Hello from Chatigram."
}
```

Check Workflow Activity as well as the caller’s response. If an error occurs, confirm that you used your own saved endpoint and current secret.

## Extend the response

Add response extraction to the trigger if you need request data as variables. Add your work before the response node and return only the fields the caller needs.

For waiting or long-running tasks, read [HTTP request behavior](/integrations/http-api/) before assuming the caller receives a synchronous final result.


## Copyable workflow

https://docs.chatigram.com/examples/http-response.json
