Skip to content

Phone register

POST
/api/auth/phone/register
curl --request POST \
--url http://localhost:3001/api/auth/phone/register \
--header 'Content-Type: application/json' \
--data '{}'

Register a new account with a verified phone number.

Phone registration request

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Bad Request

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Conflict

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Too Many Requests

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}