• Getting Started

Getting Started

Register Account

This service allows users or third-party applications to register by providing the required information (such as username, password, and email). Upon successful registration, they receive an Access Token that will be used for authentication in other services.

Request

curl --location 'api.onlyup.ir/api/v1/auth/register' \
--header 'Content-Type: application/json' \
--data-raw '{
  "name": "ramin",
  "username": "rahiminia1",
  "email": "r.rahiminia1@gmail.com",
  "password": "Reza12345678",
  "mobile":"09126152892"
}'

Response

{
    "statusCode": 201,
    "message": "User succesfully created",
    "data": {
        "user_id": 15,
        "name": "Jack",
        "username": "Parker",
        "email": "Jackp@gmail.com",
        "created_at": "2025-08-11T13:16:54.000Z",
        "deleted_at": null
    }
}
Edit this page on GitHub

OnlyUp