Skip to main content
POST
Create athlete

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

email
string<email>
required

Email address

name
string
required

Athlete name

platform_id
string

ID of athlete on source platform

staff
enum<string>

Staff level

Available options:
admin,
coach

Response

200 - application/json

athlete response

An athlete at your organization

access
enum<string>
required

Athlete access

Available options:
member,
marketplace,
archived,
deleted
added_at
string<timestamptz>
required

Date athlete initially added to your organization. ISO8601 timestamp in UTC

email
string<email>
required

Athlete email address

followed_programs
Program · object[]
required

List of programs the athlete follows on their timeline

id
string
required

Athlete ID

invite_url
string<url>
required

A URL that allows a user to claim this athlete account.

name
string
required

Athlete name

gender
enum<string>

Athlete gender

Available options:
male,
female,
nonbinary,
undisclosed
staff
enum<string>

Athlete staff

Available options:
admin,
coach