> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/human-access/open-api-and-mcp/getting-started.md).

# Getting Started

Generate an API key, choose its access level and make your first request to the Cakewalk Open API.

### **Prerequisites**

* A Cakewalk account
* Admin privileges to generate API keys
* Access to the developer settings section

When you generate a key, you choose its access level: read and write, or read only. See [Authentication](/docs/human-access/open-api-and-mcp/authentication.md) for what each level can do.

### First Request Example

```http
GET /api/v1/users
Host: open-api.getcakewalk.io
X-API-KEY: api key
X-API-SECRET: api secret
```

### **Response:**

```json
{
  "data": [
{
            "id": "6c95576d-e21e-4b4b-a15f-2a3b507f44c3",
            "name": "Alice Smith",
            "email": "alice.smith@cakeacme.com",
            "statusId": 2,
            "statusName": "Invited"
        },
        {
            "id": "0a46407a-2d05-4518-add2-6a45185ed99e",
            "name": "Tom Johnson",
            "email": "tom.johnson@cakeacme.cocm",
            "statusId": 2,
            "statusName": "Invited"
        }

  ],
  "links": {

        "self": "/api/v1/OpenApiBFF/Users",
        "next": "/api/v1/OpenApiBFF/Users?cursor=cGFnZU51bWJlcj0xJnBhZ2VTaXplPTEwMA=="

  }
}
]
```

### Error Handling

Standard HTTP status codes are used:

* `200 OK`: Successful request
* `401 Unauthorized`: Invalid or missing API key
* `403 Forbidden`: A read only key tried to call an endpoint that modifies data
* `404 Not Found`: Resource doesn't exist
* `500 Internal Server Error`: Server-side failure


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.cakewalk.security/docs/human-access/open-api-and-mcp/getting-started.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
