---
title: "Endpoint response snippet"
subtitle: "<EndpointResponseSnippet> embeds an endpoint's response example from the API reference."
---

This component pulls data from the API reference, so it updates automatically with the OpenAPI spec. The examples below reference this site's [platform API](/api-reference).

A response example card for an endpoint (alias `<ResponseSnippet>`), switchable when there are multiple status codes:

```mdx
<EndpointResponseSnippet endpoint="POST /orgs/{org}/members" example="invited" />
```

<EndpointResponseSnippet endpoint="POST /orgs/{org}/members" example="invited" />

Props: `endpoint` (required), `example`, `highlight`, with the same meaning as above.

In the page's `.md` version it's the status, its description, and a code block with the response example.
