Passing a bearer token in your API calls
When a request for a token, such as POST Authorize/OAuth, completes, you can use the access_token to make other REST calls.
Pass a bearer token in your API calls:
- Set up token authentication, and then get a bearer access token. For more information, see Setting up access token authentication and Getting a token.
- Most Venafi API headers require an Authorization parameter. Otherwise, the response can include an error.
-
In the header, add the Authorization parameter. Use the Bearer and access_token value. For example Authorization:Bearer 4MyGeneratedBearerTknz==.
TIP Token errors can occur for various reasons. For more information, see Bearer token errors from various endpoints.