Pin API hook-up