# CreateProjectWebhookResponse

# Interface: CreateProjectWebhookResponse

Defined in: [v1/types/webhooks.ts:66](https://github.com/The-LukeZ/topgg-api-types/blob/5cc227801e183cace7c165b8868c83f5d1bd17af/src/v1/types/webhooks.ts#L66)

Response for creating a project webhook. `secret` is only returned here and on rotation -
store it immediately, it cannot be retrieved again.

- POST `/v1/projects/:project_id/webhooks`

## See

https://docs.top.gg/api/v1/project-webhooks#post-projectsproject_idwebhooks

## Extends

- [`ProjectWebhook`](ProjectWebhook.md)

## Properties

### id

> **id**: `string`

Defined in: [v1/types/webhooks.ts:15](https://github.com/The-LukeZ/topgg-api-types/blob/5cc227801e183cace7c165b8868c83f5d1bd17af/src/v1/types/webhooks.ts#L15)

The webhook's unique identifier.

#### Inherited from

[`ProjectWebhook`](ProjectWebhook.md).[`id`](ProjectWebhook.md#id)

***

### label

> **label**: `string`

Defined in: [v1/types/webhooks.ts:19](https://github.com/The-LukeZ/topgg-api-types/blob/5cc227801e183cace7c165b8868c83f5d1bd17af/src/v1/types/webhooks.ts#L19)

The dashboard label for this webhook.

#### Inherited from

[`ProjectWebhook`](ProjectWebhook.md).[`label`](ProjectWebhook.md#label)

***

### secret

> **secret**: `string`

Defined in: [v1/types/webhooks.ts:71](https://github.com/The-LukeZ/topgg-api-types/blob/5cc227801e183cace7c165b8868c83f5d1bd17af/src/v1/types/webhooks.ts#L71)

The signing secret used to verify the `x-topgg-signature` header on delivered webhook
requests. Prefixed with `whs_`.

***

### url

> **url**: `string`

Defined in: [v1/types/webhooks.ts:23](https://github.com/The-LukeZ/topgg-api-types/blob/5cc227801e183cace7c165b8868c83f5d1bd17af/src/v1/types/webhooks.ts#L23)

The HTTPS URL Top.gg delivers webhook events to.

#### Inherited from

[`ProjectWebhook`](ProjectWebhook.md).[`url`](ProjectWebhook.md#url)