## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.neynar.com/llms.txt)

Use this file to discover all available pages before exploring further.

Make a [Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) request with `Authorization` header set to `Bearer ${token}` where token is a Quick Auth session token.

This is a convenience function that makes it easy to make authenticated requests but using it is not a requirement. Use [getToken](https://docs.neynar.com/miniapps/sdk/quick-auth/get-token) to get a token directly and attach it to requests using the library and format of your choosing.

## Usage

```
import { sdk } from '@farcaster/miniapp-sdk'

await sdk.quickAuth.fetch(url)
```

See the [make authenticated requests example](https://docs.neynar.com/miniapps/sdk/quick-auth#make-authenticated-requests).

## Parameters

See [Fetch parameters](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch#parameters).

## Return Value

See [Fetch return value](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch#return_value).
