Getting startedSet up integrationsCreate your first initiativeInvite your teamPlan today's workShare your first update
Build with One HorizonMCPCLIAPI KeysREST APIJavaScriptJavaScript SDKOAuth AppsWebhooks
DocsAPI Reference

Main

  • Home
  • About
  • Pricing
  • Vault
  • Changelog
  • Docs

Features

  • Roadmaps
  • Planning
  • Standups
  • Status updates
  • Insights
  • AI assistant / MCP
  • Integrations

Solutions

  • Startups
  • Dev shops / agencies
  • Software teams
  • Internal IT & platform teams

Alternatives

  • vs Jira
  • vs Linear
  • vs Asana
  • vs Monday.com
  • vs ClickUp
  • vs Notion

Company

  • Blog
  • Security
  • Log in
  • Sign up
  • Terms of Use
  • Privacy Policy

Resources

  • Docs
  • Community
  • API reference
  • CLI
  • Desktop app
  • SDK

© 2026 One Horizon. All rights reserved

FacebookInstagramThreadsXRedditTikTokYouTubeMedium


JavaScript SDK

The JavaScript SDK is the typed client for the REST API.

It includes generated API clients, TypeScript models, bearer-token auth through Configuration.accessToken, and webhook event types. The package has no runtime dependencies.

Read the SDK docs

Getting started

Install it in a Node.js or TypeScript project:

npm i @onehorizon/sdk-js@latest

Pass any One Horizon bearer credential to Configuration.accessToken: a workspace API key for internal services, or an OAuth access token from an OAuth app.

import { Configuration, TasksApi, TaskScope, TaskStatus } from '@onehorizon/sdk-js'
const config = new Configuration({ accessToken: process.env.ONE_API_KEY })const tasks = new TasksApi(config)
const { tasks: active } = await tasks.listTasks({  workspaceId: 'current',  scope: [TaskScope.Initiative],  status: [TaskStatus.Planned, TaskStatus.InProgress, TaskStatus.Review]})
console.log(active.map(({ taskId, title }) => ({ taskId, title })))

Webhook receivers

The webhook templates linked from Custom App use the SDK for CloudEvents typing and optional follow-up API calls. Webhooks covers delivery, verification, retries, and event handling.


PreviousREST APINextOAuth Apps

API Keys

Create and manage workspace-scoped API keys for backend services, CI, and trusted automation.

MCP

Let AI assistants read and act on One Horizon work context through tools.

OAuth Apps

Configure OAuth on a custom app for login, workspace connection, and user-approved API access.

CLI

Install the CLI, sign in, choose a workspace, and work from your terminal.

  • Getting started
  • Webhook receivers
  • Back to top