Skip to main content
Docs

getRedirectUrlList()

Retrieves a list of all white-listed redirect URLs. Returns a PaginatedResourceResponse object with a data property that contains an array of RedirectUrl objects, and a totalCount property that indicates the total number of redirect URLs for the application.

function getRedirectUrlList(): () => Promise<PaginatedResourceResponse<RedirectUrl[]>>

Note

Importing clerkClient varies based on your framework. Refer to the Backend SDK overview for usage details, including guidance on how to access the userId and other properties.

const response = await clerkClient.redirectUrls.getRedirectUrlList()

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint GET/redirect_urls/{id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on