> ## 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.

# CreateTokenPairEventWebhooksInput

> Input for creating token pair event webhooks.

<div data-generated>
  ## GraphQL

  ```
  input CreateTokenPairEventWebhooksInput {
    webhooks: [CreateTokenPairEventWebhookArgs!]!
  }

  enum AlertRecurrence {
    INDEFINITE
    ONCE
  }

  input OneOfNumberConditionInput {
    oneOf: [Int!]!
  }

  input StringEqualsConditionInput {
    eq: String!
  }

  input ComparisonOperatorInput {
    gt: String
    gte: String
    lt: String
    lte: String
    eq: String
  }

  enum TokenPairEventType {
    SWAP
    MINT
    BURN
    SYNC
    BUY
    SELL
    COLLECT
    COLLECT_PROTOCOL
  }

  input TokenPairEventTypeConditionInput {
    oneOf: [TokenPairEventType!]!
  }

  input TokenPairEventWebhookConditionInput {
    networkId: OneOfNumberConditionInput
    maker: StringEqualsConditionInput
    pairAddress: StringEqualsConditionInput
    exchangeAddress: StringEqualsConditionInput
    tokenAddress: StringEqualsConditionInput
    swapValue: ComparisonOperatorInput
    eventType: TokenPairEventTypeConditionInput
  }

  input RetrySettingsInput {
    maxTimeElapsed: Int
    minRetryDelay: Int
    maxRetryDelay: Int
    maxRetries: Int
  }

  input BucketKeyInput {
    bucketId: String!
    bucketSortKey: String!
  }

  enum PublishingType {
    BATCH
    SINGLE
  }

  input CreateTokenPairEventWebhookArgs {
    name: String!
    callbackUrl: String!
    securityToken: String!
    alertRecurrence: AlertRecurrence!
    conditions: TokenPairEventWebhookConditionInput!
    retrySettings: RetrySettingsInput
    bucketKey: BucketKeyInput
    publishingType: PublishingType
    deduplicate: Boolean
  }
  ```

  ### Used By

  **Used as input by**

  * [createWebhooks](/api-reference/mutations/createwebhooks.md): Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.
</div>
