Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/intercom

src/list-contacts.ts

11 lines · 376 B · TypeScript
import { listContacts, parseListContacts } from './contacts.ts'

/**
 * List Intercom contacts.
 * @example
 * import listContacts from 'kody:@kody/intercom/list-contacts'
 * const { items } = await listContacts({ perPage: 10 })
 */
export default async function listContactsEntrypoint(params: Record<string, unknown> = {}) {
	return listContacts(parseListContacts(params))
}