cropped-cropped-cropped-cropped-cropped-activitylist-blue-1.png

User registration

This API endpoint enables to register new users for the Dayreal app.

Url

/api/v1/auth/register

Method

POST

Content-Type

application/json

Payload

Code Box Beispiel
{
    "username": "guest",
    "password": "guest123",
    "email": "guest@guest.com"
}

Response 201

{
    "data": {
        "date_created": "2023-06-01T07:43:21.525403",
        "email": "guest@guest.com",
        "id": 8,
        "is_verified": false,
        "last_updated": "2023-06-01T07:43:21.525410",
        "password": "$2b$12$6RBZf0dC2sCXNOeyFbL1MOXxIb.cSfDhmpbllhcIO6EdXKkVRYz3i",
        "user_detail": {
            "address": null,
            "date_created": "2023-06-01T07:43:21.529319",
            "facebook_profile": null,
            "id": 8,
            "insta_profile": null,
            "last_updated": "2023-06-01T07:43:21.529323",
            "phone_contact": null,
            "profile_picture": null,
            "tiktok_profile": null,
            "twitter_profile": null,
            "user_id": 8,
            "whatsapp_contact": null
        },
        "username": "guestabc"
    },
    "message": "User Successfully registered",
    "status": "success"
}