Skip to content

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

Package listing

@kody/intercom

src/get-contact.ts

11 lines · 357 B · TypeScript
import { getContact, parseGetContact } from './contacts.ts'

/**
 * Get one Intercom contact by id.
 * @example
 * import getContact from 'kody:@kody/intercom/get-contact'
 * const contact = await getContact({ id })
 */
export default async function getContactEntrypoint(params: Record<string, unknown> = {}) {
	return getContact(parseGetContact(params))
}