Adding custom attribute to application with API

Want to add a custom attribute to my application when creating it using the API. How could this be done, and would this attribute be passed to any users who are assigned to the application?

Hi, what is the use case that you are trying to solve. If you need additional details with the token, you can do that by having custom claims which can pass on additional info with the tokens itself.

You can know more about them from this doc Customize tokens returned from Okta with custom claims | Okta Developer