Skip to main content
POST
Create a work order or approve a work request

Authorizations

Authorization
string
header
required

Organization API key with an sk_live_ or sk_test_ prefix

Body

application/json
title
string
required
Maximum string length: 255
description
string | null
Maximum string length: 5000
type
enum<string> | null
Available options:
CYCLE_COUNT,
OTHER,
PREVENTIVE,
REACTIVE,
null
priority
enum<string>
Available options:
NONE,
LOW,
MEDIUM,
HIGH
assetId
string | null
locationId
string | null
dueDate
string<date-time> | null
startDate
string<date-time> | null
estimatedTime
integer | null
Required range: x >= 0
workRequestId
string | null

Approves and links this Work Request. Repeated approval returns the existing Work Order.

extraFields
object

Response

Work order created or existing linked work order returned

id
string
required