Skip to content

Create New User

Lee Sambridge edited this page May 29, 2024 · 27 revisions

Create new user

A new user is created by POSTing the following JSON body to the endpoint:

HTTP Response Values

    HTTP - 201 - Successful creation of a new user
    HTTP - 400 - The payload sent is not correct or valid

[POST] /v2/users/

{
    "emailAddress": "email@endurancezone.com",
    "partnerMemberId" : "id",
    "firstName" : "FirstName",
    "lastName" : "LastName",
    "country" :"UK",
    "level" :"Basic"
}
Name Description
FirstName User first name
LastName User last name
EmailAddress User's email address
PartnerMemberId (Optional) Your unique identifier for this user
Country Acceptable values are: USA, UK, Canada, Europe , Mexico, Australia, New Zealand, Africa, India, Dubai, Austria, Belgium, Bulgaria, Switzerland, Germany, Denmark, Spain, France, Ireland, Italy, Luxembourg, Monaco, Netherlands, Norway, Sweden, Singapore, South Africa, UAE - *additional countries can be enabled as part of the onboarding
level Acceptable values are: Basic, Basic Plus, Premium, Premium Plus

All fields are required.

A successful response looks like:

{
    "id": 15140131,
    "url": "https:///preload/sport80?iframe=4a73bchuqo5k5qh",
    "level": "Basic",
    "firstName": "FirstName",
    "lastName": "LastName",
    "status": "Active",
    "emailAddress": "wzyctdggwbiiawfpbeeu@endurancezone.com"
}

Clone this wiki locally