Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Class ConversationService

    The Conversation Service exposes the following APIs:

    • app
    • contact
    • capability
    • conversation
    • messages
    • events
    • transcoding
    • webhooks
    • templatesV1
    • templatesV2
    Index

    Properties

    app: AppApi
    capability: CapabilityApi
    consents: ConsentsApi
    contact: ContactApi
    conversation: ConversationApi
    events: EventsApi
    messages: MessagesApi
    projectSettings: ProjectSettingsApi
    templatesV1: TemplatesV1Api

    Use templatesV2 instead

    templatesV2: TemplatesV2Api
    transcoding: TranscodingApi
    webhooks: WebhooksApi

    Methods

    • Updates the credentials used to authenticate API requests.

      Parameters

      Returns void

    • Update the default hostname for each API (except Templates)

      Parameters

      • hostname: string

        The new hostname to use for the APIs.

      Returns void

    • Update the current region for each API

      Parameters

      • region: string

        The new region to use in the production URL

      Returns void

    • Update the default hostname for the Templates APIs

      Parameters

      • hostname: string

        The new hostname to use for the Templates APIs.

      Returns void