Skip to main content

Update Call Flow

PUT 

/resources/call_flows/:id

Updates a Call Flow by ID.

Request

Path Parameters

    id uuidrequired

    The ID of the Call Flow

Body

required

    titlestring

    The name of the Call Flow

    Example: Booking Assistant
    document_versioninteger

    The current revision of the call flow. Every update must increase this number.

    Example: 2

Responses

A Call Flow

Schema

    iduuid
    Example: 993ed018-9e79-4e50-b97b-984bd5534095
    project_iduuid
    Example: 1313fe58-5e14-4c11-bbe7-6fdfa11fe780
    display_namestring
    Example: Booking Assistant
    typestring
    Example: call_flow
    created_atdate-time
    Example: 2024-01-02T00:00:00Z
    updated_atdate-time
    Example: 2024-01-02T00:00:00Z

    call_flow

    object

    iduuid

    A unique identifier for the Call Flow

    titlestring

    The name of the Call Flow

    Example: Booking Assistant
    flow_datastring
    Example: {}
    relaymlstring

    A SWML document. For more information on SWML, please go to https://developer.signalwire.com/swml

    Example: {}
    document_versioninteger

    The current revision of the call flow. Every update must increase this number.

    Example: 1