# API Technical Documentation

## Summary

To have your customized quest entry developed, QuestN is going to have your API for certain actions’ verification.QuestN will transfer the addresses to the projects, then verify them by the projects, and after the verification results are out, QuestN will judge if certain actions are done to pass the tasks.

## Specifics

The TARGET/API URL cannot be edited again after the corresponding information is submitted.The API would be reviewed by QuestN first to check if it works and the pin value of it in addition.The API used for verification must be an open API.Note that the user's address currently only supports EVM.

## Input

`https://<domain>/<serverpath>?address=<address>`

## Type of Payload

{% hint style="warning" %}
Note: Status Code should always be 200
{% endhint %}

```json
type RequestPayload = {
    // error can be optionally provided when result is false
    error?: {
        // this is the error code you defined to provider more context (e.g. UNKNOWN_ERROR, 0)
        code: string | number;
        // this is the error message you defined to provider more context (e.g. Unknown error occurred)
        message: string;
    };
    data: {
        // whether the user has done the task
        result: boolean;
    };
};
```

## Successful Response Example

```json
Success:
{
     "data": 
         "result”: true
     }
}
```

## Failed Response Example

```json
Failed
{
    "error": {
        "code": 0,
        "message": "error message"
     },
     "data": 
         "result”: false
     }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://questn.gitbook.io/docs/api-technical-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
