Webhook URL
Two options exist for obtaining resolutions from the SparkAI service.
- Create the initial
engagementrequest with a webhook URL. The SparkAI service will attempt toPOSTresults to the provided URL on any change ofengagementstatus. - A user can poll the
engagementAPI endpoint for status andresolution. This option is always available, even if a webhook URL option was provided.
The webhook URL should be:
- Well-formed
- Able to service HTTP
POSTrequests - 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.
