Preview environment

function parseWebhookURL

export function parseWebhookURL(url: string): WebhookClientDataIdWithToken | null;

Parses a webhook URL for the id and token.

Returns: null if the URL is invalid, otherwise the id and the token

Parameters

url: string
The URL to parse