דלג לתוכן הראשי
POST
/
chats
/
{chatId}
/
resolve
Resolve Chat
curl --request POST \
  --url https://{projectID}.texterchat.com/server/api/v2/chats/{chatId}/resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "notifyClient": true
}
'
{
  "success": true
}

הרשאות

Authorization
string
header
נדרש

API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.

פרמטרי נתיב

chatId
string
נדרש

The unique identifier of the chat. You can obtain this value by using the Search Chats endpoint with the contact's phone number

גוף

application/json
notifyClient
boolean

Defaults to false. If true, sends the default resolution message to the contact before resolving

תגובה

Chat resolved

success
boolean