First, you need to export an .app file of the application. Then using the following request you can import an application to the catalog:
curl -i -X POST \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/application-import-jobs'
--form 'file=<your-.app-file>'
A successful response looks like this for example:
{
"data": {
"id": "eea1ed58a01f444c805a138cea33247a",
"status": "PENDING",
"message": ""
}
}