import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const apiKey = await client.apiKeys.create({ api_key: 'api_key', provider: 'provider' });
console.log(apiKey);{}Save API key for a provider.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: process.env['MORPHIK_API_KEY'], // This is the default and can be omitted
});
const apiKey = await client.apiKeys.create({ api_key: 'api_key', provider: 'provider' });
console.log(apiKey);{}Was this page helpful?