Skip to main content

Update stored Dialogflow Connection

PUT 

/dialogflow_connections/:connection_id

Updates a stored Dialogflow Connection.

Request

Path Parameters

    connection_id stringrequired

    Uniquely identifies a Telnyx application (Call Control).

Body

required

The params expected to create/update a Dialogflow Connection for given connection_id.

    service_account objectrequired

    The JSON map to connect your Dialoglow account.

    dialogflow_api string

    Possible values: [cx, es]

    Default value: es

    Determin which Dialogflow will be used.

    conversation_profile_id string

    The id of a configured conversation profile on your Dialogflow account. (If you use Dialogflow CX, this param is required)

    location string

    The region of your agent is. (If you use Dialogflow CX, this param is required)

    environment string

    Which Dialogflow environment will be used.

Responses

200: Return details of the Dialogflow connection associated with the given CallControl connection.

Schema

    data

    object

    required

    record_type string
    connection_id string

    Uniquely identifies a Telnyx application (Call Control).

    conversation_profile_id string

    The id of a configured conversation profile on your Dialogflow account. (If you use Dialogflow CX, this param is required)

    environment string

    Which Dialogflow environment will be used.

    service_account string

    The JSON map to connect your Dialoglow account.

default: Unexpected error.

Schema

    errors

    Error[]

  • Array [

  • code integerrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object
  • ]

Loading...