---
title: "GET /providers/wsfed/{id}/metadata/"
method: GET
path: "/providers/wsfed/{id}/metadata/"
tags: ["providers"]
---

# GET /providers/wsfed/{id}/metadata/

`GET /providers/wsfed/{id}/metadata/`

Return metadata as XML string

## Path parameters

- `id` integer, required

## Query parameters

- `download` boolean
- `force_binding` 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST' | 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect'

## Response `200`

- SAMLMetadata — SAML Provider Metadata serializer
  - `metadata` string, required
  - `download_url` string, nullable

## Other responses

- `400`
- `403`
- `404` — Provider has no application assigned

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
