Skip to main content
POST
/
api-keys
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const apiKey = await client.apiKeys.create({ api_key: 'api_key', provider: 'provider' });

console.log(apiKey);
{}

Headers

authorization
string

Body

application/json

Request to save API keys.

provider
string
required
api_key
string
required
base_url
string | null

Response

Successful Response

{key}
string
I