Create new salesforce application via API

When I create a Salesforce app, using the UI, I use the template and fill in the parameters. I now need to automate the process and create the app via API.

Using the Okta postman-collections I can successfully create a custom SAML 2.0 app, though it is missing a lot of fields found in the Salesforce template. My questions are…

  1. Can I use the Salesforce template via API?
  • If yes, how do I get the template?
  • If not, how can I add the missing fields in a custom app?
  1. During the UI creation of a Salesforce app there are setup instructions (from the Sign On tab) that have a link to the Okta certificate. How would I get that cert via API?