Incentive Pool API

An incentive pool entity is entity that contains information about a pool from which you can pull individual incentive codes. Using methods such as POST and GET, you can create, edit, and manage your incentive pools with the Incentive Pool API.

Available API Methods

Elements & Attributes

Data ElementTypeMax Char LengthDescription
idInteger20A unique identifier for each incentive pool. This is automatically generated by the Vibes system.
nameStringThe name of the incentive pool, as defined by you. We recommend naming it something unique that you’ll remember.
issuance_allowedBooleanWhether issuance of codes is allowed. Setting this to false will prevent codes from being issued from this particular pool.
redemption_allowedBooleanWhether redemption of codes is allowed. Setting this to false will prevent codes from this particular pool from being redeemed.
incentive_codesObjectAn object describing this pool's incentive codes.
incentive_codes.totalIntegerTotal number of incentive codes in the pool.
incentive_codes.remainingIntegerRemaining number of available incentive codes in the pool.
incentive_codes.low_thresholdIntegerA number at which, if the available incentive codes is equal or less than, a notification is indicating a low number of available codes.
incentive_codes.max_charactersIntegerThe maximum number of characters allowed in an incentive code in this pool.
distributionObjectAn object describing this pool's distribution type.
distribution.methodString10The method of distribution (unique|multi).
notification_email_addressStringThe email address for all notifications.
created_atTimestamp20The date this pool was created. It should be in the ISO 8601 format - for example: 2017-01-01T12:00Z.
updated_atTimestamp20The date this pool was last updated. It should be in the ISO 8601 format - for example: 2017-04-07T12:00Z.
urlString50The URL to access this resource.

Example Entity

The following is the JSON representation of an incentive pool entity.

{
  "id": 42,
  "name": "Store Coupons",
  "issuance_allowed": true,
  "redemption_allowed": true,
  "incentive_codes": {
    "total": 500,
    "issued": 143,
    "remaining": 357,
    "low_threshold": 100,
    "max_characters": 50
  },
  "distribution": {
    "method": "unique"
  },
  "notification_email_address": "[email protected]",
  "created_at":"2017-01-01T12:00Z",
  "updated_at":"2017-04-07T12:00Z",
  "url":"/companies/:company_id/incentives/pools/:pool_id"
}