Skip to main content
POST
Create an objective

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Body

application/json

The new Objective resource

project
string<iri-reference>
Example:

"/api/v1/projects/1"

name
string
description
string | null
position
integer | null
color
string | null
dateStart
string<date-time> | null
dateEnd
string<date-time> | null
owner
string<iri-reference> | null
Example:

"/api/v1/users/1"

Response

Objective resource created

id
integer
read-only
uuid
string | null
project
string<iri-reference>
Example:

"/api/v1/projects/1"

name
string
description
string | null
position
integer | null
color
string | null
dateStart
string<date-time> | null
dateEnd
string<date-time> | null
owner
string<iri-reference> | null
Example:

"/api/v1/users/1"

dateCreated
string<date-time>
read-only
dateUpdated
string<date-time> | null
read-only
goals
string<iri-reference>[]
Example: