# Introduction

The projqo API lets your own scripts and other products read and change what your organisation keeps in projqo: projects, tasks and their comments, files and work logs, boards, backlogs and sprints, releases, Docs spaces and pages, people and saved filters.

It is a REST API over HTTPS that speaks JSON. It is described by one OpenAPI 3.1 file, which this site's [reference](/reference/) is built from, and which you can download from every page to generate a client in the language you use.

## The base address

Every call starts with your projqo address followed by `/api/v1`:

```text
https://<your projqo address>/api/v1
```

Calls about an organisation's things carry the organisation in the path, by its id (or its address name):

```text
https://<your projqo address>/api/v1/orgs/{org}/projects
```

Two calls sit outside any organisation: `GET /api/v1/me` (who the token belongs to) and `GET /api/v1/orgs` (the organisations the token may use).

## What you see is what the person sees

Every call runs as one person in one organisation: the person who made the token, or who connected your app. The answer is cut to what that person may open in projqo, by the same rules as the web app:

- a project or Docs space the person has no role in doesn't exist for the call ("hidden" and "doesn't exist" give the same answer, 404);
- what the person's role can't do is refused, with the reason in plain words;
- the person's role is read at every call, so someone removed from the organisation, or turned into a guest, loses the API at once.

A token's [scopes](/guides/scopes/) narrow this further: a call needs both the scope and the person's permission.

## Two ways in

- **A personal API token**, made by a person for their own scripts. Start with the [quick start](/guides/quick-start/).
- **An OAuth app**, which a person connects to their account. Your app never sees their password. See [OAuth 2.0 apps](/guides/oauth/).

## Webhooks

Instead of asking again and again whether something changed, subscribe to [webhooks](/guides/webhooks/): projqo sends each change to your address, signed, and retries when your address doesn't answer.

## What the API doesn't do

- There are no ready-made connectors. Other products connect through OAuth apps and webhooks.
- There is no app marketplace. An app is registered in one organisation and allowed in others by their admins.
- There are no projqo SDKs yet. The OpenAPI file lets you generate a client, and every call shows examples in cURL, JavaScript and Python.
- An app can't act as itself: every call acts as a person, who holds a seat.
- projqo isn't a sign-in provider for other products.

## Where to go next

- [Getting started](/guides/getting-started/) explains the pieces every call has.
- [Quick start](/guides/quick-start/) makes a token and lists tasks in five minutes.
- The [reference](/reference/) lists every call.
