템플릿 검수 요청

Request

PUT https://api.coolsms.co.kr/kakao/v1/templates/:templateId/inspection

템플릿을 검수 요청합니다.

Authorization 인증 필요 [?]

계정 권한

회원 권한

계정 상태

회원 상태

계정 인증

kakao:write

role-kakao:write

ACTIVE

ACTIVE

O

Path Parameters

Name

Description

:templateId

템플릿 고유 아이디

Samples

검수 요청

Sample Request

{}

Sample Response

{
    "isHidden": false,
    "accountId": "12925149",
    "templateId": "KA01TP210129012915683jFg9IasFP0w",
    "name": "A2",
    "pfId": "PF01ID210129012914486vjjt6UYpC0m",
    "codes": [
        {
            "status": "REJECTED",
            "code": "bizp_20190312165039251028888882",
            "service": "daou",
            "comments": []
        },
        {
            "status": "INSPECTING",
            "code": "bizp_20190312165039251028888882",
            "service": "biz",
            "comments": []
        }
    ],
    "content": "testMessage",
    "dateCreated": "2021-01-29T01:29:15.683Z",
    "dateUpdated": "2021-01-29T01:29:15.713Z",
    "buttons": []
}

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: 'PUT',
  json: true,
  url:
    'http://api.coolsms.co.kr/kakao/v1/templates/KA01TP210129012915683jFg9IasFP0w/inspection'
};

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

문서 생성일 : 2021-01-29

Last updated