# Petje.af API

- [Introduction](/petje.af-api/introduction.md): The Petje.af API allows developers to use the OAuth2 protocol to allow a Petje.af user to grant a 3rd party application partial access to his/her account.
- [Authentication](/petje.af-api/authentication.md): The Petje.af API allows developers to use the OAuth2 protocol to allow a Petje.af user to grant a 3rd party application partial access to his/her account.
- [Scopes](/petje.af-api/authentication/scopes.md): OAuth2 authentication require that you obtain correct permissions (scopes) to access different API endpoints.
- [Authorize](/petje.af-api/authentication/authorize.md): The Authorize endpoint is a page on the Petje.af website where the logged in user grants authorization to your client application.
- [Tokens](/petje.af-api/authentication/tokens.md): Get a valid access and refresh token.
- [Reference](/petje.af-api/reference.md): The endpoints of the Petje.af API.
- [Profile](/petje.af-api/reference/profile.md): Get the Profile of the current user
- [Pages](/petje.af-api/reference/pages.md): The pages that belong to the authenticated user.
- [Plans](/petje.af-api/reference/plans.md): The plans that belong to a page that belongs to the authenticated user.
- [Rewards](/petje.af-api/reference/rewards.md): The rewards that belong to a page that belongs to the authenticated user
- [Memberships](/petje.af-api/reference/memberships-1.md): The memberships of the authenticated user.
- [Membership rewards](/petje.af-api/reference/membership-rewards.md): The rewards that belongs to a membership.
