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

# SendEventOptions

> The third argument of sendEvent.

The third argument of `sendEvent`.

## Properties

### baseUrl?

```ts theme={null}
optional baseUrl?: string;
```

The Tappify origin to build the path under. Defaults to production.

***

### build?

```ts theme={null}
optional build?: string;
```

***

### dedupeKey?

```ts theme={null}
optional dedupeKey?: string;
```

Defaults to a fresh UUID, so give your own to make a retry idempotent.

***

### endpoint?

```ts theme={null}
optional endpoint?: string;
```

A full url to post to, which replaces `baseUrl` and the built path.

***

### extensionId

```ts theme={null}
extensionId: string;
```

***

### fetch?

```ts theme={null}
optional fetch?: {
  (input, init?): Promise<Response>;
  (input, init?): Promise<Response>;
};
```

A `fetch` of your own, for a test or a proxy. Defaults to the global one.

#### Call Signature

```ts theme={null}
(input, init?): Promise<Response>;
```

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)

##### Parameters

###### input

`RequestInfo` | `URL`

###### init?

`RequestInit`

##### Returns

`Promise`\<`Response`>

#### Call Signature

```ts theme={null}
(input, init?): Promise<Response>;
```

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)

##### Parameters

###### input

`string` | `Request` | `URL`

###### init?

`RequestInit`

##### Returns

`Promise`\<`Response`>

***

### installId

```ts theme={null}
installId: string;
```

Which install the event belongs to.

***

### occurredAt?

```ts theme={null}
optional occurredAt?: string;
```

Defaults to now, in ISO form.

***

### secret

```ts theme={null}
secret: string;
```

The inbound signing secret from the extension's Server page.
