Get Domain Match
Changed onDoes the caller's verified email domain already have a workspace?
Powers the dashboard's "Join {workspace}" affordance so a teammate sees they're joining their company's existing workspace, not creating a new one. Read-only preview of what POST /orgs/self-serve would auto-join.
Returns {"org": {"id", "name", "slug"}} when a workspace-domain caller with no org yet would auto-join an existing org, else {"org": null} (already a member, consumer email, or no match).
get/api/orgs/domain-match
Request
- Base URLhttps://api.codag.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
object required
Changes
- info
endpoint added
- info