Prerequisites
The VEDA API uses the OAuth 2.0 protocol to authenticate requests. To start using the API, you need a Client ID and Secret. A valid access token is essential for authenticating your requests and ensuring secure access to the API. To obtain these credentials, please contact our support team. They can also assist you if you need to regenerate your key or have any questions about the API.Getting an Access Token
Once you have received your Client ID and Secret, you can request a bearer access token. To do this, you need to make a request to the token endpoint (/oauth2/token) using your client ID and secret:
Authorization header of your API requests. Here’s an example of what the response might look like:
Making Your First Request
Now that you have your access token, you can make your first request. The API Gateway uses a bearer token for authentication, so you must include your API key in theAuthorization header of each request.
Here’s a simple example using cURL: