(WaitlistEntries)
Retrieve a list of waitlist entries for the instance.
Entries are ordered by creation date in descending order by default.
Supports filtering by email address or status and pagination with limit and offset parameters.
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Components;
using Clerk.BackendAPI.Models.Operations;
var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
ListWaitlistEntriesRequest req = new ListWaitlistEntriesRequest() {
Limit = 20,
Offset = 10,
};
var res = await sdk.WaitlistEntries.ListWaitlistEntriesAsync(req);
// handle response
ListWaitlistEntriesResponse
Error Type |
Status Code |
Content Type |
Clerk.BackendAPI.Models.Errors.SDKError |
4XX, 5XX |
*/* |
Creates a new waitlist entry for the given email address.
If the email address is already on the waitlist, no new entry will be created and the existing waitlist entry will be returned.
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Components;
using Clerk.BackendAPI.Models.Operations;
var sdk = new ClerkBackendApi(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
CreateWaitlistEntryRequestBody req = new CreateWaitlistEntryRequestBody() {
EmailAddress = "[email protected]",
};
var res = await sdk.WaitlistEntries.CreateWaitlistEntryAsync(req);
// handle response
CreateWaitlistEntryResponse
Error Type |
Status Code |
Content Type |
Clerk.BackendAPI.Models.Errors.ClerkErrors |
400, 422 |
application/json |
Clerk.BackendAPI.Models.Errors.SDKError |
4XX, 5XX |
*/* |