콘텐츠로 이동

채팅 비활성화

Endpoint

[POST] API URL 정보

https://patch-kakao-api.happytalk.io/kakaoWebhook/v3/bzc/profile/chat/deactivate
https://kakao-api.happytalk.io/kakaoWebhook/v3/bzc/profile/chat/deactivate

Introduce

Introduce
발신프로필 키를 기준으로, 카카오톡 채널의 채팅 기능을 비활성화하는 API입니다.

Request (Json)

Field Name Type Required Description
Content-type Text Y application/json
HT-Client-Id Text Y 고객센터에서 발급 받은 key
HT-Client-Secret Text Y 고객센터에서 발급 받은 token

Body

Field Name Type (Length) Required Description
senderKey Text(40) Y 발신프로필 키

Example

REST API Sample
curl -L -X POST 'https://patch-kakao-api.happytalk.io/kakaoWebhook/v3/bzc/profile/chat/deactivate' \
-H 'Content-Type: application/json' \
-H 'HT-Client-Id: example-id' \
-H 'HT-Client-Secret: example-secret' \
-d '{"senderKey":"example-senderKey"}'
curl -L -X POST 'https://kakao-api.happytalk.io/kakaoWebhook/v3/bzc/profile/chat/deactivate' \
-H 'Content-Type: application/json' \
-H 'HT-Client-Id: example-id' \
-H 'HT-Client-Secret: example-secret' \
-d '{"senderKey":"example-senderKey"}'

Response (Json)

Parameter

Field Name Type Description
code Text 처리 결과 코드 (200은 정상 / 나머지는 오류)
message Text 처리 실패 시 결과 메시지

Example

Success
{
    "code":"200"
}
Failure
{
    "code":"515",
    "message":"상담톡 프로필을 찾을 수 없습니다."
}

Data Dictionary

Data Dictionary

None

None

Reference

코드 정의