> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastgen.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Success

**Define success reponses for your APIs.**

<img src="https://mintcdn.com/organa/IAAgt4Qjpzo5KMmv/images/success-response-header.png?fit=max&auto=format&n=IAAgt4Qjpzo5KMmv&q=85&s=2f874bd81acb1906a9c18b9d64f9b205" alt="success-response-header" width="1620" height="904" data-path="images/success-response-header.png" />

## Overview

The Success Response allows you to specify a response that will be sent back to the client when the API endpoint completes successfully. You are able to set a `Status Code`, `Response Header` as well as a `Response Body` to provide additional information to the client.

For the Success Response, choose a `2xx` status code.

Lastly, through the toggle you are able to allow further action blocks to be executed after a response has been sent.

## Example

Down below you can see a success message in it's most simple form:

<iframe style={{overflow: "hidden", borderRadius: "6px"}} width="100%" height="370px" src="https://app.fastgen.com/demo/success" />
