Rate this page:

DialogflowCredentials

Methods

AddDialogflowKey

Copy URL

Adds a Dialogflow key.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
AddDialogflowKey example

AddDialogflowKey example

Add new Dialogflow credential.

Parameters

  • application_id:

    string

    The application ID

  • application_name:

    string

    Optional

    The application name. Can be used instead of application_id

  • json_credentials:

    string

    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

    The Dialogflow key's ID

  • description:

    string

    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.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
DelDialogflowKey example

DelDialogflowKey example

Remove key.

Parameters

  • dialogflow_key_id:

    number

    The Dialogflow key's ID

Returns

  • result:

    number

GetDialogflowKeys

Copy URL

Gets Dialogflow keys.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
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.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
BindDialogflowKeys example

BindDialogflowKeys example

Bind a Dialogflow key to the application.

Parameters

  • dialogflow_key_id:

    number

    The Dialogflow key's ID

  • application_id:

    intlist

    The application ID list separated by semicolon (;). Use the 'all' value to select all applications

  • bind:

    boolean

    Optional

    Set to false to unbind. Default value is true

Returns

  • result:

    number