Skip to main content
Mintlify

Search documentation

Type to search this documentation.

On this pageOverview

Response fields

MDX
<ResponseField name="response" type="string" required>

  A response field example

</ResponseField>

Use the <ResponseField> component to define the return values of an API. Many docs also use <ResponseField> on pages when you need to list the types of something.

string

required

A response field example

MDX
<ResponseField name="response" type="string" required>

  A response field example

</ResponseField>

string

required

The name of the response value.

string

required

Expected type of the response value. This can be any arbitrary string.

string

The default value.

boolean

Show “required” beside the field name.

boolean

Whether you have deprecated a field or not.

string[]

Labels that appear before the name of the field.

string[]

Labels that appear after the name of the field.

MDX
<ResponseField name="response" type="string" required>

  A response field example

</ResponseField>

⌘I

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu