Rate this page:

DialogflowCredentials

Methods

AddDialogflowKey

Copy URL

Adds a Dialogflow key.

AddDialogflowKey example

AddDialogflowKey example

Add new Dialogflow credential.

Parameters

  • application_id:

    string

    Optional

    The application ID.

  • application_name:

    string

    Optional

    The application name. Can be used instead of application_id.

  • json_credentials:

    string

    Optional

    Dialogflow credentials, provided by JWK (Json web key).

  • description:

    string

    Optional

    The Dialogflow keys's description.

Returns

  • result:

    number

  • dialogflow_key_id:

    number

SetDialogflowKey

Copy URL

Edits a Dialogflow key.

SetDialogflowKey example

SetDialogflowKey example

Set the new description for dialogflow_key_id = 3324 and account_id = 1.

Parameters

  • dialogflow_key_id:

    number

    Optional

    The Dialogflow key's ID.

  • description:

    string

    Optional

    The Dialogflow keys's description. To clear previously set description leave the parameter blank or put whitespaces only.

Returns

  • result:

    number

DelDialogflowKey

Copy URL

Removes a Dialogflow key.

DelDialogflowKey example

DelDialogflowKey example

Remove key.

Parameters

  • dialogflow_key_id:

    number

    Optional

    The Dialogflow key's ID.

Returns

  • result:

    number

GetDialogflowKeys

Copy URL

Gets Dialogflow keys.

GetDialogflowKeys example

GetDialogflowKeys example

Get push credentials.

Parameters

  • dialogflow_key_id:

    number

    Optional

    The Dialogflow key's ID.

  • application_name:

    string

    Optional

    The name of the bound application.

  • application_id:

    number

    Optional

    The id of the bound application.

Returns

BindDialogflowKeys

Copy URL

Binds a Dialogflow key to the specified applications.

BindDialogflowKeys example

BindDialogflowKeys example

Bind a Dialogflow key to the application.

Parameters

  • dialogflow_key_id:

    number

    Optional

    The Dialogflow key's ID

  • application_id:

    intlist

    Optional

    The application ID list separated by the ';' symbol or the 'all' value.

  • bind:

    boolean

    Optional

    Set to false to unbind. Default value is true.

Returns

  • result:

    number