> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/rest-apis/introduction/interrelated.md).

# Request Types, Permissions, Errors, & Limits

### CREATING REQUESTS

According to RESTful structure, Acquire implements the following HTTP verbs:\
\
`GET -` Read entity\
`POST -` Create new entity\
`PUT -` Modify existing entity\
`DELETE -` Remove entity

## PERMISSIONS

To request any API endpoint, you will need a valid API key with the related access permissions.

Learn more about obtaining an API key and access permissions in the [Authorization](https://developer.acquire.io/rest-apis/authorization) section.&#x20;

## Errors <a href="#errors" id="errors"></a>

Errors are returned using standard HTTP error codes.

In general, the list of error codes includes:<br>

| Code | Explanation                    |
| ---- | ------------------------------ |
| 2xx  | Success                        |
| 4xx  | Bad request sent to the server |
| 5xx  | Server-side error              |

### STATUS CODES

`200 OK` Successful request.\
`400 Bad Request` Returns JSON with the error message.\
`401 Unauthorized` Couldn’t authenticate your request.\
`403 Forbidden` Invalid request.\
`404 Not Found` No such object.\
`500 Internal Server Error` Something went wrong.\
`503 Service Unavailable` Service is down for maintenance.

| Types                          | Code | Explanation                            |
| ------------------------------ | ---- | -------------------------------------- |
| `ERROR_INVALID_INPUT`          | 400  | Invalid request                        |
| `ERROR_RECORD_NOT_FOUND`       | 400  | No credentials in the request body     |
| `ERROR_DUPLICATE_RECORD_FOUND` | 400  | Already exists                         |
| `ERROR_UNAUTHORIZED`           | 401  | Missing, incorrect, or invalid API Key |
| `ERROR_UNAUTHORIZED_ACCESS`    | 403  | Invalid request                        |
| `ERROR_SERVER_ERROR`           | 500  | Internal server error                  |

## API Limit <a href="#api-limit" id="api-limit"></a>

There are no API consumption limits.


---

# 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, and the optional `goal` query parameter:

```
GET https://developer.acquire.io/rest-apis/introduction/interrelated.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
