Start Interaction
This method starts a specified Interaction Flow.
For complete details on creating and working with Interaction Flows, click here.
Invoking the Method Using REST
URL Syntax and Example
http(s)://[host:port/internalPath]/ApplicationName/version/[version]/account/[accountID]/interaction/[interactionId]
https://gointeract.io/interact/version/2/account/12345678/interaction/51051a3ecaa2842e82038505
HTTP Method
POST
HTTP Headers
The application key passed in the header needs to be that of an application to which the Interaction is published (Mobile Web, Web Self Service or Agent). The channel type passed should match the application type. In the following example, parameters for the Mobile Web application are used.
Content-Type: application/json Tenant-Id: <account> Application-Key: <Mobile Web application key> Environment-Name: <environment-name> Channel-Type: MOBILE_WEB
Sample Response
HTTP/1.1 200 OK Location: http://localhost:8080/jas/version/2/account/1/interaction/spark1