Okta SAML API integration

Hi,

I am trying to automate the Okta SAML integration for an app. I am able to create the SSO app succesfully using the api/v1/apps endpoint. However, the response does not include the IDP SSO URL, and the IDP Issuer URL.

Where can I retrieve this data without going through the UI?

Thanks,

One way is to grab from XML, if you hit https://your_okta_domain/app/your_app_id/sso/saml/metadata

Maybe people can suggest something else to get those values directly. But to be honest, they always follow the same rule:

where your_app_name = application name from API call for your_app_id