# 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&#x26;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="api-reference/authentication" %}
[authentication](https://gitbook.cyberrichsms.com/api-reference/authentication)
{% endcontent-ref %}

## Cyber rich SMS

{% content-ref url="api-reference/sms-service" %}
[sms-service](https://gitbook.cyberrichsms.com/api-reference/sms-service)
{% endcontent-ref %}

## Cyber rich OTP

{% content-ref url="api-reference/otp-service" %}
[otp-service](https://gitbook.cyberrichsms.com/api-reference/otp-service)
{% endcontent-ref %}

##
