Ontime v2
Link to new docs
  • ontime
  • Feature list
  • Roadmap
  • Contributing
  • Main Concepts
    • Interface
      • Settings Bar
      • Rundown
      • Timer Control
      • Display Messages
      • Info
      • Quick start
      • Upload
      • Integration Settings
      • Application Settings
        • App Settings
        • Event Data
        • Editor Settings
        • Cuesheet settings
        • Views
        • URL Aliases
      • About modal
  • Views
    • Network views (Intro)
    • Stage Timer
    • Clock
    • Minimal Timer
    • Backstage Info
    • Public Info
    • Lower Thirds
    • Studio Clock
    • Countdown
    • Cuesheet
  • Control and feedback
    • Ontime APIs
      • HTTP API
    • Integrations
    • Runtime Data
  • Features
    • Google Sheet
    • Smart Time Entry
    • The delay workflow
    • Roll
    • Import events from Excel
    • URL Aliases
    • Edit Anywhere
    • Headless Mode (Docker)
    • Note: Lower thirds in OBS
    • User fields
    • Custom Styling
    • Make your own viewer
    • Count to anything
    • External data
  • ❤️Additional Notes
    • Control Ontime from vMix
    • Sync: Poll ontime status
    • Use in Raspberry Pi
    • Companion module
Powered by GitBook
On this page
  1. Control and feedback

Ontime APIs

PreviousCuesheetNextHTTP API

Last updated 1 year ago

Ontime has a strong focus on integrations. We want ontime to play well into your workflow.

Have an idea of how could this be better? Let's chat! Get in touch on email or

We would like you to and your own controllers, and let Ontime handle the distribution and time-keeping

The Ontime app window, as well as the editor page, communicate with ontime through an open API. You can leverage this API yourself to extend the feature set or integrate into your workflow

The OSC and Websocket API allow for low latency communication to ontime server. Both APIs are identical, so it is up to you to choose the most convenient protocol

The has access to a smaller subset of features

OSC and WebSocket API

Maybe you know your way around code? That is the best and most up-to-date source!

Message
Payload
Description
Return

test-ontime

"hello"

ontime-poll

Returns the entire runtime state

set-onair

"false" | "true" | undefined

Sets on air to given value, toggle if none is given

onair

Set on air to true

offair

Set on air to false

set-timer-message-text

string

Sets text of timer message

set-timer-message-visible

"false" | "true" | undefined

Sets visibility to given value, toggle if none is given

set-public-message-text

string

Sets text of public message

set-public-message-visible

"false" | "true" | undefined

Sets visibility to given value, toggle if none is given

set-lower-message-text

string

Sets text of lower message

set-lower-message-visible

"false" | "true" | undefined

Sets visibility to given value, toggle if none is given

start

Starts selected timer

start-next

Loads and starts next timer in rundown

startindex

number

Loads and starts event at index (first event is 1)

startid

string

Loads and starts event with given ID

startcue

string

Loads and starts event with given cue

pause

Pauses playback

previous

Loads previous event

next

Loads next event

stop

Stops playback

reload

Reloads selected event

roll

Sets playback mode to roll

delay

number

Adds a delay of given time to a playing event

loadindex

number

Loads event at given index (first event is 1)

loadid

number

Loads event at given ID

loadcue

string

Loads event with given cue

get-playback

{topic: "playback", payload: <RuntimeData.playback>}

get-timer

{topic: "timer", payload: <RuntimeData.timer>}

{ topic: "poll", payload: }

Returns playback portion

Returns timer portion

mail@getontime.no
open an issue in GitHub
build your own views
HTTP API
https://github.com/cpvalente/ontime/blob/master/apps/server/src/controllers/integrationController.ts
<RuntimeData>
Runtime Data
Runtime Data