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:

  1. Set up token authentication, and then get a bearer access token. For more information, see Setting up token authentication and Getting a token.
  2. Most Venafi API headers require an Authorization parameter. Otherwise, the response can include an error.
  3. In the header, add the Authorization parameter. Use the Bearer and access_token value. For example Authorization:Bearer 4MyGeneratedBearerTknz==.

    Set bearer access token in header

    TIP   Token errors can occur for various reasons. For more information, see Bearer token errors from various endpoints.