Post capture callback, API key setup, validate arguments