Sinch Node.js SDK - v0.0.3
    Preparing search index...

    Class AvailableNumberApi

    Hierarchy

    • NumbersDomainApi
      • AvailableNumberApi
    Index

    Methods

    • Get available number This endpoint allows you to enter a specific phone number to check if it's available for use. A 200 response will return the number's capability, setup costs, monthly costs and if supporting documentation is required.

      Parameters

      Returns Promise<AvailableNumber>

    • Rent an available number Activate a virtual number to use with SMS products, Voice products, or both. You'll use 'smsConfiguration' to set up your number for SMS and 'voiceConfiguration' for Voice.

      Parameters

      Returns Promise<ActiveNumber>

    • Update the default basePath for the API

      Parameters

      • basePath: string

        The new base path to use for the APIs.

      Returns void