If you like to import any external data source using API then Jira Asset Imports can help you do this.
For customized imports then this will require the iHub for Jira Cloud app.
It supports any REST and SOAP based API and today there are some templates to get you started;
Jira User Import
Okta Import
Generic API Import (any api)