Retrieve SAML response for other applications

Hi guys,

Need some help is there anyway I can get the SAML response?
I’m using an application which requires a post request with the SAML response from OKTA.
Can I get this with the OKTA API?
I’ve been reading a lot of documentation, but so far no luck.
Can you please help me how to get this?