/signup/verify
DevelopingPOST
/signup/verifyLast modified: 2 months ago
Verify the email address of a user from the code they were sent via email, and allows them to set their password so they can log in. On successful completion the user is automatically logged in.
Request
Body Params application/x-www-form-urlencoded
email
string
required
Email address to verify. Example: phil.collins@anomify.ai.
verification_token
string
required
Unique token to verify link is the one sent to user's email address. Example: 6ea1eee388c4c1abacd2d18cc4362b10.
password_1
string
required
Chosen password for new user. Example: 1l1k32f4x.
password_2
string
required
Chosen password for new user. Example: 1l1k32f4x.
Request samples
Responses
An example Response(200)
Bad Request(400)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1657643627,
"created_string": "Tue 12 Jul 2022 @ 16:33 (UTC)",
"duration": 0.252,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 0,
"session_id": "1dedbf232bc104b6087327016c50ba45",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": false,
"test_alert_sent": false,
"two_alerts_sent": false,
"pattern_trained": false
}
},
"data": {
"session": {
"id": "8d3c5ad6170d6b59f619e72b9b8d4b7e",
"user": {
"id": 221,
"org_id": 116,
"name": "",
"email": "phil.collins@anomify.ai",
"phone_number": null,
"slack_member_id": null,
"demo": false,
"admin": true,
"org": {
"id": 116,
"name": "Collins Jackets",
"timezone": "Europe/London",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status": {
"id": 1,
"name": "no metrics"
}
},
"notifications": {
"email_alerts": false
},
"onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false
}
}
}
}
}
Last modified: 2 months ago