POST /tenants/{tenant_id}/tickets
Header X-API-Key: blk_….
Quickstart
This is the sandbox.
MSP first connect: Halo and ConnectWise.
Copy the curl. You should get tickets back with sandbox: true.
Send the key as X-API-Key. Host is bitlync-sandbox-demo.onrender.com.
export BITLYNC_BASE=https://bitlync-sandbox-demo.onrender.com
X-API-Key: blk_b27562d334f68281b783571dd8aa2522f2dddb273fd30311 tenant_id: sandbox-mainstreet # or sandbox-northline
sandbox-mainstreet and sandbox-northline are the sandbox tenants.
curl -sS -H "X-API-Key: blk_b27562d334f68281b783571dd8aa2522f2dddb273fd30311" \ https://bitlync-sandbox-demo.onrender.com/tenants/sandbox-mainstreet/tickets
Reads include vendor.native. .raw is the same payload and is read-only. Writes take optional vendor_native.
dry_run defaults to false, so a write is real. Send an idempotency_key; the same key on a retry returns idempotent_replay. Test writes in the sandbox. Optional: dry_run: true checks a write against a new MSP's setup without creating a record.
POST /tenants/{tenant_id}/tickets
Header X-API-Key: blk_….
body
Outbound Bitlync→ISV events. One register route for ticket / device / company kinds (grants required). Save secret once; verify Bitlync-Signature. Details: Webhooks.
curl -sS -X POST "$BITLYNC_BASE/tenants/sandbox-mainstreet/ticket-events/webhook" \
-H "X-API-Key: $BITLYNC_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/bitlync/hooks"}'
Sandbox day-one proof is registration plus GET /tenants/{id}/connections/events?kind=…. Live push needs a reachable HTTPS URL — example.com will not receive events.
curl -s "$BITLYNC_BASE/tenants/sandbox-mainstreet/audit" \ -H "X-API-Key: $BITLYNC_KEY"
POST /sandbox/reset is off on the public demo host. A production tenant returns 422 request_invalid.
Same CanonicalService as REST. Four tools: list_tickets, list_devices, list_installed_applications, route_finding. route_finding is the write. Use $BITLYNC_BASE.
{
"mcpServers": {
"bitlync": {
"url": "$BITLYNC_BASE",
"headers": {
"X-API-Key": "$BITLYNC_KEY"
}
}
}
}
Use the Bitlync MCP. Tenant sandbox-mainstreet. Send X-API-Key. Read with list_tickets, list_devices, or list_installed_applications. The write tool is route_finding. Ticket create with dry_run is REST.