---
title: "Parse IdP SAML metadata XML and validate the certificate expiry (min 6 months)"
method: POST
path: "/sso/connections/parse-metadata"
tags: ["sso"]
---

# Parse IdP SAML metadata XML and validate the certificate expiry (min 6 months)

`POST /sso/connections/parse-metadata`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/sso/connections/parse-metadata`
- Auth: API key in header `Authorization`

Frontend sends the XML file contents as a JSON string.
On success returns the extracted sign_in_url, signing_cert, and entity_id
which the frontend pre-fills into the form fields.

## Request body

- SAMLParseMetadata
  - `metadata_xml` string, required: Raw XML string content of the IdP SAML metadata file

## Response `200`

Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
