home api list

Hexostore API Documentation

createuserrequest

/api/createuserrequest/

List methods: post, get

Detail methods: options, post, get, put, patch, delete

An endpoint for creating a user with a confirmation email included. The loop is as follows:

Make a POST request with the email and optionally any other user parameters of the account you wish to create. That will send an email to containing an URL with an embedded, single-use token.

POST https://api.hexoskin.com/api/createuserrequest/
{
    "email":"newuseremail@example.com",
    "password": "somepassword",
    "profile": {
        "fitness": {
            "weight": 65,
            "height": 1.65,
            ...
        },
        "gender": "M",
        "date_of_birth": "1970-01-01",
    }
}

The token and the uidb64 (user id in base 64) will be embedded in the confirmation url in a mail sent with the email adresss

The email will redirect to an hexoskin page, however you can also confirm with the api :

PUT https://api.hexoskin.com/api/createuserrequest/[uidb64]/[token]/

Fields

email: EmailField

This field will default to: '' (empty string)

first_name: CharField

This field may be blank

This field will default to: '' (empty string)

last_name: CharField

This field may be blank

This field will default to: '' (empty string)

password: CharField

This field may be blank

This field will default to: '' (empty string)

profile: UserProfileSerializer

This field will default to: '' (empty string)

Filtering Options

No filtering supported

Sorting Options

No sorting supported

© 2024 by CarrĂ© Technologies Inc.