SenseCrypt Docs
API ReferenceAdmin Saml Apps

Parse Sp Metadata

POST/v1/admin/saml-apps/parse-metadata

Parse an SP's SAML metadata XML into form fields (entityID, ACS URLs, signing/encryption certs). Pure — does not persist; the SPA uses the result to pre-fill the create/edit form.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Raw SP metadata XML to parse into form fields (does not persist).

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/admin/saml-apps/parse-metadata" \  -H "Content-Type: application/json" \  -d '{    "metadata_xml": "string"  }'
{  "entity_id": "string",  "signing_cert_pem": "string",  "encryption_cert_pem": "string",  "acs_urls": [    {      "url": "string",      "binding": "post"    }  ],  "name_id_formats": [    "string"  ]}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}