POST
/
users
Create a user
curl --request POST \
  --url https://forgegames.org/api/users \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "externalId": "<string>"
}'
{
  "id": "<string>",
  "externalId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "teamId": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
externalId
string

Response

Successful response

id
string
required
Maximum length: 191
externalId
string | null
required
Maximum length: 191
createdAt
string
required
updatedAt
string | null
required
teamId
string
required
Maximum length: 191