Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.03 KB

POST_signup.md

File metadata and controls

34 lines (29 loc) · 1.03 KB

Account signup

API endpoint that represents the creation of a new user account

  • URL Endpoint: /auth/signup

  • Method: POST

  • URL Params: None

  • Request Body:

    Name Type Required Description
    firstname string User first name
    lastname string User last name
    othernames string User other names
    phoneNumber string User phone number
    username string Unique username
    email string User email address
    pasword string User password
  • Success Response

    • Code: 201 Created
    • Content:
      {
        "status": 201,
        "data": [
          {
            "token": "...",
            "user": {}
          }
        ]
      }