POST
/
api
/
ext
/
v1
/
people
/
withdraw
The type of reward is determined by the collection - whether it’s a gift store, or a credits store
If you withdraw more credits/gifts than a person has, their balance will be 0
If you want to withdraw all credits/gifts, just pass a very high amount

Authorizations

Authorization
string
headerrequired

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

Body

application/json
companyId
string
collectionId
string
required
emails
string[]
required
amount
number
required

Response

200 - application/json
numAffectedPeople
number
required