Verify 2fa

post
Authorizations
Body
user_idstringRequired

User email or phone

churchstringRequired

Church ID

codestringRequired

2FA code

device_idstringOptional

Device ID

Responses
200Success
application/json
post
POST /api/auth/verify-2fa HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "user_id": "text",
  "church": "text",
  "code": "text",
  "device_id": "text"
}
200Success
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "profile": "text",
  "additional_user_fields": "text",
  "last_login": "2025-07-23T12:24:10.178Z",
  "email": "[email protected]",
  "phone": "text",
  "role": "member",
  "has_2fa": true,
  "is_deleted": true,
  "deleted_at": "2025-07-23T12:24:10.178Z",
  "permissions": null,
  "login_attempts": 1,
  "api_key": "text",
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}