Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
...
The Invocation
is a JSON object that contains two properties:
at the momentprovider
. In this example, you are not releasing an interaction that was dispatched with the name of a provider. You can therefore ignore this property.
Note title Release action If you were using this endpoint to release an interaction that was dispatched with the name of a provider,
provider
would be required.requests
. Required Therequests
property contains one or moreInteraction
objects which, in turn, contain further properties. The example uses the following properties to route the interaction:action
. The action you want to perform with the request. Allowed values are dispatch and release.requestid
. Unique identifier of a request.externalid
. Unique identifier of the existing interaction. Theexternalid
must have been set on the interaction when first routed using thePOST /Invoke
endpoint.
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "requests": [ { "action": "release", "requestid": "uniqueRequestId", "externalid": "existingInteractionId", } ] } |
Putting it all together
Using a tool for making API requests, send the required parameters in your request.
...