The api key is a credential you need to get from Google. You can sign up for one by following the directions here. It authorizes you to interact with the Google Poly API.
Poly id is the ID tag of the poly asset. You can find it at the end of the URL of the asset. For example, the ID for this asset is i7FXM8FPqgYd