Advance reservation verification code sending
    • PDF

    Advance reservation verification code sending

    • PDF

    Article Summary

    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"
    }
    
    AttributeTypeRequiredDescription
    projectIdString-GAMEPOT SDK's projectId
    categoryIdString-GAMEPOT advance reservation page's categoryId
    fromString-Approved caller ID
    toString-Contacts to receive SMS verification code
    storeString-Store (Google, ONE, Apple)

    Response

    Success

    {
        "code": 200,
        "error": "Authentication succeeded."
    }
    
    AttributeTypeDescription
    codeIntResult (200: success, 404: failure)
    errorStringError message

    Failure

    {
        "code": 404,
        "error": "This number already exists."
    }
    
    AttributeTypeDescription
    codeIntResult (1: success, refer to the error code in case of failure)
    errorStringError message

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.