orgs
POST
https://lucidace.com /v1/orgs/{org_id}/domains/{id}/verify Scope adminCheck the DNS proof; 409 when the record is missing or another org verified the domain first.
Parameters
org_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/domains/{id}/verify"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"auto_join": true,
"created_at": "2024-01-01T00:00:00Z",
"default_role": "string",
"domain": "string",
"id": "string",
"token": "string",
"verified_at": "2024-01-01T00:00:00Z"
}Schema
auto_joinbooleanrequiredUsers who verify an email on this domain join the org.
created_atstringrequireddefault_rolestringrequiredadmin | member | viewerdomainstringrequiredidstringrequiredtokenstringrequiredPublish
_lucida-challenge.<domain> TXT <token>, then verify.verified_atstring404
409 proof not found, or the domain belongs to another org
POST
https://lucidace.com /v1/orgs/{org_id}/leave Scope adminLeave the org. The last owner cannot leave (409): transfer ownership or delete the org.
Parameters
org_idstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/leave"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
404
409 Last owner
GET
https://lucidace.com /v1/orgs/{org_id}/login-security Scope org:readParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/login-security"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"confirm_new_device_logins": true
}Schema
confirm_new_device_loginsbooleanrequiredPassword logins (no 2FA, no SSO) from a device a member never used need an emailed link.
404
PUT
https://lucidace.com /v1/orgs/{org_id}/login-security Scope org:writeParameters
org_idstringpathrequiredRequest body
application/json
confirm_new_device_loginsbooleanrequiredPassword logins (no 2FA, no SSO) from a device a member never used need an emailed link.
{
"confirm_new_device_logins": true
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/login-security" \
-H "Content-Type: application/json" \
-d '{"confirm_new_device_logins":true}'TypeScript
Python
Go
PHP
Ruby
Java
GET
https://lucidace.com /v1/orgs/{org_id}/seats Scope adminParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/seats"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"paid": 0,
"pending_paid_invites": 0,
"seat_limit": 0,
"viewers": 0
}Schema
paidintegerrequiredpending_paid_invitesintegerrequiredOpen invitations for a paid role (they reserve a seat).
seat_limitintegerThe cap on paid seats; null = unlimited. Viewers never count.
viewersintegerrequired403
404
PUT
https://lucidace.com /v1/orgs/{org_id}/security Scope org:writeRequire 2FA for every member of the org (owner/admin; caller must have 2FA enabled).
Request body
application/json
require_2fabooleanrequired{
"require_2fa": true
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/security" \
-H "Content-Type: application/json" \
-d '{"require_2fa":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
409 caller has no 2FA
GET
https://lucidace.com /v1/orgs/{org_id}/security/ip-allowlist Scope adminParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"cidr": "string",
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"label": "string"
}
],
"next_cursor": "string",
"your_ip": "string"
}Schema
dataIpRule[]requiredShow child parameters
cidrstringrequiredCIDR block, e.g.
203.0.113.0/24 (a bare address is a /32 or /128).created_atstringrequiredidstringrequiredlabelstringrequirednext_cursorstringyour_ipstringNull when no trusted proxy header is present.
403
404
POST
https://lucidace.com /v1/orgs/{org_id}/security/ip-allowlist Scope adminAdds a block. While the list is non-empty only listed addresses reach the org's API, so the first block has to contain the caller's own address.
Parameters
org_idstringpathrequiredRequest body
application/json
cidrstringrequiredCIDR block or a single address.
labelstring{
"cidr": "string",
"label": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist" \
-H "Content-Type: application/json" \
-d '{"cidr":"string","label":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"cidr": "string",
"created_at": "2024-01-01T00:00:00Z",
"id": "string",
"label": "string"
}Schema
cidrstringrequiredCIDR block, e.g.
203.0.113.0/24 (a bare address is a /32 or /128).created_atstringrequiredidstringrequiredlabelstringrequired400
403
404
409
DELETE
https://lucidace.com /v1/orgs/{org_id}/security/ip-allowlist/{id} Scope adminParameters
org_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/orgs/{org_id}/security/ip-allowlist/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
409
GET
https://lucidace.com /v1/orgs/{org_id}/security/policy Scope adminParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/security/policy"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"password_min_length": 0,
"password_require_mixed": true,
"seat_limit": 0,
"session_idle_minutes": 0,
"session_max_hours": 0
}Schema
password_min_lengthintegerMinimum password length on reset (10 to 128); null = the platform floor of 10.
password_require_mixedbooleanrequiredRequire upper case, lower case and a digit.
seat_limitintegerCap on paid (non-viewer) seats; null = unlimited.
session_idle_minutesintegerSign out after this many idle minutes (5 to 10080); null = the 7-day default.
session_max_hoursintegerAbsolute session lifetime in hours (1 to 720); null = the platform default.
403
404
PUT
https://lucidace.com /v1/orgs/{org_id}/security/policy Scope adminReplaces the whole policy; null clears a field.
Parameters
org_idstringpathrequiredRequest body
application/json
Body of PUT /security/policy: every field present, null = off.
password_min_lengthintegerpassword_require_mixedbooleanseat_limitintegersession_idle_minutesintegersession_max_hoursinteger{
"password_min_length": 0,
"password_require_mixed": true,
"seat_limit": 0,
"session_idle_minutes": 0,
"session_max_hours": 0
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/security/policy" \
-H "Content-Type: application/json" \
-d '{"password_min_length":0,"password_require_mixed":true,"seat_limit":0,"session_idle_minutes":0,"session_max_hours":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
400
403
404
409 seat limit below the seats in use
GET
https://lucidace.com /v1/orgs/{org_id}/settings Scope org:readParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/settings"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"brand_accent": "string",
"brand_name": "string",
"hide_members": true,
"logo_url": "string",
"members_can_invite": true,
"permanent_shares": true,
"white_label": true
}Schema
brand_accentstring#rrggbb accent colour of shares and reports.brand_namestringWhite-label name shown on shares and reports in place of Lucida (N-DXA-8).
hide_membersbooleanrequiredPlain members and viewers see only admins and themselves in the member list.
logo_urlstringmembers_can_invitebooleanrequiredPlain members may invite members and viewers (admins always can).
permanent_sharesbooleanrequiredShare links may be minted without expiry (P-M19). Off by default.
white_labelbooleanrequiredDrop the Lucida marks ("Powered by Lucida",
[Lucida] subjects) everywhere.404
Updated