{
"id": "uuid", // Unique identifier
"app_id": "uuid", // Scute App id
"app_user_id": "uuid", // User id
"status": { "pending", "failed", "verified", "cancelled", "expired" },
"channel": { "sms", "email", "metafield", "user_identifier" }, // Verification channel
"created_at": "datetime",
"to_user_id": "uuid", // Recipient user id
"metadata": {}, // Channel-specific data (e.g., new_identifier, identifier_type)
"cached_code": "string", // OTP code for metafield/user_identifier channels
"attemtps": [ // maxAttempts can be set at application settings
{
"id": "uuid", // attempt id
"verified_at": "datetime|null", // if verified
"created_at": "datetime", //
"data": {}, // attached data (analytics)
"magic_link_id": "uuid" // if attached (email channel only)
},
...
]
}