Two options exist for obtaining
resolutions from the SparkAI service.
- Create the initial
engagementrequest with a webhook URL. The SparkAI service will attempt to
POSTresults to the provided URL on any change of
- A user can poll the
engagementAPI endpoint for status and
resolution. This option is always available, even if a webhook URL option was provided.
The webhook URL should be:
- Able to service HTTP
- Capable of accepting JSON content
- Able to respond with a 200 (OK) status code on receipt
SparkAI will attempt the URL 5 times, at 30 second intervals unless a successful request has been made.