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

# Parses arbitrary X12 and returns the envelope structure — a debugging aid.

> Parsed envelope structure

### Response

No response body. Parsed envelope structure.

### Status codes

| Code  | Meaning                    |
| ----- | -------------------------- |
| `200` | Parsed envelope structure  |
| `422` | Unparseable or invalid X12 |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://edi.stateset.com/v1/edi/parse' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
