Opt in
OptIns are generally user initiated and represent the acceptance of a Quest.
Authorizations
Path parameters
program_membership_idstringRequired
the user's program membership id
quest_idstringRequired
the ID for the quest being opted into
Responses
200
Successful response
application/json
post
POST /partner-api/v2/program-memberships/{program_membership_id}/quests/{quest_id}/opt-in HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
200
Successful response
{
"opt_in": {
"id": "text",
"quest_id": "text",
"created_at": 1,
"updated_at": 1,
"expires_at": 1,
"status": "opted_in",
"progress": [
{
"activity_id": "text",
"value": 1,
"updated_at": 1,
"fulfilled_at": 1,
"prize_claimed_at": 1
}
]
}
}