REST API v2
REST API v2 is an evolution of REST API v1 as it allows, besides the usual synchronous JSON response, redirecting the request asynchronously to other destinations using a variety of formats.
To perform a request with API v2, first choose the required endpoint depending on the region your are accessing from:
Add the paths in the following sections to the required endpoint in order to perform requests through API v2. There are two different types of requests you can perform: