# Developer

## 📄 What is the survey developer ?

To access the ngSurvey API, use the survey developer section to generate a JWT token. This token is time-limited and restricted to the current survey and user roles/rights. You may revoke the token anytime. Regenerating a token instantly invalidates any previously generated tokens.

The default lifetime of a token is 2 days, you can change it to up to 7 days using following environment variables : **NGSurvey:FormJWTAccessTokenExpiration**

{% hint style="info" %}
If you want to use global features of ngSurvey you may use an [account wide JWT token](/personal-account/developer.md).    &#x20;
{% endhint %}


---

# 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://docs.ngsurvey.com/form-management/developer.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.
