REST API v2
REST API v2 allows the usual synchronous JSON response, and also 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: