Type alias Config

Config: {
    apiKey: string;
    attribution?: string;
    basePath?: string;
    fetchApi?: FetchAPI;
    headers?: {
        [key: string]: string;
    };
}

MailSlurp config

Remarks

Obtain your API Key in your dashboard.

Type declaration

  • apiKey: string
  • Optional attribution?: string
  • Optional basePath?: string
  • Optional fetchApi?: FetchAPI
  • Optional headers?: {
        [key: string]: string;
    }
    • [key: string]: string