Machine-readable references (this page needs JavaScript to render the interactive docs):
v1 is legacy and supported for now. New integrations should use v2.