v1.0.0 (2026-08-15 18:56)
Contact Us
Overview
- Description: Allows players to submit a form to request help or provide feedback to the platform.
Business Logic & Explanations
NOTE
This interface collects player requests and stores them in the database (contact_model) for the backend customer service team to process. When called from the frontend, key fields must be strictly validated to prevent empty data or malicious submissions.
1. POST - Submit Contact Form
- Path:
/api/contactus/store
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | String | Yes | Player's name |
contact_type | String | Yes | Contact method (e.g., Email, Phone, WhatsApp) |
typedata | String | Yes | Specific contact number or account ID |
msg | String | Yes | Detailed message or feedback |
Response Example (Success)
json
{
"success": true,
"message": "Submitted successfully",
"csrfToken": "a1b2c3d4..."
}Response Example (Validation Failed)
json
{
"success": false,
"message": "The Contact No field is required.",
"csrfToken": "a1b2c3d4..."
}