Skip to content

Commit 27ae697

Browse files
authored
Merge pull request #85 from clerk/update-openapi-specs-20260204-182352
chore: Update OpenAPI Specs
2 parents 76ff4eb + b581698 commit 27ae697

File tree

2 files changed

+58
-1
lines changed

2 files changed

+58
-1
lines changed

bapi/2025-11-10.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6945,6 +6945,55 @@ paths:
69456945
$ref: '#/components/responses/ClerkErrors'
69466946
'422':
69476947
$ref: '#/components/responses/UnprocessableEntity'
6948+
/waitlist_entries/bulk:
6949+
post:
6950+
operationId: CreateBulkWaitlistEntries
6951+
x-speakeasy-group: waitlistEntries
6952+
x-speakeasy-name-override: bulkCreate
6953+
summary: Create multiple waitlist entries
6954+
description: |-
6955+
Creates multiple waitlist entries for the provided email addresses.
6956+
You can choose whether to send confirmation emails by setting the `notify` parameter to `true` or `false` for each entry.
6957+
If the `notify` parameter is omitted, it defaults to `true`.
6958+
6959+
If an email address is already on the waitlist, no new entry will be created and the existing waitlist entry will be returned.
6960+
Duplicate email addresses within the same request are not allowed.
6961+
6962+
This endpoint is limited to a maximum of 50 entries per API call. If you need to add more entries, please make multiple requests.
6963+
tags:
6964+
- Waitlist Entries
6965+
requestBody:
6966+
description: Required parameters
6967+
content:
6968+
application/json:
6969+
schema:
6970+
type: array
6971+
minItems: 1
6972+
maxItems: 50
6973+
items:
6974+
type: object
6975+
additionalProperties: false
6976+
properties:
6977+
email_address:
6978+
type: string
6979+
format: email
6980+
description: The email address to add to the waitlist
6981+
notify:
6982+
type: boolean
6983+
description: |-
6984+
Optional flag which denotes whether a confirmation email should be sent to the given email address.
6985+
Defaults to `true`.
6986+
nullable: true
6987+
default: true
6988+
required:
6989+
- email_address
6990+
responses:
6991+
'200':
6992+
$ref: '#/components/responses/WaitlistEntry.List'
6993+
'400':
6994+
$ref: '#/components/responses/ClerkErrors'
6995+
'422':
6996+
$ref: '#/components/responses/UnprocessableEntity'
69486997
/waitlist_entries/{waitlist_entry_id}:
69496998
delete:
69506999
operationId: DeleteWaitlistEntry
@@ -15719,6 +15768,14 @@ components:
1571915768
application/json:
1572015769
schema:
1572115770
$ref: '#/components/schemas/WaitlistEntry'
15771+
WaitlistEntry.List:
15772+
description: Array of waitlist entries
15773+
content:
15774+
application/json:
15775+
schema:
15776+
type: array
15777+
items:
15778+
$ref: '#/components/schemas/WaitlistEntry'
1572215779
CommercePlan.List:
1572315780
description: A list of commerce plans.
1572415781
content:

webhooks/2025-04-15.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4134,7 +4134,7 @@ components:
41344134
period_end:
41354135
type: integer
41364136
format: int64
4137-
description: Unix timestamp in milliseconds when the subscription item period ends
4137+
description: Unix timestamp in milliseconds when the subscription item period ends. The field is null for default plan subscription items.
41384138
nullable: true
41394139
interval:
41404140
type: string

0 commit comments

Comments
 (0)