API endpoint for create_application_template