List email kits
Which brand kit each transactional email wears.
GET /organizations/{org}/emails
Returns a map from template to kit id. Only templates with a kit assigned appear. The templates are invite, magic-link, email-code, new-sign-in and password-reset.
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
{
"invite": "kit_65f1c2a9e4b0d3f7a1c8e906",
"magic-link": "kit_65f1c2a9e4b0d3f7a1c8e906"
}
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/emails \
-H "Authorization: Bearer $TOKEN"