Telephony

Generate a WebRTC login token

Changed on

The issued client configuration is scoped to the authenticated user and contains only the short-lived credentials required by the calling client.

post/telephony/login

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Request body

TelephonyLoginRequest required

Identifies the Leadping user and calling context for which a short-lived telephony client token should be issued.

includeIncoming, boolean

Includes credentials for receiving calls to the authenticated organization.

device, IdNamePair nullable

User summary connected to this automation configuration response.

Response

Login token was successfully generated.

TelephonyLoginResponse required

Provides the short-lived access token and client configuration required to initialize an authenticated Leadping calling session.

incomingUsername, string nullable

Username for the organization's incoming SIP connection, when requested and configured.

incomingPassword, string nullable

Password for the organization's incoming SIP connection, when requested and configured.

username, string

Username for this telephony login.

password, string

Password for this telephony login.

expiresAt, string date-time nullable

UTC deadline for refreshing this authorized phone login.

callbackToken, string

Callback token for this telephony login.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status