하나의 국가의 메시지 단가 가져오기
Request
GET https://api.solapi.com/pricing/v1/messaging
로그인한 계정의 선택한 국가에 대한 메시지 단가를 가져옵니다.
Authorization 인증 필요 [?]
계정 권한
회원 권한
계정 상태
회원 상태
계정 인증
pricing:read
role-pricing:read
Query Params
countryId
string
eq
국가 코드
Samples
getMessagePrice.spec.js
Sample Request
http://api.solapi.com/pricing/v1/messaging
Sample Response
{
"countryName": "Korea, South",
"countryId": "82",
"sms": 20,
"lms": 50,
"mms": 200,
"ata": 19,
"cta": 13,
"cti": 20,
"dateCreated": "2019-10-28T18:03:40.659Z",
"dateUpdated": "2019-10-28T18:03:40.659Z"
}
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.solapi.com/pricing/v1/messaging'
};
request(options, function(error, response, body) {
if (error) throw error;
console.log('result :', body);
});
문서 생성일 : 2019-10-28
Last updated
Was this helpful?