getRequirement([payload,])
Fetches the completion status of a program requirement for the user
Params
Param
Required
Type
Description
campaign.id
required
String
the id of the program/campaign the requirement belongs to.
Note: this campaign/program must belong to your account.
id
required
String
the referral program/campaign requirement id.
Response
UserRequirementResponse
Field
Type
Description
id
String
the requirement id processed by the request.
completed
Boolean
a boolean representing if the user has completed the requirement or not.
Examples
Last updated