curl --request POST \
--url http://localhost:8080/cabinet/auth/email/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Register/link email to existing Telegram account.
Requires valid JWT token from Telegram authentication. Sends verification email to the provided address.
curl --request POST \
--url http://localhost:8080/cabinet/auth/email/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}