# SAML: Metadata download (call 2 of 2)

Information note**LOCKED.**   
  
This API is extremely reliable and will not be broken unless absolutely necessary.

## Method

GET

## Path

/qrs/download/samlmetadata/{exportTicketId}/{fileName}

## Description

Download the Security Assertion Markup Language (SAML) metadata for an existing virtual proxy using an export ticket, identified by `{exportTicketId}`.

Information noteTo download the metadata, this path must be called by the same user as the one who called the [SAML: Metadata download (call 1 of 2)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-SAML-Metadata-DL.htm) path.

The metadata is downloaded from the repository database and stored as `{filename}`.

## Body

-

## Return value

XML file

## Optional parameters

-

## Learn more

* [SAML: Metadata download (call 1 of 2)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-SAML-Metadata-DL.htm)