HTTP methods, headers, and status codes
This chapter summarises the HTTP methods, status codes, and headers that can be used to call the Investment API and lists response options.
HTTP methods
NOTE
Some resources may allow only partial data change.
HTTP headers
There are some mandatory headers for each call.
NOTE
content-length
andcontent-type
headers required only for requests that contain a request body.idempotency-key
required only forPOST
andPATCH
operations.upvest-api-version
is optional and has a default value of 1. (Note: you should not place quotes around this value despite it being defined as being a string)
HTTP status codes
We return the following HTTP status codes from our endpoints.
Success status codes (2xx)
Client error status codes (4xx)
Server error status codes (5xx)
Was this page helpful?