Create Objective

POST /v2/partner/objectives

Required scopes

partner:objectives:write

Tokens missing any required scope return 401 scope_missing. See Auth & Scopes for issuance.

Operation

Operation ID createObjective
Tags Outcomes

Request body

Required

object
FieldTypeDescription
id *idUUID v4.
type *enum (1)
objective
team_id *idUUID v4.
name *string
key *string
descriptionstring
benchmarknumber
benchmark_kindenum (2)
ratecount
driver_idstring (uuid)
value_centsinteger
is_archived *boolean
inserted_at *updated_atRFC 3339 / ISO 8601 timestamp.
updated_at *updated_atRFC 3339 / ISO 8601 timestamp.
template_ids *id[]

Responses

201
Created
object
FieldTypeDescription
id *idUUID v4.
type *enum (1)
objective
team_id *idUUID v4.
name *string
key *string
descriptionstring
benchmarknumber
benchmark_kindenum (2)
ratecount
driver_idstring (uuid)
value_centsinteger
is_archived *boolean
inserted_at *updated_atRFC 3339 / ISO 8601 timestamp.
updated_at *updated_atRFC 3339 / ISO 8601 timestamp.
template_ids *id[]

Example request

POST https://api.digitalonboarding.com/v2/partner/objectives
Authorization: Bearer <partner-token>
Content-Type: application/json
Idempotency-Key: <uuid-v4>

{ /* request body matching schema above */ }