Upvest Investment API.
Upvest Investment API (1.75.0)
Overview
Languages
Servers
Sandbox environment
https://sandbox.upvest.co/
Live environment
https://api.upvest.co/
Headers
Bodyapplication/x-www-form-urlencodedhttps://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
- Sandbox environment
https://sandbox.upvest.co/auth/token
- Live environment
https://api.upvest.co/auth/token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://sandbox.upvest.co/auth/token \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062' \
-d client_id=5b3fa7ba-57d3-4017-a65b-d57dcd2db643 \
-d client_secret=string \
-d grant_type=client_credentials \
-d scope=string
Response
application/json
{ "access_token": "token.signature", "expires_in": 86400, "token_type": "bearer", "scope": "users:read" }