Skip to main content

Create External LAML Handler

POST 

/resources/external_laml_handlers

Creates an External LAML Handler

Request

Body

required

    name string

    Name of the External LAML Handler.

    used_for string

    Possible values: [calling, messaging]

    Default value: calling

    Used for of the External LAML Handler.

    primary_request_url stringrequired

    Primary request url of the External LAML Handler.

    primary_request_method string

    Possible values: [GET, POST]

    Default value: POST

    Primary request method of the External LAML Handler.

    fallback_request_url string

    Fallback request url of the External LAML Handler.

    fallback_request_method string

    Possible values: [GET, POST]

    Default value: POST

    Fallback request method of the External LAML Handler.

    status_callback_url string

    Status callback url of the External LAML Handler.

    status_callback_method string

    Possible values: [GET, POST]

    Default value: POST

    Status callback method of the External LAML Handler.

Responses

The request has succeeded and a new resource has been created as a result.

Schema

    id uuidrequired

    Universal Unique Identifier.

    name stringrequired

    Name of the External LAML Handler.

    used_for UsedForType (string)required

    Possible values: [calling, messaging]

    Sets the handler to handle incomming calls or messages.

    primary_request_url stringrequired

    Primary request url of the External LAML Handler.

    primary_request_method UrlMethodType (string)required

    Possible values: [GET, POST]

    The method type to use for the URL

    fallback_request_url stringrequired

    Fallback request url of the External LAML Handler.

    fallback_request_method UrlMethodType (string)required

    Possible values: [GET, POST]

    The method type to use for the URL

    status_callback_url stringrequired

    Status callback url of the External LAML Handler.

    status_callback_method UrlMethodType (string)required

    Possible values: [GET, POST]

    The method type to use for the URL

Loading...