Advance reservation verification code sending API
Creates verification codes for the person who made advance reservations, and sends text messages.
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's projectId |
categoryId | String | - | GAMEPOT advance reservation page's categoryId |
from | String | - | Approved caller ID |
to | String | - | Contacts to receive SMS verification code |
store | String | - | Store (Google, ONE, Apple) |
Response
Success
{
"code": 200,
"error": "Authentication succeeded."
}
Attribute | Type | Description |
---|---|---|
code | Int | Result (200: success, 404: failure) |
error | String | Error message |
Failure
{
"code": 404,
"error": "This number already exists."
}
Attribute | Type | Description |
---|---|---|
code | Int | Result (1: success, refer to the error code in case of failure) |
error | String | Error message |