POST
/
api
/
public
/
movements
curl --request POST \
  --url https://api.wodup.dev/api/public/movements \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "Put your hands up in the air!",
  "has_reps": true,
  "name": "My Custom Movement",
  "video_url": "https://www.youtube.com/watch?v=M11SvDtPBhA"
}'
{
  "complex_details": null,
  "description": "Put your hands up in the air!",
  "has_calories": false,
  "has_distance": false,
  "has_duration": false,
  "has_height": false,
  "has_load": false,
  "has_power": false,
  "has_reps": true,
  "id": "mv_abcd1234",
  "name": "My Custom Movement",
  "source": "custom",
  "video": {
    "id": "M11SvDtPBhA",
    "service": "youtube"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

wodup-gym
string

Only used by platform integrations
ID of gym to execute on behalf of

Body

application/json
Create movement params

POST body for creating a movement

name
string
required

Name of movement

description
string

Instructions / description of movement

has_calories
boolean

Does this movement involve calories. E.g. Row

has_distance
boolean

Does this movement involve distance. E.g. Row

has_duration
boolean

Does this movement involve duration. E.g. Row or Weighted Plank Hold

has_height
boolean

Does this movement involve height. E.g. Box Jumps

has_load
boolean

Does this movement involve load. E.g. Back Squat or Weighted Plank Hold

has_power
boolean

Does this movement involve power. E.g. Row

has_reps
boolean

Does this movement involve reps. E.g. Push-Up or Back Squat

video_url
string

YouTube or Vimeo URL for this movement

Response

200 - application/json
Create movement response

Movement object

complex_details
object[]

Movements in this complex

description
string

Movement instructions / description

has_calories
boolean

Does this movement involve calories. E.g. Row

has_distance
boolean

Does this movement involve distance. E.g. Row

has_duration
boolean

Does this movement involve duration. E.g. Row or Weighted Plank Hold

has_height
boolean

Does this movement involve height. E.g. Box Jumps

has_load
boolean

Does this movement involve load. E.g. Back Squat or Weighted Plank Hold

has_power
boolean

Does this movement involve power. E.g. Row

has_reps
boolean

Does this movement involve reps. E.g. Push-Up or Back Squat

id
string

Movement ID

name
string

Movement name

source
enum<string>

Whether this movement is from the global WodUp library or a custom movement

Available options:
wodup,
custom
video
object