Confirm a user login. It validates pin code sent after Registration or Password reset request.
Users
GET confirm login (email/phone)
Endpoint
GET /api/v1/users/confirmation
Parameters
| Name | Description |
|---|---|
| login required | User login |
| pin required | User pin |
Request
Route
GET /api/v1/users/confirmation?login=archie.davis%2Boperator%40example.com&pin=0138
Headers
Host: example.org
Cookie:
Query Parameters
login=archie.davis+operator@example.com pin=0138
Body
{}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
etag: W/"77a6f725d5f853cf2ba677913ed034e4"
cache-control: max-age=0, private, must-revalidate
x-request-id: 62e43845-4749-4a1b-ac35-ccec7af18056
x-runtime: 0.056554
vary: Origin
content-length: 299
Body
{
"user": {
"id": 1728,
"company": null,
"contact_phone_number": null,
"email": "archie.davis+operator@example.com",
"financial_company_id": null,
"first_name": "Archie",
"job_position": null,
"last_name": "Davis",
"phone_number": null,
"profile_id": null,
"reset_password_token": "5VQN-YF2NwcGdBA7W2Dx",
"role": "operator"
}
}