# The Jenzo API: tokens and basic requests

Source: https://help.jenzo.ai/articles/open-api

Jenzo has an open REST API for scripts and integrations. It uses the same permissions as the web app and the MCP connector: you can do through the API exactly what your role allows in the app.

## Create your token

1. Open **Settings > Workspace and members**.
2. In the **Your API token** card, press **Create my token**, then **Copy**.

The token starts with `td_` and is shown once. Creating a new token makes the old one stop working, so you can always replace a token you think has leaked. Keep it out of code repositories and never paste it into a chat, including support chats.

## Make a request

The base address is `https://api.jenzo.ai/api/`. Send your token as a bearer token:

```
curl -H "Authorization: Bearer td_your_token" https://api.jenzo.ai/api/queue
```

Common endpoints:

- `GET /api/queue` returns your open tickets.
- `POST /api/tickets` creates a ticket.
- `PUT /api/tickets/by-external-id/<id>` creates or updates a ticket by the ID it has in another system, so a sync never makes duplicates.

## API or connector?

- Use the **MCP connector** when an AI tool should work on tickets. See [Use Jenzo from Claude Code, Codex, Cursor, claude.ai and ChatGPT](/articles/mcp-connector).
- Use the **API** for your own scripts, dashboards or a sync with another system.

Need an endpoint that is not listed here? Ask in the chat or email support@jenzo.ai with what you are trying to build.
