Creates a user.

POST /api/v1/users/register
application/json

Body

  • username string
  • display_name string
  • email string | null
  • password string | null
  • avatar_url string | null
  • external_login_ticket_id string | null

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id string(uuid)
    • username string
    • email string
    • display_name string
    • avatar_url string | null
  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • error_description string
    • validation_errors object
      Hide validation_errors attribute Show validation_errors attribute object
      • * array[string] Additional properties
  • 403 application/json

    Forbidden

    Hide response attribute Show response attribute object
    • error_description string
  • 500 application/json

    Internal Server Error

    Hide response attribute Show response attribute object
    • error_description string
POST /api/v1/users/register
curl \
 --request POST 'https://crowdparlay.com/api/v1/users/register' \
 --header "Content-Type: application/json" \
 --data '{"username":"string","display_name":"string","email":"string","password":"string","avatar_url":"string","external_login_ticket_id":"string"}'
Request examples
{
  "username": "string",
  "display_name": "string",
  "email": "string",
  "password": "string",
  "avatar_url": "string",
  "external_login_ticket_id": "string"
}
Response examples (200)
{
  "id": "string",
  "username": "string",
  "email": "string",
  "display_name": "string",
  "avatar_url": "string"
}
Response examples (400)
{
  "error_description": "string",
  "validation_errors": {
    "additionalProperty1": [
      "string"
    ],
    "additionalProperty2": [
      "string"
    ]
  }
}
Response examples (403)
{
  "error_description": "string"
}
Response examples (500)
{
  "error_description": "string"
}