Use the API
Create an API key and call the Loomduct API.
The Loomduct API lets your own code read data about your organization. It is new and has two endpoints so far.
Create an API key
API keys belong to the organization. Only owners can manage them.
- Open the project menu, select Organization settings, then API keys.
- Select Create API key, give it a Name, and select Create key.
- Copy the key and keep it somewhere safe. It is shown only once.
Keys start with sk_ and do not expire. Keep them on your server: never put an API key in frontend code. To revoke a key, open the menu on its row and select Revoke key. Anything that uses it stops working right away.
Make a request
Send the key in the Authorization header:
curl https://api.loomduct.com/v1/organization \
-H "Authorization: Bearer sk_your_api_key"{
"object": "organization",
"id": "org_…",
"name": "Acme",
"slug": "acme",
"logo": null,
"createdAt": "2026-10-01T09:30:00.000Z"
}Endpoints
| Endpoint | Returns |
|---|---|
GET /v1/organization | The organization that owns the API key. |
GET /v1/members | The members of the organization, 20 per page (limit up to 100). Use nextCursor as cursor for the next page. |
The full reference, with every field, is at api.loomduct.com/v1/docs. The OpenAPI file is at https://api.loomduct.com/v1/openapi.json.
Errors
Errors answer with a status code and a JSON body with a code and a message:
| Status | When |
|---|---|
400 | A parameter is wrong, like a limit over 100. |
401 | The Authorization header is missing, or the key is wrong or revoked. |
404 | The path or the item does not exist. |