Auth
Step 2: Verify OTP code and complete registration
POST
/
v1
/
auth
/
register
/
verify
Step 2: Verify OTP code and complete registration
curl --request POST \
--url https://api.wazapin.com/v1/auth/register/verify \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"email": "<string>",
"otp_code": "<string>",
"password": "<string>",
"name": "<string>",
"referral_code": "<string>",
"telemetry_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
otp_code: '<string>',
password: '<string>',
name: '<string>',
referral_code: '<string>',
telemetry_id: '<string>'
})
};
fetch('https://api.wazapin.com/v1/auth/register/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/auth/register/verify"
payload = {
"email": "<string>",
"otp_code": "<string>",
"password": "<string>",
"name": "<string>",
"referral_code": "<string>",
"telemetry_id": "<string>"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"created_at": "<string>",
"email": "<string>",
"email_verified": true,
"id": "<string>",
"image": "<string>",
"name": "<string>",
"timezone": "<string>",
"week_start": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Authorizations
Body
application/json
User email address
Minimum string length:
16-digit OTP code
Required string length:
6Password (min 8 characters)
Minimum string length:
8User full name (optional)
Optional referral code from invite link
Optional device fingerprint telemetry ID
⌘I
Step 2: Verify OTP code and complete registration
curl --request POST \
--url https://api.wazapin.com/v1/auth/register/verify \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"email": "<string>",
"otp_code": "<string>",
"password": "<string>",
"name": "<string>",
"referral_code": "<string>",
"telemetry_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
otp_code: '<string>',
password: '<string>',
name: '<string>',
referral_code: '<string>',
telemetry_id: '<string>'
})
};
fetch('https://api.wazapin.com/v1/auth/register/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/auth/register/verify"
payload = {
"email": "<string>",
"otp_code": "<string>",
"password": "<string>",
"name": "<string>",
"referral_code": "<string>",
"telemetry_id": "<string>"
}
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"created_at": "<string>",
"email": "<string>",
"email_verified": true,
"id": "<string>",
"image": "<string>",
"name": "<string>",
"timezone": "<string>",
"week_start": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}