1. Authentication API
GY Docs
  • Documentation
  • Authentication API
    • Login
      POST
    • Sign Up
      POST
    • Google Authentication
      GET
  • Users API
    • List Users
      GET
    • List Users (Public)
      GET
    • Remove User
      DELETE
    • Get User Profile
      GET
    • Set Profile
      PUT
    • Get Username
      GET
    • Update Username
      PATCH
    • Get Email
      GET
    • Get Picture
      GET
    • Update Picture
      PATCH
    • Get Phone Number
      GET
    • Update Phone Number
      PATCH
    • Update Password
      PATCH
    • Get Metadata
      GET
    • Refresh API Key
      PATCH
  • RaΓ­z
GY Accounts
GY BooksHeralds of Chaos
GY Accounts
GY BooksHeralds of Chaos
  1. Authentication API

Sign Up

POST
https://api.gycoding.com/accounts/auth/signup
Registers a new user account using basic Email/Username and Password authentication.

Request

Body Params application/json

Example
{
    "username": "test-user",
    "email": "test@gycoding.com",
    "password": "testpasswd-0"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gycoding.com/accounts/auth/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "test-user",
    "email": "test@gycoding.com",
    "password": "testpasswd-0"
}'

Responses

🟒200Success
application/json
Body

Example
{
    "username": "string",
    "email": "user@example.com",
    "phone_number": "string"
}
🟠400Bad Request
🟠405Method Not Allowed
🟠409Conflict
πŸ”΄500Internal Error
Previous
Login
Next
Google Authentication
Built with