เอกสาร API
Smrt English Client API
API แบบอ่านอย่างเดียว (read-only) ที่ส่งข้อมูลผู้เรียนและชั้นเรียนไปยังระบบของสถาบัน คีย์ API (API key) แต่ละคีย์เข้าถึงได้เฉพาะข้อมูลของสถาบันตนเอง
วิธีการทำงาน
ขั้นตอนการทำงานของคำขอ
ระบบของสถาบันขอข้อมูลผู้เรียนหรือชั้นเรียนด้วยคีย์ API ของตนเอง และ API จะส่งข้อมูลกลับแบบอ่านอย่างเดียว
dnsระบบของสถาบันระบบข้อมูลผู้เรียนหรือเครื่องมือจัดทำรายงานของสถาบัน
arrow_forwardkeyคีย์ API ของสถาบันส่งไปพร้อมทุกคำขอ และผูกกับสถานศึกษาของตน
arrow_forwardapiSmrt English APIendpoint แบบอ่านอย่างเดียวสำหรับผู้เรียนและชั้นเรียน
arrow_forwardtable_viewข้อมูลของสถาบันผลการเรียน การเข้าเรียน และรายชื่อผู้เรียนในชั้นเรียน ในรูปแบบ JSON
Smrt English API
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-KeyHTTP_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