VENTURE.co API Documentation

Documentation to support developers wanting to integrate with the VENTURE.co investment platform.

Authentication

This document details how to send authenticated requests to the VENTURE.co API on a user’s behalf. This guide assumes that you have already completed the necessary steps to gain an authentication token. If this has not been completed please check out the OAuth documentation

Bearer Token

Virtually all requests must be authenticated with a user’s authentication token. This token is provided by setting the appropriate Authorization header. Assuming you have a token abcd1234 you would add the following header to your requests:

Authorization: Bearer abcd1234

Response Codes

If the authentication token becomes invalid the API may respond with a 401 Unauthorized response. If you receive a response code of this type you should delete the stored authentication token and complete the appropriate flow to get a new token. It is also possible that the API may respond with a 403 Forbidden. If this is the case your authentication token is still valid, the user you are calling the API on behalf of does not have permission to perform the action.