PATCH
https://api.alatwa.com/ai/{id}
Headers
| Name | Type | | Description |
| Authorization |
string |
required |
API Key akun Alat WA Anda |
| Content-Type |
string |
required |
application/json |
Path Parameters
| Name | Type | | Description |
| id |
string |
required |
ID dari AI setting |
Body Parameters
| Name | Type | | Description |
| name |
string |
optional |
Nama AI setting |
| behavior |
string |
optional |
Behavior/personality AI |
| knowledge |
string |
optional |
Knowledge base AI |
| status |
string |
optional |
"active" atau "inactive" |
Code Examples
curl -X PATCH https://api.alatwa.com/ai/1 \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"CS Baru","status":"active"}'
Response
200 Success
{
"status": "ok",
"message": "Success"
}