---
title: "Create"
method: POST
path: "/backends/http_response"
tags: ["HTTPResponseBackends"]
---

# Create

`POST /backends/http_response`

## Headers

- `ngrok-version` integer, required

## Request body

- HTTPResponseBackendCreate
  - `description` string — human-readable description of this backend. Optional
  - `metadata` string — arbitrary user-defined machine-readable data of this backend. Optional
  - `body` string — body to return as fixed content
  - `headers` object — headers to return
  - `status_code` integer — status code to return

## Response `201`

n/a

- HTTPResponseBackend
  - `id` string — n/a
  - `uri` string — URI of the HTTPResponseBackend API resource
  - `created_at` string — timestamp when the backend was created, RFC 3339 format
  - `description` string — human-readable description of this backend. Optional
  - `metadata` string — arbitrary user-defined machine-readable data of this backend. Optional
  - `body` string — body to return as fixed content
  - `headers` object — headers to return
  - `status_code` integer — status code to return

## Other responses

- `4XX` — An error. The body carries a machine-readable error_code and a human-readable msg; every code is documented at https://ngrok.com/docs/errors. A 429 with error code ERR_NGROK_226 means the account exceeded the documented request-rate limit.
- `5XX` — An error. The body carries a machine-readable error_code and a human-readable msg; every code is documented at https://ngrok.com/docs/errors. A 429 with error code ERR_NGROK_226 means the account exceeded the documented request-rate limit.

## Changes

- **2024-10-22** `e40349f8ec6f` — 1 info
  - api operation id `HTTPResponseBackendsCreate` removed and replaced with `HttpResponseBackendsCreate`

[Change history](https://skmtc.dev/ngrok/apis/ngrok-openapi/changes/backends/http_response/post.md)

---

[API](https://skmtc.dev/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.dev/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/revisions/c697539ac350/schema)
