> For the complete documentation index, see [llms.txt](https://nexaflow.gitbook.io/nexaflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nexaflow.gitbook.io/nexaflow/developer-apis/get-a-website-by-id.md).

# Get a website by ID

Video Link: <https://youtu.be/9jbPYJddaF4>

API to get data of all the pages of a single website.

{% hint style="info" %}
Use Cases:

* To get all data needed to render every page in a single API call
  {% endhint %}

{% hint style="info" %}
To access all pages of a single website, you need an **Access Token** as well as **Website Id** for that particular website.
{% endhint %}

1. Enter the Access token in Authentication block on the right, to access APIs. \
   And enter website Id in the highlighted column (in the below image).

<figure><img src="/files/KyZTKJvj43IMGWa5W7RG" alt=""><figcaption></figcaption></figure>

2. Click on **Try It!** button. and you will get the API in **Response** tab.

<figure><img src="/files/wiI7bOinpmNdTOemyrsj" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://nexaflow.gitbook.io/nexaflow/developer-apis/get-a-website-by-id.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.
