# Validate activation code

This function validates the activation code in a cPanel user's Site Quality Monitoring registration email.

Endpoint: GET /SiteQuality/verify_code
Version: 11.136.0.14
Security: BasicAuth

## Query parameters:

  - `code` (string, required)
    The user's Site Quality Monitoring activation code.

Note:

A user will receive an email with their activation code when they create a Site Quality Monitoring user account.
    Example: "123456"

## Response 200 fields (application/json):

  - `apiversion` (integer)
    The version of the API.
    Example: 3

  - `func` (string)
    The name of the method called.
    Example: "verify_code"

  - `module` (string)
    The name of the module called.
    Example: "SiteQuality"

  - `result` (object)

  - `result.data` (object)
    An object that contains information about the user's activation code validation.

  - `result.data.status` (integer)
    Whether the user's activation code is valid.
* 1 - Valid.
* 0 - Invalid.
    Enum: 0, 1

  - `result.errors` (array,null)
    List of errors that the API generated.

  - `result.messages` (array,null)
    List of messages the API generated.

  - `result.metadata` (object)

  - `result.status` (integer)
    * 1 — Success.
* 0 — Failed. Check the errors field for more details.
    Enum: 0, 1

  - `result.warnings` (array,null)
    List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running an API.


