Skip to content

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

Package listing

@kody/intercom

src/get-conversation.ts

11 lines · 412 B · TypeScript
import { getConversation, parseGetConversation } from './conversations.ts'

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