Get Engagement Channels

An engagement channel is a medium, such as Phone, Video, and In Person that service resources use to meet customers.

Before using engagement channels for scheduling appointments:

  1. Create a page to show the engagement channel types. Salesforce Scheduler shows service resources and resource time slots based on the channel that a user selects when creating an appointment.

  2. Make a GET request on the engagement-channel-types Connect API.

    Sample Request

    Filter the engagement channel types by the workTypeGroupId selected in the previous step.

    1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/scheduling​/engagement-channel-types?workTypeGroupIds=0VSS700000000sVOAQ

    Where YOUR_INSTANCE is a variable.

    You can filter the engagement channel type results by workTypeGroupIds or workTypeIds.

    Note

    Sample Response

    The request returns the engagement channels for the workTypeGroupId specified in the request.

    1{
    2  "result" : {
    3    "engagementChannelTypes" : [ {
    4      "contactPointType" : "Video",
    5      "id" : "0eFS70000004CGAMA2",
    6      "name" : "EngagementChannel2",
    7      "workTypeGroupIds" : [ ],
    8      "workTypeIds" : [ ]
    9    }, {
    10      "contactPointType" : "InPerson",
    11      "id" : "0eFS70000004CG5MAM",
    12      "name" : "EngagementChannel1",
    13      "workTypeGroupIds" : [ ],
    14      "workTypeIds" : [ ]
    15    }, {
    16      "contactPointType" : "Video",
    17      "id" : "0eFS70000004CGFMA2",
    18      "name" : "EngagementChannel3",
    19      "workTypeGroupIds" : [ ],
    20      "workTypeIds" : [ ]
    21    } ]
    22  }
    23}
  3. Parse the JSON response, and show the engagement channel types on the page that you created.

Your users can select an engagement channel type for the appointment from the page.