Object versioning

When you exchange data with v2 APIs, you don’t need to specify Accept and Content-Type headers explicitly. By default, the API uses application/json for both requests and responses. .

If you do include these headers, they must be set to application/json. Using any other value results in:

  • 406 if the Accept header is invalid.
  • 415) if the Content-Type header is invalid.