ZITADEL Docs
APIsCore ResourcesV2SAML

CreateResponse

Create Response

Finalize a SAML Request and get the response definition for success or failure. The response must be handled as per the SAML definition to inform the application about the success or failure. On success, the response contains details for the application to obtain the SAMLResponse. This method can only be called once for an SAML request.

Required permissions:

  • session.link
POST
/v2/saml/saml_requests/{saml_request_id}

Path Parameters

saml_request_id*string

ID of the SAML Request.

Response Body

application/json

application/json

curl -X POST "https://loading/v2/saml/saml_requests/string"
{
  "details": {
    "sequence": 0,
    "changeDate": "1s",
    "resourceOwner": "string",
    "creationDate": "1s"
  },
  "url": "string",
  "post": {
    "relayState": "string",
    "samlResponse": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?