POST
/
api
/
public
/
gyms
curl --request POST \
  --url https://api.wodup.dev/api/public/gyms \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "info@antarctica-fitness.com",
  "name": "Antarctica Fitness",
  "platform_id": "1",
  "time_zone": "Antarctica/South_Pole",
  "units": "imperial"
}'
{
  "email": "info@antarctica-fitness.com",
  "id": "gym_abc123",
  "name": "Antarctica Fitness",
  "time_zone": "Antarctica/South_Pole"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Gym parameters

POST body for creating a gym

Response

201 - application/json

Gym

An organization on WodUp