Verify a phone number by confirming the SMS verification code. Returns phone verification status.
curl --request POST \
--url https://api.fluxer.app/v1/users/@me/phone/verify \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"phone": "<string>",
"code": "<string>"
}
'{
"phone_token": "<string>"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
Success
Token to use when adding phone to account
curl --request POST \
--url https://api.fluxer.app/v1/users/@me/phone/verify \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"phone": "<string>",
"code": "<string>"
}
'{
"phone_token": "<string>"
}