Skip to main content

Integration & API

Connect your scripts or services to DesireCore using the address and credentials for the service you need. The guides cover connection checks, conversations and results, Agent Webhooks, model protocols, and workflow integration.

Choose a guide​

GoalRequirementsGuide
Connect an instanceAdministrator-provided HTTPS address and instance tokenConnection and authentication
Submit conversations and follow resultsInstance owner access, Agent ID, Node.js 22+ for the exampleConversations and Runs
Trigger an Agent from external eventsEnabled event and Agent-level Webhook secret; owner configuration requires the webhookManagement capabilityAgent Webhook
Call model protocols through the local proxyRunning local proxy and provider-bound safe tokenModel proxy
Trigger an existing workflowSeparate Workflow Service address, service token, and administrator-provided definitionWorkflow integration
Import HTTP contracts into a toolSelect the spec for your serviceOpenAPI downloads
Let DesireCore call your business serviceMCP server, tools or skillsMCP integration and integration overview

Credentials and results​

Agent Service uses X-Agent-Service-Token; external Webhooks use Authorization: Bearer <Webhook secret>. Model proxy credentials and Workflow Service tokens have their own scope. A provider API Key does not substitute for an instance credential.

A handshake 200 confirms the authenticated request. Query submission 202 and Webhook 200 accepted acknowledge admission or receipt; follow the corresponding guide to observe completion and delivery. Conversation events use Socket.IO, while Workflow progress uses SSE.

Start integrating​

  1. Obtain the actual service address and its credential. Use verified HTTPS for remote access.
  2. Complete the connection check or the selected guide's minimal example.
  3. Check the actual response and result delivery. See errors and troubleshooting for failures.
Documentation and instance addresses

https://docs.desirecore.com/api is a documentation page. Send API requests to your own instance address, such as https://agent.example.com.