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

# WebhookType

> The type of webhook. Reference for the WebhookType enum in the Codex API: every value and where it is accepted.

<div data-generated>
  ## GraphQL

  ```
  enum WebhookType {
    PRICE_EVENT
    TOKEN_PAIR_EVENT
    RAW_TRANSACTION
    MARKET_CAP_EVENT
    TOKEN_PRICE_EVENT
    TOKEN_TRANSFER_EVENT
    PREDICTION_TRADE
    PREDICTION_MARKET_METRICS_EVENT
    TOKEN_LAUNCH_EVENT
  }
  ```

  ### Used By

  **Returned by**

  * [createWebhooks](/api-reference/mutations/createwebhooks.md): Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.
  * [getWebhooks](/api-reference/queries/getwebhooks.md): Returns a user's list of webhooks.
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.