Skip to main content
PUT
Set a teammate's goal

Authorizations

X-API-Key
string
header
required

Path Parameters

external_id
string
required

Your own id for the teammate.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9._:-]{1,255}$

Body

application/json
type
enum<string>
required

What the teammate trains for. The plan is built from this goal type.

Available options:
strength,
hypertrophy,
power,
endurance,
fat_loss,
general_fitness,
vertical_jump,
sprint_speed,
mobility
due_date
string<date> | null

When the teammate wants to reach the goal.

target
object | null
title
string

A title the teammate sees. Defaults to the goal type, such as "Fat loss".

Required string length: 2 - 180

Response

due_date
string | null
required
id
string
required
status
enum<string>
required

Always active.

Available options:
active
target
object | null
required
teammate
string
required
title
string
required
type
string
required

The goal type. Usually one of strength, hypertrophy, power, endurance, fat_loss, general_fitness, vertical_jump, sprint_speed, mobility; the teammate may change it in their app.

updated_at
string
required