---
title: "Get a SAML IDP"
method: GET
path: "/api/v1/saml/idps/{id}"
tags: ["SAML"]
---

# Get a SAML IDP

`GET /api/v1/saml/idps/{id}`

Required scope - root

## Path parameters

- `id` number, required

## Response `200`

A SAML IDP

- object
  - `idp` SamlIdp
    - `id` number, required
    - `name` string, required
    - `isActive` boolean, required
    - `userIdAttribute` string, required
    - `emailAttribute` string, nullable, required
    - `firstNameAttribute` string, nullable, required
    - `lastNameAttribute` string, nullable, required
    - `metadata` string, required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `deletedAt` string, nullable, required

## Changes

- **2025-06-13** `d5d5891dee18` — 1 info
  - added the required property `idp/isActive` to the response with the `200` status
- **2025-06-05** `fa91e1b32a49` — 1 info
  - endpoint added
- **2024-08-11** `11e2773b3a1e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/changes/api/v1/saml/idps/:id/get.md)

---

[API](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api.md) · [All operations](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/valuemelody/melody-auth-s2s-api/revisions/2e1471620fd7/schema)
