@gitbook/api 0.209.0 → 0.209.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/spec/openapi.json CHANGED
@@ -7688,7 +7688,7 @@
7688
7688
  "patch": {
7689
7689
  "operationId": "updateIntegrationInstallation",
7690
7690
  "summary": "Update an integration installation",
7691
- "description": "Updates the account-level configuration of an installation, and which spaces or sites it applies to.",
7691
+ "description": "Updates the account-level configuration of an installation, and which spaces or sites it applies to. Only a user can change `space_selection` and `site_selection`; integration and installation tokens get a 403 when they send them.",
7692
7692
  "x-gitbook-mcp": true,
7693
7693
  "tags": [
7694
7694
  "integrations"
@@ -10558,7 +10558,7 @@
10558
10558
  "operationId": "joinOrganization",
10559
10559
  "summary": "Join an organization",
10560
10560
  "x-gitbook-mcp": true,
10561
- "description": "Join an organization if the user's verified email domain matches one of the organization's allowed email domains.\nThis endpoint allows existing users to join organizations they're eligible for based on their email domain.\n",
10561
+ "description": "Join an organization if the user's verified email domain matches one of the organization's allowed email domains.\nThis endpoint allows existing users to join organizations they're eligible for based on their email domain.\nIf the user is already a member, refresh their access without changing their membership.\n",
10562
10562
  "tags": [
10563
10563
  "organizations"
10564
10564
  ],
@@ -10574,7 +10574,7 @@
10574
10574
  ],
10575
10575
  "responses": {
10576
10576
  "204": {
10577
- "description": "Successfully joined the organization"
10577
+ "description": "Membership exists and access was refreshed"
10578
10578
  },
10579
10579
  "400": {
10580
10580
  "description": "User's email domain is not valid",
@@ -11688,6 +11688,290 @@
11688
11688
  }
11689
11689
  }
11690
11690
  },
11691
+ "/orgs/{organizationId}/domains": {
11692
+ "get": {
11693
+ "operationId": "listOrganizationDomains",
11694
+ "summary": "List the email domains of an organization",
11695
+ "tags": [
11696
+ "organizations"
11697
+ ],
11698
+ "security": [
11699
+ {
11700
+ "user-internal": []
11701
+ }
11702
+ ],
11703
+ "parameters": [
11704
+ {
11705
+ "$ref": "#/components/parameters/organizationId"
11706
+ }
11707
+ ],
11708
+ "responses": {
11709
+ "200": {
11710
+ "description": "OK",
11711
+ "content": {
11712
+ "application/json": {
11713
+ "schema": {
11714
+ "allOf": [
11715
+ {
11716
+ "$ref": "#/components/schemas/List"
11717
+ },
11718
+ {
11719
+ "type": "object",
11720
+ "required": [
11721
+ "items"
11722
+ ],
11723
+ "properties": {
11724
+ "items": {
11725
+ "type": "array",
11726
+ "items": {
11727
+ "$ref": "#/components/schemas/OrganizationDomain"
11728
+ }
11729
+ }
11730
+ }
11731
+ }
11732
+ ]
11733
+ }
11734
+ }
11735
+ }
11736
+ },
11737
+ "404": {
11738
+ "$ref": "#/components/responses/NotFoundError"
11739
+ }
11740
+ }
11741
+ },
11742
+ "post": {
11743
+ "operationId": "addOrganizationDomain",
11744
+ "summary": "Add an email domain to an organization",
11745
+ "description": "Adds an email domain. People only join through it once the domain is verified.\n",
11746
+ "tags": [
11747
+ "organizations"
11748
+ ],
11749
+ "security": [
11750
+ {
11751
+ "user-internal": []
11752
+ }
11753
+ ],
11754
+ "parameters": [
11755
+ {
11756
+ "$ref": "#/components/parameters/organizationId"
11757
+ }
11758
+ ],
11759
+ "requestBody": {
11760
+ "required": true,
11761
+ "content": {
11762
+ "application/json": {
11763
+ "schema": {
11764
+ "type": "object",
11765
+ "properties": {
11766
+ "domain": {
11767
+ "type": "string",
11768
+ "maxLength": 253
11769
+ }
11770
+ },
11771
+ "required": [
11772
+ "domain"
11773
+ ]
11774
+ }
11775
+ }
11776
+ }
11777
+ },
11778
+ "responses": {
11779
+ "201": {
11780
+ "description": "Domain added",
11781
+ "content": {
11782
+ "application/json": {
11783
+ "schema": {
11784
+ "$ref": "#/components/schemas/OrganizationDomain"
11785
+ }
11786
+ }
11787
+ }
11788
+ },
11789
+ "400": {
11790
+ "$ref": "#/components/responses/BadRequestError"
11791
+ },
11792
+ "404": {
11793
+ "$ref": "#/components/responses/NotFoundError"
11794
+ },
11795
+ "409": {
11796
+ "$ref": "#/components/responses/ConflictError"
11797
+ }
11798
+ }
11799
+ }
11800
+ },
11801
+ "/orgs/{organizationId}/domains/{emailDomain}": {
11802
+ "get": {
11803
+ "operationId": "getOrganizationDomain",
11804
+ "summary": "Get an email domain of an organization",
11805
+ "tags": [
11806
+ "organizations"
11807
+ ],
11808
+ "security": [
11809
+ {
11810
+ "user-internal": []
11811
+ }
11812
+ ],
11813
+ "parameters": [
11814
+ {
11815
+ "$ref": "#/components/parameters/organizationId"
11816
+ },
11817
+ {
11818
+ "$ref": "#/components/parameters/emailDomain"
11819
+ }
11820
+ ],
11821
+ "responses": {
11822
+ "200": {
11823
+ "description": "OK",
11824
+ "content": {
11825
+ "application/json": {
11826
+ "schema": {
11827
+ "$ref": "#/components/schemas/OrganizationDomain"
11828
+ }
11829
+ }
11830
+ }
11831
+ },
11832
+ "404": {
11833
+ "$ref": "#/components/responses/NotFoundError"
11834
+ }
11835
+ }
11836
+ },
11837
+ "patch": {
11838
+ "operationId": "updateOrganizationDomain",
11839
+ "summary": "Update an email domain of an organization",
11840
+ "tags": [
11841
+ "organizations"
11842
+ ],
11843
+ "security": [
11844
+ {
11845
+ "user-internal": []
11846
+ }
11847
+ ],
11848
+ "parameters": [
11849
+ {
11850
+ "$ref": "#/components/parameters/organizationId"
11851
+ },
11852
+ {
11853
+ "$ref": "#/components/parameters/emailDomain"
11854
+ }
11855
+ ],
11856
+ "requestBody": {
11857
+ "required": true,
11858
+ "content": {
11859
+ "application/json": {
11860
+ "schema": {
11861
+ "type": "object",
11862
+ "minProperties": 1,
11863
+ "properties": {
11864
+ "autoJoinEnabled": {
11865
+ "type": "boolean"
11866
+ },
11867
+ "defaultRole": {
11868
+ "$ref": "#/components/schemas/OrganizationDomainDefaultRole"
11869
+ },
11870
+ "defaultTeam": {
11871
+ "description": "ID of a team of the organization, or null to add no team",
11872
+ "type": [
11873
+ "string",
11874
+ "null"
11875
+ ]
11876
+ }
11877
+ }
11878
+ }
11879
+ }
11880
+ }
11881
+ },
11882
+ "responses": {
11883
+ "200": {
11884
+ "description": "Domain updated",
11885
+ "content": {
11886
+ "application/json": {
11887
+ "schema": {
11888
+ "$ref": "#/components/schemas/OrganizationDomain"
11889
+ }
11890
+ }
11891
+ }
11892
+ },
11893
+ "400": {
11894
+ "$ref": "#/components/responses/BadRequestError"
11895
+ },
11896
+ "404": {
11897
+ "$ref": "#/components/responses/NotFoundError"
11898
+ }
11899
+ }
11900
+ },
11901
+ "delete": {
11902
+ "operationId": "deleteOrganizationDomain",
11903
+ "summary": "Remove an email domain from an organization",
11904
+ "description": "Removes an email domain. Members who joined through it stay members.\n",
11905
+ "tags": [
11906
+ "organizations"
11907
+ ],
11908
+ "security": [
11909
+ {
11910
+ "user-internal": []
11911
+ }
11912
+ ],
11913
+ "parameters": [
11914
+ {
11915
+ "$ref": "#/components/parameters/organizationId"
11916
+ },
11917
+ {
11918
+ "$ref": "#/components/parameters/emailDomain"
11919
+ }
11920
+ ],
11921
+ "responses": {
11922
+ "204": {
11923
+ "description": "Domain not found"
11924
+ },
11925
+ "205": {
11926
+ "description": "Domain removed"
11927
+ },
11928
+ "404": {
11929
+ "$ref": "#/components/responses/NotFoundError"
11930
+ }
11931
+ }
11932
+ }
11933
+ },
11934
+ "/orgs/{organizationId}/domains/{emailDomain}/verify": {
11935
+ "post": {
11936
+ "operationId": "verifyOrganizationDomain",
11937
+ "summary": "Verify an email domain of an organization",
11938
+ "description": "Checks the domain's DNS TXT record. A legacy domain first gets its verification record, and keeps letting people join until it is verified.\n",
11939
+ "tags": [
11940
+ "organizations"
11941
+ ],
11942
+ "security": [
11943
+ {
11944
+ "user-internal": []
11945
+ }
11946
+ ],
11947
+ "parameters": [
11948
+ {
11949
+ "$ref": "#/components/parameters/organizationId"
11950
+ },
11951
+ {
11952
+ "$ref": "#/components/parameters/emailDomain"
11953
+ }
11954
+ ],
11955
+ "responses": {
11956
+ "200": {
11957
+ "description": "OK",
11958
+ "content": {
11959
+ "application/json": {
11960
+ "schema": {
11961
+ "$ref": "#/components/schemas/OrganizationDomain"
11962
+ }
11963
+ }
11964
+ }
11965
+ },
11966
+ "404": {
11967
+ "$ref": "#/components/responses/NotFoundError"
11968
+ },
11969
+ "409": {
11970
+ "$ref": "#/components/responses/ConflictError"
11971
+ }
11972
+ }
11973
+ }
11974
+ },
11691
11975
  "/orgs/{organizationId}/scim/connections": {
11692
11976
  "get": {
11693
11977
  "operationId": "listOrganizationSCIMConnections",
@@ -25754,6 +26038,15 @@
25754
26038
  "type": "string"
25755
26039
  }
25756
26040
  },
26041
+ "emailDomain": {
26042
+ "name": "emailDomain",
26043
+ "in": "path",
26044
+ "required": true,
26045
+ "description": "Email domain",
26046
+ "schema": {
26047
+ "type": "string"
26048
+ }
26049
+ },
25757
26050
  "scimConnectionId": {
25758
26051
  "name": "scimConnectionId",
25759
26052
  "in": "path",
@@ -25929,7 +26222,7 @@
25929
26222
  "siteQuestionVisitorType": {
25930
26223
  "name": "visitorType",
25931
26224
  "in": "query",
25932
- "description": "Filter by whether a person or an AI agent asked the question.",
26225
+ "description": "Filter by who asked the question (a person, an AI agent, another bot, or unknown).",
25933
26226
  "schema": {
25934
26227
  "type": "array",
25935
26228
  "items": {
@@ -26033,15 +26326,6 @@
26033
26326
  "type": "string"
26034
26327
  }
26035
26328
  },
26036
- "emailDomain": {
26037
- "name": "emailDomain",
26038
- "in": "path",
26039
- "required": true,
26040
- "description": "Email domain",
26041
- "schema": {
26042
- "type": "string"
26043
- }
26044
- },
26045
26329
  "xGitBookPartnerKey": {
26046
26330
  "in": "header",
26047
26331
  "name": "X-GitBook-Partner-Key",
@@ -26194,6 +26478,124 @@
26194
26478
  "token"
26195
26479
  ]
26196
26480
  },
26481
+ "Timestamp": {
26482
+ "type": "string",
26483
+ "format": "date-time"
26484
+ },
26485
+ "UserPasskey": {
26486
+ "type": "object",
26487
+ "description": "A passkey the user registered to sign in to GitBook.",
26488
+ "properties": {
26489
+ "object": {
26490
+ "type": "string",
26491
+ "description": "The object type, which is always \"passkey\"",
26492
+ "enum": [
26493
+ "passkey"
26494
+ ]
26495
+ },
26496
+ "id": {
26497
+ "type": "string",
26498
+ "description": "Unique identifier of the passkey."
26499
+ },
26500
+ "name": {
26501
+ "type": "string",
26502
+ "description": "Name the user gave the passkey, usually the device or password manager that holds it."
26503
+ },
26504
+ "createdAt": {
26505
+ "$ref": "#/components/schemas/Timestamp",
26506
+ "description": "When the passkey was registered."
26507
+ },
26508
+ "lastUsedAt": {
26509
+ "$ref": "#/components/schemas/Timestamp",
26510
+ "description": "When the passkey was last used to sign in. Absent if it has never been used."
26511
+ },
26512
+ "backedUp": {
26513
+ "type": "boolean",
26514
+ "description": "Whether the passkey is synced across devices, for example by a password manager."
26515
+ }
26516
+ },
26517
+ "required": [
26518
+ "object",
26519
+ "id",
26520
+ "name",
26521
+ "createdAt",
26522
+ "backedUp"
26523
+ ]
26524
+ },
26525
+ "PasskeyRegistrationResponse": {
26526
+ "type": "object",
26527
+ "description": "The browser's answer to the passkey registration options (RegistrationResponseJSON).",
26528
+ "properties": {
26529
+ "id": {
26530
+ "type": "string"
26531
+ },
26532
+ "rawId": {
26533
+ "type": "string"
26534
+ },
26535
+ "type": {
26536
+ "type": "string",
26537
+ "enum": [
26538
+ "public-key"
26539
+ ]
26540
+ },
26541
+ "response": {
26542
+ "type": "object",
26543
+ "properties": {
26544
+ "clientDataJSON": {
26545
+ "type": "string"
26546
+ },
26547
+ "attestationObject": {
26548
+ "type": "string"
26549
+ },
26550
+ "transports": {
26551
+ "type": "array",
26552
+ "maxItems": 8,
26553
+ "description": "How the browser reaches the authenticator, such as usb, nfc, ble, smart-card, hybrid or internal. WebAuthn can add values, so any short lowercase name is accepted.",
26554
+ "items": {
26555
+ "type": "string",
26556
+ "pattern": "^[a-z][a-z-]{0,31}$"
26557
+ }
26558
+ }
26559
+ },
26560
+ "required": [
26561
+ "clientDataJSON",
26562
+ "attestationObject"
26563
+ ]
26564
+ },
26565
+ "clientExtensionResults": {
26566
+ "type": "object",
26567
+ "additionalProperties": true
26568
+ },
26569
+ "authenticatorAttachment": {
26570
+ "type": "string",
26571
+ "enum": [
26572
+ "platform",
26573
+ "cross-platform"
26574
+ ]
26575
+ }
26576
+ },
26577
+ "required": [
26578
+ "id",
26579
+ "rawId",
26580
+ "type",
26581
+ "response",
26582
+ "clientExtensionResults"
26583
+ ]
26584
+ },
26585
+ "PasskeyRegistrationOptions": {
26586
+ "type": "object",
26587
+ "description": "WebAuthn options for creating a passkey (PublicKeyCredentialCreationOptionsJSON), to pass unchanged to the browser.",
26588
+ "additionalProperties": true,
26589
+ "properties": {
26590
+ "challenge": {
26591
+ "type": "string",
26592
+ "description": "Single-use challenge the new passkey must sign."
26593
+ }
26594
+ },
26595
+ "required": [
26596
+ "challenge"
26597
+ ]
26598
+ },
26197
26599
  "List": {
26198
26600
  "type": "object",
26199
26601
  "properties": {
@@ -26219,10 +26621,6 @@
26219
26621
  "type": "string",
26220
26622
  "maxLength": 50
26221
26623
  },
26222
- "Timestamp": {
26223
- "type": "string",
26224
- "format": "date-time"
26225
- },
26226
26624
  "UserAPIToken": {
26227
26625
  "type": "object",
26228
26626
  "description": "The API token details, excluding the token itself.",
@@ -41202,6 +41600,13 @@
41202
41600
  }
41203
41601
  }
41204
41602
  },
41603
+ "NewOrganizationTitle": {
41604
+ "type": "string",
41605
+ "description": "Name of a new organization",
41606
+ "minLength": 2,
41607
+ "maxLength": 80,
41608
+ "pattern": "\\S.*\\S"
41609
+ },
41205
41610
  "SiteOnboardingSource": {
41206
41611
  "type": "string",
41207
41612
  "description": "Where the user's docs are coming from today.",
@@ -41271,10 +41676,12 @@
41271
41676
  "type": "object",
41272
41677
  "properties": {
41273
41678
  "title": {
41274
- "$ref": "#/components/schemas/OrganizationTitle"
41679
+ "$ref": "#/components/schemas/NewOrganizationTitle"
41275
41680
  },
41276
41681
  "emailDomains": {
41277
- "$ref": "#/components/schemas/OrganizationEmailDomains"
41682
+ "$ref": "#/components/schemas/OrganizationEmailDomains",
41683
+ "description": "No longer supported: a non-empty list is rejected. Add and verify domains with the domain management API after the organization is created.",
41684
+ "deprecated": true
41278
41685
  },
41279
41686
  "onboardingPreferences": {
41280
41687
  "description": "Preferences collected from the user during onboarding, to apply to the organization's default site. Only used when `withDefaultSite` is true.",
@@ -42728,7 +43135,26 @@
42728
43135
  "enum": [
42729
43136
  "claude",
42730
43137
  "codex",
42731
- "replit"
43138
+ "cursor",
43139
+ "lovable",
43140
+ "replit",
43141
+ "other"
43142
+ ]
43143
+ },
43144
+ "reasonComment": {
43145
+ "$ref": "#/components/schemas/BillingCancellationComment"
43146
+ },
43147
+ "reasonHosting": {
43148
+ "description": "Where the organization plans to host its own solution",
43149
+ "type": "string",
43150
+ "enum": [
43151
+ "own_website_or_app",
43152
+ "vercel",
43153
+ "netlify",
43154
+ "github_pages",
43155
+ "cloudflare_pages",
43156
+ "not_decided",
43157
+ "other"
42732
43158
  ]
42733
43159
  }
42734
43160
  },
@@ -42744,14 +43170,41 @@
42744
43170
  "reason": {
42745
43171
  "type": "string",
42746
43172
  "enum": [
42747
- "will_vibe_code_our_own_app"
43173
+ "found_better_alternative"
42748
43174
  ]
42749
43175
  },
42750
- "reasonDetail": {
42751
- "description": "The tool the organization is moving to",
43176
+ "reasonComment": {
43177
+ "$ref": "#/components/schemas/BillingCancellationComment"
43178
+ }
43179
+ },
43180
+ "additionalProperties": false,
43181
+ "required": [
43182
+ "reason",
43183
+ "reasonComment"
43184
+ ]
43185
+ },
43186
+ {
43187
+ "type": "object",
43188
+ "properties": {
43189
+ "reason": {
42752
43190
  "type": "string",
42753
43191
  "enum": [
42754
- "other"
43192
+ "company_shutdown"
43193
+ ]
43194
+ }
43195
+ },
43196
+ "additionalProperties": false,
43197
+ "required": [
43198
+ "reason"
43199
+ ]
43200
+ },
43201
+ {
43202
+ "type": "object",
43203
+ "properties": {
43204
+ "reason": {
43205
+ "type": "string",
43206
+ "enum": [
43207
+ "other_reason"
42755
43208
  ]
42756
43209
  },
42757
43210
  "reasonComment": {
@@ -42761,10 +43214,35 @@
42761
43214
  "additionalProperties": false,
42762
43215
  "required": [
42763
43216
  "reason",
42764
- "reasonDetail",
42765
43217
  "reasonComment"
42766
43218
  ]
42767
43219
  },
43220
+ {
43221
+ "type": "object",
43222
+ "properties": {
43223
+ "reason": {
43224
+ "type": "string",
43225
+ "enum": [
43226
+ "not_using_enough"
43227
+ ]
43228
+ },
43229
+ "reasonDetail": {
43230
+ "type": "string",
43231
+ "enum": [
43232
+ "yes_in_a_few_months",
43233
+ "no"
43234
+ ]
43235
+ },
43236
+ "reasonComment": {
43237
+ "$ref": "#/components/schemas/BillingCancellationComment"
43238
+ }
43239
+ },
43240
+ "additionalProperties": false,
43241
+ "required": [
43242
+ "reason",
43243
+ "reasonDetail"
43244
+ ]
43245
+ },
42768
43246
  {
42769
43247
  "type": "object",
42770
43248
  "properties": {
@@ -42774,6 +43252,37 @@
42774
43252
  "found_better_alternative"
42775
43253
  ]
42776
43254
  },
43255
+ "reasonDetail": {
43256
+ "type": "string",
43257
+ "enum": [
43258
+ "mintlify",
43259
+ "readme",
43260
+ "docusaurus",
43261
+ "notion",
43262
+ "confluence",
43263
+ "self_hosted",
43264
+ "other"
43265
+ ]
43266
+ },
43267
+ "reasonComment": {
43268
+ "$ref": "#/components/schemas/BillingCancellationComment"
43269
+ }
43270
+ },
43271
+ "additionalProperties": false,
43272
+ "required": [
43273
+ "reason",
43274
+ "reasonDetail"
43275
+ ]
43276
+ },
43277
+ {
43278
+ "type": "object",
43279
+ "properties": {
43280
+ "reason": {
43281
+ "type": "string",
43282
+ "enum": [
43283
+ "not_satisfied_with_product"
43284
+ ]
43285
+ },
42777
43286
  "reasonComment": {
42778
43287
  "$ref": "#/components/schemas/BillingCancellationComment"
42779
43288
  }
@@ -42790,13 +43299,25 @@
42790
43299
  "reason": {
42791
43300
  "type": "string",
42792
43301
  "enum": [
42793
- "company_shutdown"
43302
+ "budget"
43303
+ ]
43304
+ },
43305
+ "reasonDetail": {
43306
+ "type": "string",
43307
+ "enum": [
43308
+ "budget_cuts",
43309
+ "plan_price_increase",
43310
+ "consolidating_tools",
43311
+ "funding_changed",
43312
+ "excess_seats_or_sites",
43313
+ "project_budget_reduced"
42794
43314
  ]
42795
43315
  }
42796
43316
  },
42797
43317
  "additionalProperties": false,
42798
43318
  "required": [
42799
- "reason"
43319
+ "reason",
43320
+ "reasonDetail"
42800
43321
  ]
42801
43322
  },
42802
43323
  {
@@ -42805,7 +43326,13 @@
42805
43326
  "reason": {
42806
43327
  "type": "string",
42807
43328
  "enum": [
42808
- "other_reason"
43329
+ "budget"
43330
+ ]
43331
+ },
43332
+ "reasonDetail": {
43333
+ "type": "string",
43334
+ "enum": [
43335
+ "other"
42809
43336
  ]
42810
43337
  },
42811
43338
  "reasonComment": {
@@ -42815,6 +43342,7 @@
42815
43342
  "additionalProperties": false,
42816
43343
  "required": [
42817
43344
  "reason",
43345
+ "reasonDetail",
42818
43346
  "reasonComment"
42819
43347
  ]
42820
43348
  }
@@ -43627,6 +44155,7 @@
43627
44155
  "members-team-owners",
43628
44156
  "security-saml",
43629
44157
  "scim",
44158
+ "verified-domains",
43630
44159
  "change-requests-merge-rules"
43631
44160
  ]
43632
44161
  },
@@ -43934,6 +44463,119 @@
43934
44463
  "urls"
43935
44464
  ]
43936
44465
  },
44466
+ "OrganizationDomainStatus": {
44467
+ "type": "string",
44468
+ "description": "Verification status of the domain. \"legacy\" is a domain added before verification existed: it keeps letting people join automatically without being verified.\n",
44469
+ "enum": [
44470
+ "legacy",
44471
+ "pending",
44472
+ "verified",
44473
+ "error"
44474
+ ]
44475
+ },
44476
+ "OrganizationDomainDefaultRole": {
44477
+ "description": "Role given to people who join through the domain. \"default\" uses the organization's default role, and \"guest\" adds them as guests.\n",
44478
+ "oneOf": [
44479
+ {
44480
+ "$ref": "#/components/schemas/MemberRole"
44481
+ },
44482
+ {
44483
+ "type": "string",
44484
+ "enum": [
44485
+ "default",
44486
+ "guest"
44487
+ ]
44488
+ }
44489
+ ]
44490
+ },
44491
+ "OrganizationDomain": {
44492
+ "type": "object",
44493
+ "description": "An email domain of an organization.",
44494
+ "properties": {
44495
+ "object": {
44496
+ "type": "string",
44497
+ "description": "The object type, which is always \"organization-domain\"",
44498
+ "enum": [
44499
+ "organization-domain"
44500
+ ]
44501
+ },
44502
+ "domain": {
44503
+ "type": "string",
44504
+ "description": "The email domain, such as \"example.com\""
44505
+ },
44506
+ "status": {
44507
+ "$ref": "#/components/schemas/OrganizationDomainStatus"
44508
+ },
44509
+ "statusDescription": {
44510
+ "type": "string",
44511
+ "description": "Why the last verification failed"
44512
+ },
44513
+ "verificationRecord": {
44514
+ "type": "object",
44515
+ "description": "DNS TXT record to add to the domain to verify it",
44516
+ "properties": {
44517
+ "type": {
44518
+ "type": "string",
44519
+ "enum": [
44520
+ "TXT"
44521
+ ]
44522
+ },
44523
+ "name": {
44524
+ "type": "string"
44525
+ },
44526
+ "value": {
44527
+ "type": "string"
44528
+ }
44529
+ },
44530
+ "required": [
44531
+ "type",
44532
+ "name",
44533
+ "value"
44534
+ ]
44535
+ },
44536
+ "autoJoinEnabled": {
44537
+ "type": "boolean",
44538
+ "description": "Whether people with an email on the domain join the organization automatically"
44539
+ },
44540
+ "defaultRole": {
44541
+ "$ref": "#/components/schemas/OrganizationDomainDefaultRole"
44542
+ },
44543
+ "defaultTeam": {
44544
+ "type": "string",
44545
+ "description": "ID of the team that people joining through the domain are added to"
44546
+ },
44547
+ "verifiedAt": {
44548
+ "description": "Date the domain was verified",
44549
+ "$ref": "#/components/schemas/Timestamp"
44550
+ },
44551
+ "createdAt": {
44552
+ "description": "Date the domain was added",
44553
+ "$ref": "#/components/schemas/Timestamp"
44554
+ },
44555
+ "urls": {
44556
+ "type": "object",
44557
+ "description": "URLs associated with the object",
44558
+ "properties": {
44559
+ "location": {
44560
+ "description": "URL of the domain in the API",
44561
+ "$ref": "#/components/schemas/URL"
44562
+ }
44563
+ },
44564
+ "required": [
44565
+ "location"
44566
+ ]
44567
+ }
44568
+ },
44569
+ "required": [
44570
+ "object",
44571
+ "domain",
44572
+ "status",
44573
+ "autoJoinEnabled",
44574
+ "defaultRole",
44575
+ "createdAt",
44576
+ "urls"
44577
+ ]
44578
+ },
43937
44579
  "SCIMConnectionLabel": {
43938
44580
  "type": "string",
43939
44581
  "description": "Name of the SCIM connection, shown to organization admins.",
@@ -61147,6 +61789,24 @@
61147
61789
  "user"
61148
61790
  ]
61149
61791
  },
61792
+ "APIChannelUserPasskeys": {
61793
+ "type": "object",
61794
+ "properties": {
61795
+ "channel": {
61796
+ "type": "string",
61797
+ "enum": [
61798
+ "user-passkeys"
61799
+ ]
61800
+ },
61801
+ "user": {
61802
+ "type": "string"
61803
+ }
61804
+ },
61805
+ "required": [
61806
+ "channel",
61807
+ "user"
61808
+ ]
61809
+ },
61150
61810
  "APIChannelUserProfile": {
61151
61811
  "type": "object",
61152
61812
  "properties": {
@@ -61632,6 +62292,25 @@
61632
62292
  "organization"
61633
62293
  ]
61634
62294
  },
62295
+ "APIChannelOrganizationDomains": {
62296
+ "type": "object",
62297
+ "description": "Subscription channel for changes in the email domains of an organization.",
62298
+ "properties": {
62299
+ "channel": {
62300
+ "type": "string",
62301
+ "enum": [
62302
+ "organization-domains"
62303
+ ]
62304
+ },
62305
+ "organization": {
62306
+ "type": "string"
62307
+ }
62308
+ },
62309
+ "required": [
62310
+ "channel",
62311
+ "organization"
62312
+ ]
62313
+ },
61635
62314
  "APIChannelOrganizationCustomFonts": {
61636
62315
  "type": "object",
61637
62316
  "description": "Subscription channel for changes in custom fonts in an organization.",
@@ -62447,6 +63126,9 @@
62447
63126
  {
62448
63127
  "$ref": "#/components/schemas/APIChannelUserOrganizations"
62449
63128
  },
63129
+ {
63130
+ "$ref": "#/components/schemas/APIChannelUserPasskeys"
63131
+ },
62450
63132
  {
62451
63133
  "$ref": "#/components/schemas/APIChannelUserProfile"
62452
63134
  },
@@ -62522,6 +63204,9 @@
62522
63204
  {
62523
63205
  "$ref": "#/components/schemas/APIChannelOrganizationSCIMConnections"
62524
63206
  },
63207
+ {
63208
+ "$ref": "#/components/schemas/APIChannelOrganizationDomains"
63209
+ },
62525
63210
  {
62526
63211
  "$ref": "#/components/schemas/APIChannelOrganizationCustomFonts"
62527
63212
  },