(Miscellaneous)
Various endpoints that do not belong in any particular category.
- GetPublicInterstitial - Returns the markup for the interstitial page
The Clerk interstitial endpoint serves an html page that loads clerk.js in order to check the user's authentication state. It is used by Clerk SDKs when the user's authentication state cannot be immediately determined.
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
using Clerk.BackendAPI.Models.Components;
var sdk = new ClerkBackendApi();
var res = await sdk.Miscellaneous.GetPublicInterstitialAsync(
frontendApi: "frontend-api_1a2b3c4d",
publishableKey: "pub_1a2b3c4d"
);
// handle response
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FrontendApi |
string | ➖ | The Frontend API key of your instance | frontend-api_1a2b3c4d |
PublishableKey |
string | ➖ | The publishable key of your instance | pub_1a2b3c4d |
Error Type | Status Code | Content Type |
---|---|---|
Clerk.BackendAPI.Models.Errors.SDKError | 4XX, 5XX | */* |