List kits
Every brand kit in the organization.
GET /organizations/{org}/kits
Brand kits hold the branding a page or an email wears. Not paginated.
Authorization
Any member of the org. A non-member gets 404, the same as for an org that does not exist.
Path parameters
| Name | Type | Description |
|---|---|---|
org | string | The organization: its id (org_…) or its slug. It has to be an org your token can manage (see Who can call it) |
Response
200 OK with an array of kits.
[
{
"id": "kit_65f1c2a9e4b0d3f7a1c8e906",
"name": "Acme brand",
"branding": {
"favicon": "https://ui-avatars.com/api/?name=Acme&size=32",
"logo": "https://ui-avatars.com/api/?name=Acme&size=128",
"og_image": "https://placehold.co/1200x630",
"og_image_width": 1200,
"og_image_height": 630,
"primary_color_light": "#4f46e5",
"primary_color_dark": "#818cf8",
"tagline": "",
"description": ""
}
}
]
| Field | Type | Description |
|---|---|---|
id | string | kit_… |
name | string | |
branding.favicon, branding.logo, branding.og_image | URL | https |
branding.og_image_width, branding.og_image_height | integer | Positive |
branding.primary_color_light, branding.primary_color_dark | string | #rrggbb |
branding.tagline, branding.description | string | Up to 2000 characters |
Errors
| Status | error | When |
|---|---|---|
404 | not_found | The org does not exist, or your token cannot manage it |
Example
curl https://loginwith.loginwith.dev/organizations/acme/kits \
-H "Authorization: Bearer $TOKEN"