수신 도메인 등록 및 수정
Endpoint
[POST] API URL 정보
Request (Json)
Header
Field Name | Type | Required | Description |
---|---|---|---|
Content-type | String | Y | application/json |
HT-Client-Id | String | Y | 고객센터에서 발급 받은 key |
HT-Client-Secret | String | Y | 고객센터에서 발급 받은 token |
Body
Field Name | Type (Length) | Required | Description | Default |
---|---|---|---|---|
sender_key | String (40) | Y | 발신프로필 키 | |
domain | String | Y | 수정할 도메인 |
Example
REST API Sample
curl --location --request POST 'https://patch-kakao-api.happytalk.iov1/center/domain/update' \
--header 'Content-Type: application/json' \
--header 'HT-Client-Id: 고객센터에서 발급받은 client-id' \
--header 'HT-Client-Secret: 고객센터에서 발급받은 client-secret' \
--data-raw '{
"sender_key" : "등록된 프로필 sender_key (발신 프로필 등록시 생성)",
"domain" : "변경할 도메인 정보"
}'
curl --location --request POST 'https://kakao-api.happytalk.iov1/center/domain/update' \
--header 'Content-Type: application/json' \
--header 'HT-Client-Id: 고객센터에서 발급받은 client-id' \
--header 'HT-Client-Secret: 고객센터에서 발급받은 client-secret' \
--data-raw '{
"sender_key" : "등록된 프로필 sender_key (발신 프로필 등록시 생성)",
"domain" : "변경할 도메인 정보"
}'
Response (Json)
Parameter
Field Name | Type | Description |
---|---|---|
code | String | 성공 : 200 |