Skip to main content
POST
Create goal

Authorizations

x-api-key
string
header
required

Your ClinikAPI secret key (clk_live_* or clk_test_*)

Body

application/json
lifecycleStatus
enum<string>
required
Available options:
proposed,
planned,
accepted,
active,
on-hold,
completed,
cancelled,
rejected
description
string
required
Maximum string length: 2000
patientId
string
required
Maximum string length: 128
achievementStatus
enum<string>
Available options:
in-progress,
improving,
worsening,
no-change,
achieved,
sustaining,
not-achieved,
no-progress,
not-attainable
category
string[]
Maximum array length: 10
Maximum string length: 200
priority
enum<string>
Available options:
high-priority,
medium-priority,
low-priority
startDate
string
target
object[]
Maximum array length: 20
statusDate
string
statusReason
string
Maximum string length: 2000
expressedById
string
Maximum string length: 128
addressesIds
string[]
Maximum array length: 20
Maximum string length: 200
note
string
Maximum string length: 5000
outcomeCode
string[]
Maximum array length: 20
Maximum string length: 500

Response

201

Goal created