Getting started
Create a key and make your first request
1. Create an API key
Mint an org-scoped key (shown once) via the API, or from the Loomscape app under API keys:
curl -X POST https://api.loomscape.space/api/api-keys \
-H "content-type: application/json" \
--cookie "<your app session>" \
-d '{"name":"my-key","scopes":["brands:read","analytics:read","mentions:read","overview:read"]}'The response includes the plaintext key sk_loom_… once — store it securely.
2. Make your first request
Send the key as x-api-key (or Authorization: Bearer sk_loom_…):
curl https://api.loomscape.space/v1/brands \
-H "x-api-key: sk_loom_…"{ "success": true, "message": "OK", "data": [ /* your brands */ ], "meta": {} }