POST
/
api
/
public
/
movements
/
complex
curl --request POST \
  --url https://api.wodup.dev/api/public/movements/complex \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "complex_details": [
    {
      "movement_id": "mv_PccWR3Th",
      "reps": 1
    },
    {
      "movement_id": "mv_CSO4yx74",
      "reps": 2
    }
  ]
}'
{
  "complex_details": [
    {
      "movement_id": "mv_PccWR3Th",
      "reps": 1
    },
    {
      "movement_id": "mv_CSO4yx74",
      "reps": 2
    }
  ],
  "description": null,
  "has_calories": false,
  "has_distance": false,
  "has_duration": false,
  "has_height": false,
  "has_load": true,
  "has_power": false,
  "has_reps": true,
  "id": "mv_abcd1234",
  "name": "1 Deadlift + 2 Cleans",
  "source": "wodup",
  "video": null
}

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 complex movement params

POST body for creating a complex movement

Response

200 - application/json

Create complex movement response

Movement object