> 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="https://4079513963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDzYXHQDdaLONigD747YV%2Fuploads%2FYwKQrapTlIi09HEOODs1%2Fspaces_3coVNakp18UnWdXpwf3Z_uploads_i1pKMCu3Xbz4DbJ15uqc_logo.webp?alt=media&amp;token=1bb7426c-ce30-494b-b377-c82decb3c9fd" 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 %}

##
