Skip to main content
POST
/
v1
/
rewards.list
Typescript (SDK)
import { Autumn } from 'autumn-js'

const autumn = new Autumn()

const result = await autumn.rewards.list({});
{
  "coupons": [],
  "feature_grants": []
}

Response

{
  "coupons": [],
  "feature_grants": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2.3.0
required

Body

application/json

The body is of type RewardsListParams · object.

Response

200 - application/json

OK

coupons
object[]
required

The list of coupons configured for the organization.

feature_grants
object[]
required

The list of feature grants configured for the organization.