> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# parseTapUrl

> Parses a tap URL into the values the tap endpoint takes. Accepts the `/verify/{chip_id}?e=` and `/u/{chip_id}?e=` forms, and a tap-redirect destination on your own domain, where the values arrive as the `endstate_chip_id` and `endstate_e` query parameters instead.

```ts theme={null}
parseTapUrl(url: string, source?: string): TapResult
```

## Example

```ts theme={null}
const tap = parseTapUrl(url, "manual");
```
