Skip to content
v1.0.0 (2026-09-03 16:35)

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 ​

ParameterTypeRequiredDescription
nameStringYesPlayer's name
contact_typeStringYesContact method (e.g., Email, Phone, WhatsApp)
typedataStringYesSpecific contact number or account ID
msgStringYesDetailed 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..."
}