The API key can have full access to Emailr’s API or be only restricted to send
emails. * full_access: Can create, delete, get, and update any resource. *
sending_access: Can only send emails.
Copy
import { Emailr } from 'emailr';const emailr = new Emailr('em_xxxxxxxxx');const { data, error } = await emailr.apiKeys.create({ name: 'Production' });