카카오톡채널 조회

Request

GET https://api.coolsms.co.kr/kakao/v1/plus-friends/:pfId

카카오톡채널의 아이디로 카카오톡채널의 정보를 불러옵니다.

Authorization 인증 필요 [?]

Path Parameters

Samples

getPlusFriend.spec.js

Sample Request

http://api.coolsms.co.kr/kakao/v1/plus-friends/KA01PF190227072057634pRBhbpAw1w1

Sample Response

{
    "pfId": "KA01PF190227072057634pRBhbpAw1w1",
    "searchId": "NURIGO",
    "accountId": "19301859371111",
    "phoneNumber": "01011111111",
    "senderKeys": [
        {
            "service": "daou",
            "key": "13h39gehsgb93ghe9sjf9h2r",
            "categoryCode": "11111111111"
        }
    ],
    "dateCreated": "2021-01-29T01:29:14.764Z",
    "dateUpdated": "2021-01-29T01:29:14.764Z"
}

Sample Code

var request = require('request');

var options = {
  headers: {
    Authorization:
      'HMAC-SHA256 apiKey=NCSAYU7YDBXYORXC, date=2019-07-01T00:41:48Z, salt=jqsba2jxjnrjor, signature=1779eac71a24cbeeadfa7263cb84b7ea0af1714f5c0270aa30ffd34600e363b4'
  },
  method: 'GET',
  json: true,
  url:
    'http://api.coolsms.co.kr/kakao/v1/plus-friends/KA01PF190227072057634pRBhbpAw1w1'
};

request(options, function(error, response, body) {
  if (error) throw error;
  console.log('result :', body);
});

문서 생성일 : 2021-01-29

Last updated