INFO

Diff for /documentation/tutorials/getting_started.md

On this page, you can preview the modified document with the changes.
Note that the links within this diff are most likely broken because they are

  • relative to the original document or

  • point to another document that is not part of the changeset.


Go back to the summary


Getting started

Upvest complies with the highest security standards both in communication with our customers and in the handling of any data. For this reason, we set the bar high when it comes to the technical structures for working with the Investments API.

In this tutorial, we will walk you through the necessary steps you need to take to set up access to the Investment API. After receiving the credentials from Upvest, you are all set to continue with the authentication process guide.

NOTE

This guide is valid for both the Sandbox and Live environments. If there are deviations in the implementation for Sandbox, we will explicitly point them out.

Step 1: Sign up for the Investment API

Start your Upvest journey by contacting us.

Sign up here

Next, our team of experts will reach out to you to check all technical and legal aspects. After completion, we will progress with granting you access to the Investment API.

Step 2: Share your data

To make sure you have the right access to the Investment API, we need to collect some basic information from you, such as for which environment (Sandbox or Live) and which operating model (TOL Single Accounts, BYOL Single Accounts or BYOL Omnibus), etc. suits your needs.

For technical communication and urgent notifications about the state of our API, we require a fall-back email address from you. Other key contacts can be set up later (e.g., a technical contact or a contact for accounting).

We need the following information from you:

NOTE

The necessary information differs depending on the operating model and environment.

Step 3: Prepare a secure API access

1. Share your public GPG PGP key

In order to exchange the credentials securely, we ask you to provide us with a public GPG PGP key so that Upvest's onboarding support team can encrypt the credentials and transfer them to you securely.

You will access the Investment API with credentials, consisting of client_id and a client_secret; this allows Upvest to recognise who is calling it. The client_secret is only used to create an access token which is used for further authentication.

2. Generate a key pair for signing HTTP calls

You can use ED25519 or ECDSA key pairs. We use HTTP signatures to ensure the call is actually coming from your client backend and has not been tampered with on the way. See key pair generation.

3. Collect the public key component of the key pair

After generating your key pair, collect the public key component. Together with other information you will need to share this with Upvest.

NOTE

Please note that you have to complete this process twice: for the Sandbox environment and as well for the Live environment. Secrets, signing keys, and document buckets should always be unique between the Sandbox and Live environment.

Upvest public GPG PGP key

-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: 703F 2CC0 E4B7 A94B 1D09  94BB 4912 78D8 C40F 3C6D
Comment: Upvest Security <security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fbFiHMU6qVcAtai4p9mebnL3pjv6fw1Rvc
KafGolft8Dzbg5bwAZOXfHsSrBsmRdcL64iQ7TDdjDgiDIMSjielPFk1hP9kitXD
MTa+mD7QkfwsrJZuLVa2rOMEQH3lTPokT9Z1KoHzAMJ+BBgRCAAmAhsMFiEEcD8s
wOS3qUsdCZS7SRJ42MQPPG0FAmSC6XAFCQ2ArFgACgkQSRJ42MQPPG3D2QEAiaax
/0GfH7aUHSl5Y/uiS386jqxzW3sExbXNqC4BfyABAIBpY5DuP5W5NsouLnlrGbMx
H/vLWHE/+fjwbMI0M83mwn4EGBEIACYCGwwWIQRwPyzA5LepSx0JlLtJEnjYxA88
bQUCZA7cDQUJCytrdQAKCRBJEnjYxA88bf6DAP4hnypwxuAGRvNFFJZTyWSNa5sa
YR2MrRBKzQpf1q/bzwD/cg3vwHdl96IdKPy+ixAjuFlLjSUFR+nPKuIbovIAcH3C
fgQYEQgAJhYhBHA/LMDkt6lLHQmUu0kSeNjEDzxtBQJcpdeYAhsMBQkHhh+AAAoJ
EEkSeNjEDzxt0/8BAIEmstAgJM8YsBizRg7r5Z6xrq1CKfFmgCSiO2CWKddxAP94
zYPgH70mciAEIsc2HZbFu94Bw9P+LJYc9O30rAwfwA==
=WMqK
-----END PGP PUBLIC KEY BLOCK-----

Optionally, you can install and set up a local HTTP signing proxy to use tools such as Postman while testing and integrating the Investment API.

Installing the local HTTP signing proxy enables you to call the Investment API endpoints without having to implement signatures on your side. However, we recommend this only for testing in the Sandbox, not the Live environment.

Congratulations! Now you are ready to access the Investment API and discover all the features.

Base URLs

Here you go, below you find the base URL of our servers:

EnvironmentBase URL
Sandboxhttps://sandbox.upvest.co
Livehttps://api.upvest.co

Go to the API references to find out more.