POST
/
api
/
public
/
athletes
curl --request POST \
  --url https://api.wodup.dev/api/public/athletes \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jane@doe.com",
  "name": "Jane Doe",
  "platform_id": "1",
  "staff": "admin"
}'
{
  "access": "member",
  "added_at": "2001-01-01T00:00:00Z",
  "email": "jane@smith.com",
  "followed_programs": [
    {
      "access": "private",
      "id": "p_123abc",
      "name": "Strength and Conditioning",
      "period": "continuous",
      "status": "active"
    }
  ],
  "gender": "female",
  "id": "ath_123abc",
  "invite_url": "https://www.wodup.com/invite/abc123",
  "name": "Jane Smith",
  "staff": 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

athlete params

The body is of type object.

Response

200 - application/json

athlete response

An athlete at your organization