Skip to main content

Update External LAML Handler

PATCH 

/resources/external_laml_handlers/:id

Updates an External LAML Handler by ID

Request

Path Parameters

    id uuidrequired

    Unique ID of a External LAML Handler.

Body

required

    name string

    Name of the External LAML Handler.

    Example: My External LAML Handler
    used_for string

    Used for of the External LAML Handler.

    Possible values: [calling, messaging]

    Default value: calling
    Example: calling
    primary_request_url string

    Primary request url of the External LAML Handler.

    Example: https://primary.com
    primary_request_method string

    Primary request method of the External LAML Handler.

    Possible values: [GET, POST]

    Default value: POST
    Example: GET
    fallback_request_url string

    Fallback request url of the External LAML Handler.

    Example: https://fallback.com
    fallback_request_method string

    Fallback request method of the External LAML Handler.

    Possible values: [GET, POST]

    Default value: POST
    Example: GET
    status_callback_url string

    Status callback url of the External LAML Handler.

    Example: https://callback.com
    status_callback_method string

    Status callback method of the External LAML Handler.

    Possible values: [GET, POST]

    Default value: POST
    Example: POST

Responses

The request has succeeded.

Schema

    id uuidrequired

    Universal Unique Identifier.

    name stringrequired

    Name of the External LAML Handler.

    Example: My External LAML Handler
    used_for UsedForType (string)required

    Sets the handler to handle incomming calls or messages.

    Possible values: [calling, messaging]

    primary_request_url stringrequired

    Primary request url of the External LAML Handler.

    Example: https://primary.com
    primary_request_method UrlMethodType (string)required

    The method type to use for the URL

    Possible values: [GET, POST]

    fallback_request_url stringrequired

    Fallback request url of the External LAML Handler.

    Example: https://fallback.com
    fallback_request_method UrlMethodType (string)required

    The method type to use for the URL

    Possible values: [GET, POST]

    status_callback_url stringrequired

    Status callback url of the External LAML Handler.

    Example: https://callback.com
    status_callback_method UrlMethodType (string)required

    The method type to use for the URL

    Possible values: [GET, POST]