# Introduction

## Endpoints

Our endpoints can be reached at `https://api.clients.icaal.co.uk` using the following HTTP methods:

* `GET`
* `POST`
* `PATCH`
* `DELETE`

## Responses

All responses will be formatted as JSON with one of the following codes:

* `200` - OK
* `401` - Authentication failed
* `403` - Endpoint not authorised
* `422` - Validation errors occurred
* `429` - Too many requests - see [rate limiting](/master.md#rate-limiting).
* `500` - Server error

## Rate Limiting

The API is limited to 60 requests per minute. You can see how many requests you have left by using the `X-RateLimit-Remaining` header.

If this exceeded you will receive a `429` response code. The API will send a `Retry-After` header that tells you the number of seconds to wait before trying again.


---

# 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.clients.icaal.co.uk/master.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.
