Skip to main content

Create External SWML Handler

POST 

/resources/external_swml_handlers

Creates an External SWML Handler

Request

Body

required

    name string

    Name of the External SWML Handler.

    Example: My External SWML Handler
    used_for string

    Used for of the External SWML Handler.

    Possible values: [calling]

    Default value: calling
    Example: calling
    primary_request_url stringrequired

    Primary request url of the External SWML Handler.

    Example: https://primary.com
    primary_request_method string

    Primary request method of the External SWML Handler.

    Possible values: [GET, POST]

    Default value: POST
    Example: GET
    fallback_request_url string

    Fallback request url of the External SWML Handler.

    Example: https://fallback.com
    fallback_request_method string

    Fallback request method of the External SWML Handler.

    Possible values: [GET, POST]

    Default value: POST
    Example: GET
    status_callback_url string

    Status callback url of the External SWML Handler.

    Example: https://callback.com
    status_callback_method string

    Status callback method of the External SWML Handler.

    Possible values: [GET, POST]

    Default value: POST
    Example: POST

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 SWML Handler.

    Example: My External SWML Handler
    used_for stringrequired

    Used for of the External SWML Handler.

    Possible values: [calling]

    Example: calling
    primary_request_url stringrequired

    Primary request url of the External SWML 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 SWML 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 SWML Handler.

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

    The method type to use for the URL

    Possible values: [GET, POST]