ReleaseChat

更新时间:
复制 MD 格式

The ReleaseChat operation ends the current chat.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

Instance ID.

ccc-test

JobId

string

Yes

Job ID.

chat-6538214103685****

UserType

string

Yes

User type.

  • CUSTOMER: visitor

  • AGENT: agent

CUSTOMER

UserId

string

No

User ID. Visitor ID or agent ID.

edbcf95a-ef9f-4296-a0a6-985ac9e36db3

Token

string

No

Channel token for network services.

9XYGTGWtq2wFi_Bpg7aUnIoYi_vG_rO3bjEn0YtsxbHRHrYHlz1LDBLJAyZcLxieRQR4h_6AnWvTjJeNU5jg************Hwej7WgWrmA=

Response elements

Element

Type

Description

Example

object

Code

string

Response code.

OK

HttpStatusCode

integer

HTTP status code.

200

Message

string

Response message.

RequestId

string

Request ID.

B06B3244-1B44-481B-90C4-F2F92E59D6B5

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "B06B3244-1B44-481B-90C4-F2F92E59D6B5"
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Blank The parameter %s must not be null.
400 Parameter.Empty The parameter %s must not be null or empty.
400 Parameter.Format The format of parameter %s is invalid.
400 Parameter.Null The parameter %s must not be null.
404 NotExists.InstanceId The specified instance %s does not exist.
409 AlreadyExists.SkillGroup The skill group %s already exists in instance %s.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.