---
# System prepended metadata

title: AARP internal api integration

---

# AARP internal api integration

1. Membership api
2. Rewards api


Through SongTheme widget, we are looking for programmatic interface of get/set operations 

### Membership
1. Get user membership 
    1. Affects `Lock` icon 
2. Set user membership
    1. Should be triggered when user is willing to unlock
    2. Can be a url redirection
### Rewards api
1. Get current rewards
        4. can be a cookie read operation
2. Update user rewards
    5. After certian threshold is meet by user , we should trigger this api 



auth cookie name: at

    reward cookie name: rs
    membership name; 