Skip to main content
Generate an API key for any agent to work with your instance through the libredesk API.
Some endpoints are not documented yet. Pull requests to the docs are welcome.

Generating API keys

You need the users:manage permission to generate API keys.
1

Open the agent

Go to Admin → Teammates → Agents and open the agent.
2

Generate an API key

Click Generate API key. libredesk shows an API key and an API secret for that agent.
3

Save the credentials

Copy both values and store them securely. The secret is shown only once.
4

Key management

Regenerate or revoke the key at any time from the same page.
A request made with an API key has the same roles and permissions as the agent that owns the key.

Using the API

All endpoints are under /api/v1. libredesk supports two authentication schemes:

Basic authentication

Token authentication

API reference

Every documented endpoint is listed in the API reference.

View API reference

Browse endpoints with request and response examples