Wasla
  1. Auth
Wasla
  • Auth
    • Register a new user
      POST
    • Login
      POST
    • Logout
      POST
  • FreelancerProfile
    • Certifications
      • Update Freelancer Certifications
      • Add Freelancer Certification
      • All freelancer Certifications
      • Delete Freelancer Certifaction
    • Educations
      • All Educations
      • Add Educations
    • Social Links
      • All Freelancer Social Links
      • Add Freelancer Social Link
      • Delete Freelancer Social Link
      • Update Freelancer Social Links
    • Proposal
      • Apply Freelancer on Project
      • Update Proposal
      • Delete Proposal
    • Show Freelancer
      GET
    • MyProfile
      GET
    • Add Skills
      POST
    • Freelancer Image
      POST
    • Update Freelancer Profile
      PUT
    • Delete Freelancer Profile
      DELETE
  • ClientProfile
    • Project
      • Post Project
      • Show Project
      • Update Project
      • Delete Project
    • Review
      • Create Review
      • Update Review
    • Show Profile
      GET
    • Update Profile
      PUT
    • Accept Proposal
      PUT
  • All Skills
    GET
  • All Projects
    GET
  • Schemas
    • Api Responce
    • User
  1. Auth

Register a new user

Developing
Testing Env
https://test.your-api-server.com
Testing Env
https://test.your-api-server.com
POST
/register
Creates a new user account with a corresponding profile (Freelancer/Client) .

Request

Header Params

Body Params multipart/form-data

Responses

🟢201Created
application/json
Body

🟠422Parameter Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/register' \
--header 'Accept: application/json' \
--form 'name="eman"' \
--form 'email="yyy@gmail.com"' \
--form 'password="12345678"' \
--form 'password_confirmation="12345678"' \
--form 'role="freelancer"'
Response Response Example
201 - Example
{
    "code": 201,
    "message": "Account created successfully",
    "data": {
        "id": 14,
        "name": "Eman Hjazi",
        "email": "test666@gmail.com",
        "role": "freelancer"
    },
    "access_token": "your_access_token_goes_here"
}
Modified at 2025-09-06 07:01:28
Next
Login
Built with