Skip to main content
POST
/
api
/
v1
/
user
Create user
curl --request POST \
  --url https://in.rough.app/api/v1/user \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "image": "<string>"
}
'
{
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "imageSet": {
    "16": "<string>",
    "32": "<string>",
    "64": "<string>",
    "128": "<string>",
    "256": "<string>"
  },
  "isDemoAccount": true
}

Body

name
string
required
email
string
required
Minimum length: 1
image
string<uri>

Response

id
string
required
email
string
required
Minimum length: 1
isDemoAccount
boolean
required
name
string
imageSet
object