> For the complete documentation index, see [llms.txt](https://gitbook.cyberrichsms.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.cyberrichsms.com/api-reference.md).

# API Reference

<figure><img src="/files/UfJAph5reTlUud755Qmn" alt=""><figcaption></figcaption></figure>

แนะนำข้อมูลเบื้องต้นเกี่ยวกับหลักการทำงานของ API ของ Cyber rich SMS ในการส่งข้อความ จัดการบัญชีต่างๆ

### Base URL

```
Base URL: https://api.cyberrichsms.com/api
```

เราแนะนำให้เรียกใช้งานทุก Request มาที่ Base URL ผ่าน HTTP POST, GET method

###

### Content-Type และ Accept ใน API Cyberrich SMS

\
เมื่อทำการติดต่อกับ API Cyber rich SMS นั้น การปฏิบัติตามหลักการที่ดีที่สุดและให้ความสำคัญในการร้องขอของคุณจะช่วยให้ความเป็นมืออาชีพและความเสถียรในการดำเนินการกับ API นี้

API รองรับรูปแบบข้อมูล JSON ดังนั้น ควรระบุหัวข้อ Content-Type และ Accept ในคำขอ (Request) ของคุณให้ถูกต้อง

เพื่อให้เกิดการสื่อสารอย่างราบรื่นและหลีกเลี่ยงข้อผิดพลาด ให้ตรวจสอบการระบุหัวข้อต่อไปนี้ในคำขอของคุณ:

Content-Type:&#x20;

```
Content-Type: application/json
```

&#x20;Accept :

```
Accept: application/json
```

***

## Authentication

{% content-ref url="/pages/C4GdoQ4LH0wwa8K5ZwFb" %}
[Authentication](/api-reference/authentication.md)
{% endcontent-ref %}

## Cyber rich SMS

{% content-ref url="/pages/r3adKI0Pn2cgleDOqXCW" %}
[เมนู SMS - Service](/api-reference/sms-service.md)
{% endcontent-ref %}

## Cyber rich OTP

{% content-ref url="/pages/6rBzsr5840r4ec0opumx" %}
[เมนู OTP - Service](/api-reference/otp-service.md)
{% endcontent-ref %}

##
