Opt ins

Endpoint to retrieve all optIns for a program membership

get

OptIns are user initiated and represent the acceptance of a Quest.

Authorizations
Path parameters
program_membership_idstringRequired

the program membership id

Responses
200
Successful response
application/json
get
GET /partner-api/v2/program-memberships/{program_membership_id}/quests/opt-ins HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "opt_ins": [
    {
      "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
        }
      ]
    }
  ]
}