Issue key

Prev Next

Available in Classic and VPC

To prevent auto-entry, issue a CAPTCHA key that sends a visually identifiable image and validates the entry.

Request

The following describes the request format for the endpoint. The request format is as follows:

Method URI
GET /nkey

Request headers

For headers common to all CAPTCHA APIs, see Common CAPTCHA headers.

Request query parameters

The following describes the request query parameters.

Field Type Required Description
code Integer Optional Input value for issuing CAPTCHA key

Request example

The following is a sample request.

curl --location --request GET 'https://naveropenapi.apigw.ntruss.com/captcha/v1/nkey?code=0' \
--header 'X-NCP-APIGW-API-KEY-ID: {Client ID issued when registering the app}' \
--header 'X-NCP-APIGW-API-KEY: {Client secret issued when registering the app}'

Response

The following describes the response format.

Response body

The following describes the response body.

Field Type Required Description
key String - Key value received from the Issue CAPTCHA key API call

Response status codes

For response status codes common to all CAPTCHA APIs, see Common CAPTCHA response status codes.

Response example

The following is a sample example.

{
    "key": "{key}"
}