OptIns are generally user initiated and represent the acceptance of a Quest.
the user's program membership id
the ID for the quest being opted into
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: */*
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 } ] } }