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

    Class AppApi

    Index

    Methods

    • Create an app You can create a new Conversation API app using the API. You can create an app for one or more channels at once. The ID of the app is generated at creation and will be returned in the response.

      Parameters

      Returns Promise<AppResponse>

    • Delete an app Deletes the app specified by the App ID. Note that this operation will not delete contacts (which are stored at the project level) nor any channel-specific resources (for example, WhatsApp Sender Identities will not be deleted).

      Parameters

      Returns Promise<any>

    • Update an app Updates a particular app as specified by the App ID. Note that this is a `PATCH` operation, so any specified field values will replace existing values. Therefore, if you&#39;d like to add additional configurations to an existing Conversation API app, ensure that you include existing values AND new values in the call. For example, if you&#39;d like to add new `channel_credentials`, you can get your existing Conversation API app, extract the existing `channel_credentials` list, append your new configuration to that list, and include the updated `channel_credentials` list in this update call.

      Parameters

      Returns Promise<AppResponse>