Spark
Spark API provides two endpoints: agent-to-agent and handoff to Spark.
Spark agent-to-agent API overview
Connect your existing AI agent to Spark using the Agent-to-Agent (A2A) protocol. Employees keep working in their current chat tools, and Spark answers through a webhook you host.
The process consists of the following steps:
The employee makes a request in your existing chatbot.
Your agent reads the Spark agent card and sends the request to Spark.
Spark processes the request and delivers its response to your webhook.
Your agent returns the response to the employee and reuses the
contextIdandtaskIdfor follow-up messages.
Refer to Connecting Spark to your AI agent through Agent2Agent for more information.
Spark handoff API overview
Spark provides a standard handover mechanism that allows third-party chatbots to transfer a live conversation to Spark without losing context. The process consists of the following steps:
Employees initiate an IT request through a familiar enterprise chatbot interface.
The chatbot forwards the user message to Spark using the Handoff API.
Spark responds in Microsoft Teams and notifies the employee.
The employee continues the resolution in Microsoft Teams by interacting with Spark.
This ensures a seamless employee experience and minimizes development effort.
Setting up API credentials
To set up an integration with the Nexthink API, you must first create a set of API credentials in your instance that the external application or service uses to access the Spark API. Refer to the API Credentials documentation.
Configuring Spark for API
Register your webhook URL under Third-party credentials in Administration. Select HTTPS as the protocol. The URL must match the webhook URL that your agent sends in each request.
Refer to Agent To Agent for more information about request structure, authentication, and supported parameters
The Spark handoff API does not require any configuration within the Nexthink platform. Redirection is currently handled automatically through the Spark Microsoft Teams application.
Refer to Handoff API for more details about request structure, authentication requirements, and supported parameters.
Last updated
Was this helpful?

