> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tyk Dashboard API

> Use the Tyk Dashboard API to manage APIs, Policies, keys, users and organisations in a Tyk deployment that uses Tyk Dashboard.

[Download Swagger](https://raw.githubusercontent.com/TykTechnologies/tyk-docs/refs/heads/production/swagger/5.16/dashboard-swagger.yml)

The Tyk Dashboard API manages the APIs, Policies, keys, users and organisations that Tyk Dashboard stores. Tyk Dashboard sends these changes to your Tyk Gateways.

> [!NOTE]
>
> If you use Tyk Dashboard, use only the Tyk Dashboard API. Do not call the [Tyk Gateway API](https://tyk.io/docs/tyk-gateway-api.md) directly. Tyk Dashboard manages your Tyk Gateways.

## Authentication

Send your Tyk Dashboard API Access Credentials in the `authorization` header of each request:

```http theme={null}
authorization: <your-api-key>
```

To find your credentials, open your user profile in Tyk Dashboard. For more information, see [Manage Tyk Dashboard Users](https://tyk.io/docs/platform-management/dashboard-users.md).

## Access control

Each key, API and user belongs to an organisation. A user can manage only the resources of their own organisation.

You can give each user Read, Write or Deny access to each section of the Tyk Dashboard API. For more information, see [User permissions](https://tyk.io/docs/platform-management/user-permissions.md). The availability of role-based access control (RBAC) depends on your licence.

## Pagination

Some list endpoints return results in pages. Use the `p` query parameter to select a page:

* `p=1` returns the first page. This is the default.
* `p=0` returns all items. If there are many items, this request can decrease the performance of Tyk Dashboard.

The default page size is 10. To change it, set [`page_size`](https://tyk.io/docs/tyk-dashboard/configuration#page_size) in `tyk_analytics.conf`. A larger page size can decrease the performance of Tyk Dashboard.

```http theme={null}
GET /api/apis?p=1 HTTP/1.1
Host: localhost:3000
authorization: <your-api-key>
```

The response includes the number of pages in the `pages` field:

```json theme={null}
{
  "apis": [ ... ],
  "pages": 1
}
```

## GraphQL API

Tyk Dashboard also has a GraphQL API. Tyk Dashboard uses it for keys.

| Method | Path | Description |
| :- | :- | :- |
| `POST` | `/graphql` | GraphQL query endpoint |
| `GET` | `/playground` | GraphQL Playground, where you can read the schema and run queries |
