사전예약 인증번호 발송

Prev Next

사전예약 인증번호 발송 API

사전 예약자에게 인증 번호를 생성하여 문자 메시지를 발송한다.

Request

  • Method: POST
  • URI: https://gamepot.apigw.ntruss.com/gpapps/v2/phone/request
POST
url : https://gamepot.apigw.ntruss.com/gpapps/v2/phone/request
Header : 'content-type: application/json'
data:
{
	"projectId":"ab2775b4-cf09-4794-XXXX-XXXXXXXXXXXX",
	"categoryId":"b062a3f3-0a37-44d1-XXXX-XXXXXXXXXXXX",
	"from":"XXXXXXX",
	"to":"010XXXXXXX",
	"store":"google"
}
Attribute Type Required Description
projectId String - GamePot SDK의 projectId
categoryId String - GamePot 사전 예약 페이지의 categoryId
from String - 승인 받은 발신 번호
to String - SMS 인증 번호를 수신 받는 연락처
store String - 스토어 ( google, one, apple )

Response

성공

{
    "code": 200,
    "error": "인증을 성공했습니다."
}
Attribute Type Description
code Int 결괏값 (200: 성공, 404: 실패)
error String 오류 메시지

실패

{
    "code": 404,
    "error": "이미 등록된 번호 입니다."
}
Attribute Type Description
code Int 결괏값 (1: 성공, 실패 시 Error code 참고)
error String 오류 내용