Skip to main content
POST
Create/update agent

Authorizations

mogl_session
string
cookie
required

Session-based authentication via cookies + CSRF token

Body

multipart/form-data
first_name
string
required
last_name
string
required
email
string<email>
required
contact_number
string
required
city
string
required
agency_name
string
required
linkedin_profile
string
required
is_verified
integer
required

0 or 1

fixed_price_for_all_athlete
string
required
status
string
required

A or I

id
integer

Pass for update; omit for create

password
string
contact_number_old
string
personal_email
string<email>
price_per_each_athlete
string
fixed_price
string
mogl_commission_in_percentage
number<float>
profile_photo
file
profile_photo_val
string

Existing profile photo path when not uploading a new file

Response

200

Agent saved