Magidoc

createTimer
Mutation

Create a new timer, optionally associated with an action

Access: Requires user to be logged in and have access to the workspace. If actionId is provided, the action must belong to the same workspace.

Arguments

#

workspaceId

ID !
Non-null

Workspace ID the timer belongs to

actionId

Action ID to associate the timer with (optional)

timerStatus

Initial status for the timer (paused or running). Defaults to paused.

Response

#

Returns Timer !.

Example

#