activation_code against the given user_id, mode, and application context.Authorization: Bearer <access_token>{
"user_id": "string",
"activation_code": "string",
"app_id": "string",
"mode": "string"
}| Mode | Purpose |
|---|---|
| 0 | Email or mobile number change |
| 1 | Password change |
| 2 | Delete account |
| 3 | Clear account |
| 4 | Signup verification (account activation) |
| 5 | Login verification |
| 6 | Forgot password verification |
mode) is completedValidates a one-time verification code and securely completes the requested user account operation (signup, login, password change, or account actions), returning POD and profile details on success.
curl --location --request POST 'https://appfloor.in/auth-service/validate/activation/code' \
--header 'Authorization: Bearer <token>' \
--form 'user_id=""' \
--form 'activation_code=""' \
--form 'mode=""' \
--form 'app_id=""'{
"profile": {
"floor_id": "string",
"floor_count_info": {
"permitted": "string",
"remaining": "string"
},
"block_count_info": {
"permitted": "string",
"remaining": "string"
},
"FID": "string",
"name": "string",
"email": "string",
"mobile_number": "string",
"user_id": "string",
"avatar": {
"url": "string",
"id": "string"
}
},
"pod_info": {
"floor_id": "string",
"is_owner": "string",
"app_id": "string",
"title": "string",
"details": "string",
"floor_uid": "string",
"blocks": [
{
"block_id": "string",
"type": "string",
"title": "string"
}
],
"avatar": {
"url": "string",
"type": "string"
}
},
"app_id": "string"
}