ข้ามไปยังเนื้อหา

เอกสาร API

Smrt English Client API

API แบบอ่านอย่างเดียว (read-only) ที่ส่งข้อมูลผู้เรียนและชั้นเรียนไปยังระบบของสถาบัน คีย์ API (API key) แต่ละคีย์เข้าถึงได้เฉพาะข้อมูลของสถาบันตนเอง

เปิดศูนย์ทดสอบ API

วิธีการทำงาน

ขั้นตอนการทำงานของคำขอ

ระบบของสถาบันขอข้อมูลผู้เรียนหรือชั้นเรียนด้วยคีย์ API ของตนเอง และ API จะส่งข้อมูลกลับแบบอ่านอย่างเดียว

ระบบของสถาบันระบบข้อมูลผู้เรียนหรือเครื่องมือจัดทำรายงานของสถาบัน
คีย์ API ของสถาบันส่งไปพร้อมทุกคำขอ และผูกกับสถานศึกษาของตน
Smrt English APIendpoint แบบอ่านอย่างเดียวสำหรับผู้เรียนและชั้นเรียน
ข้อมูลของสถาบันผลการเรียน การเข้าเรียน และรายชื่อผู้เรียนในชั้นเรียน ในรูปแบบ JSON
keyboard_arrow_up

Smrt English API

vpn_key Authentication

All API requests require authentication using an API key passed in the HTTP header.

Header Format

X-API-Key: your_institution_api_key

Authentication Methods

The API supports the following header variations:

  • X-API-Key (recommended)
  • X-Api-Key
  • HTTP_X_API_KEY (server variable)

Security Notes

  • Keep your API key confidential and do not share it outside your institution
  • Never expose API keys in client-side code or public repositories
  • Use HTTPS for all API requests (enforced in production)
  • Your API key only provides access to your institution's student data