콘텐츠로 이동

수신 도메인 조회

Endpoint

[POST] API URL 정보

https://patch-kakao-api.happytalk.io/v1/center/domain/search
https://kakao-api.happytalk.io/v1/center/domain/search

Request (Json)

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 발신프로필 키

Example

REST API Sample
curl --location --request POST 'https://patch-kakao-api.happytalk.io/v1/center/domain/search' \
--header 'Content-Type: application/json' \
--header 'HT-Client-Id: 고객센터에서 발급받은 client-id' \
--header 'HT-Client-Secret: 고객센터에서 발급받은 client-secret' \
--data-raw '{
    "sender_key" : "등록된 프로필 sender_key (발신 프로필 등록시 생성)"
}'
curl --location --request POST 'https://kakao-api.happytalk.io/v1/center/domain/search' \
--header 'Content-Type: application/json' \
--header 'HT-Client-Id: 고객센터에서 발급받은 client-id' \
--header 'HT-Client-Secret: 고객센터에서 발급받은 client-secret' \
--data-raw '{
    "sender_key" : "등록된 프로필 sender_key (발신 프로필 등록시 생성)"
}'

Response (Json)

Parameter

Field Name Type Description
code String 성공 : 200
data object 등록 결과
isDirect Boolean 전용선 도메인 여부

Example

Success
{
    "code": "200",
    "data": [
        {
            "modifiedAt": "2022-05-31 09:11:53",
            "domain": "https://url.domainXXX.com",
            "createdAt": "2022-04-12 16:31:12"
        }
    ],
    "isDirect": false
}
Failure

Fail Code 정보

Data Dictionary

Data Dictionary

None

Field Name Type Description
modifiedAt Datetime 최종 수정 일시
domain String 카카오톡 채널
createdAt Datetime 최초 등록 일시