Skip to content

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.

  1. Open the project menu, select Organization settings, then API keys.
  2. Select Create API key, give it a Name, and select Create key.
  3. 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

EndpointReturns
GET /v1/organizationThe organization that owns the API key.
GET /v1/membersThe 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:

StatusWhen
400A parameter is wrong, like a limit over 100.
401The Authorization header is missing, or the key is wrong or revoked.
404The path or the item does not exist.