---
title: "Get SAML metadata"
method: GET
path: "/api/v1/dotsaml/metadata/{idpConfigId}"
tags: ["SAML Authentication"]
---

# Get SAML metadata

`GET /api/v1/dotsaml/metadata/{idpConfigId}`

Renders the XML metadata for the SAML Service Provider configuration. This endpoint is only accessible by administrators and provides the metadata required for IDP configuration.

## Path parameters

- `idpConfigId` string, required

## Response `200`

SAML metadata rendered successfully

## Other responses

- `401` — Unauthorized - admin access required
- `403` — Forbidden - user is not an administrator
- `404` — IDP configuration not found or not enabled
- `500` — Internal server error rendering metadata

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
