listEmails (sdk.gen)

temps · email, email-list, http-client

Exported API client function that performs a bearer-authenticated GET request to /emails and returns a typed request result.

export const listEmails = <ThrowOnError extends boolean = false>(options?: Options<ListEmailsData, ThrowOnError>): RequestResult<ListEmailsResponses, ListEmailsErrors, ThrowOnError> => (options?.client ?? client).get<ListEmailsResponses, ListEmailsErrors, ThrowOnError>({
    security: [{ scheme: 'bearer', type: 'http' }],
    url: '/emails',
    ...options
});

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key